Back when he had a job, Peter used to hire developers. When he did, there were three questions he got from Scott Hanselman's blog, way back at the beginning of the .NET Framework that he's still asking today.
Standard function breakpoints probably help in most of the debugging sessions. But, sometimes, there's simply too much code to check, too many objects or cases. What if you want to filter out code that generates a breakpoint? Here's a look at conditional breakpoints.
- By Bartlomiej Filipek
- 09/14/2016
A language that's data-intensive naturally should have a way to dig into the data effectively. Here's a look at some of the R functions for searching and sorting through it all.
- By James McCaffrey
- 09/08/2016
As you work with other developers (and seek advice from experts) you need to make sure you're discussing what matters rather than arguing about terminology.
IndexedDB allows you to store data on the client to let the user work offline and to reduce demands on the server. Here's enough code to both get you started and to show you the difference between doing it in JavaScript and doing it in TypeScript.
Create the best object for moving data from your Controller to your View.
C# might be more elegant with escape sequences, but that doesn't mean Visual Basic is weaker in this area.
When you debug a C++ application, the debugger can take a number of detours through lots of trivial functions or code from third-party libraries. You can filter out those unnecessary paths and have the debugger focus on just the code you want.
- By Bartlomiej Filipek
- 08/24/2016
One way to slow down your application is to make multiple trips to the database. Here's a way to cut those trips in half (at least) and it has to do with the EntityFramework.Extended library.
How C# and Visual Basic handle characters and single-character strings is a bit inconsistent. There's no tidy solution, but it's something you do need to know.
Here's a round-up of the most recently released extensions for Visual Studio. There's something here for everyone, from starting a new project to deploying your code.
- By Terrence Dorsey
- 08/17/2016
By adding one open source library to your application (and adding two methods to your LINQ statements) you can cut the time spent on database updates and deletes in half.
Recompiling source code while debugging is possible, but sometimes your C++ project might not be configured to use it.
- By Bartlomiej Filipek
- 08/11/2016
Vectors, lists, arrays, matrices and data frames -- a look at five of the most fundamental data structures built into R.
- By James McCaffrey
- 08/10/2016
If you're looking for a lean, mean, cross-platform, desktop code editor then Visual Studio Code might be just your cup of tea. However, if you're used to the level of functionality you get with Visual Studio, it's important to set your expectations appropriately.
You can get lost looking for good .NET blogs among the several dozen good ones online right now. Here are three -- from Nick Chamberlain, Thomas Levesque, and Tony Sneed -- that are worthy of your attention right now.
Amanda Silver's opening keynote on the Open Microsoft Developer Platform, along with a slew of other selected developer sessions, will be live-streamed during next week's conference at the Microsoft campus.
- By Michael Domingo
- 08/04/2016
Learn how Xamarin.Forms Behaviors and Effects make it easy to customize your apps in ways you can reuse them across all of your apps.
- By Greg Shackles
- 08/03/2016
As you're debugging in Visual C++, sometimes you'll see a message in the Output Windows and then try to go the code it refers to, which can take a few steps. Here's a little trick in coding efficiency that simplifies moving from log messages to source code.
- By Bartlomiej Filipek
- 08/01/2016
Here's a tip about how to exploit Entity Framework's change tracking mechanism to -- possibly -- eliminate a trip to the database when you update an item. But, without some additional code, you probably can't use it.