Every once in a while you'll need to use the LINQ Join to get the data you want.
Sometimes the default view of objects in the debugger isn't enough, especially if you operate on complex data structures. Here's one way to alter the view and use a customized one.
- By Bartlomiej Filipek
- 12/08/2016
I predict you'll find this logistic regression example with R to be helpful for gleaning useful information from common binary classification problems.
- By James McCaffrey
- 12/07/2016
We've gathered together the newest project templates, security tools and generally useful extensions for Visual Studio.
- By Terrence Dorsey
- 12/06/2016
If you're using Skip and Take in LINQ to page through your data, a tweak to your syntax can cut your response time by as much as 10 percent as you page through your data.
If you care about data typing and want to avoid null/undefined errors, there's a lot you're going to like in TypeScript 2.0. And, if you like creating general purpose functions that can work with a variety of classes, there's something here for you, too.
Last time, I created the app. This time, I take care of a few annoying but important issues with it, especially in the area of the user's experience with application connectivity.
- By Wallace McClure
- 12/01/2016
A .NET port of the Ruby library allows for experimental testing of code that's gone to production.
- By Jason Roberts
- 11/30/2016
When you're testing an ASP.NET MVC controller (or, really, any class at all) you want to make sure the code that fails is the code you're testing. Moq provides a simple way to isolate the code you're testing and lets you generate test cases.
Pile on the exceptions, and .NET will have your back with the tools it provides at your disposal.
Sometimes you want child objects retrieved with the parent object, and sometimes you don't. What you NEVER want is to retrieve child objects accidentally. Here's Peter's advice on how to get the best performance when loading child objects.
The alternative to that simple error-handling combo is the Try...Catch, but it's not as simple as wrapping up your code with it.
Script bundling speeds up your application by reducing the time it takes to download all of your JavaScript code. But you'll need another object to get your files added to the page in the order you want.
The R language simplifies the creation of neural network classifiers with an add-on that lays all the groundwork.
- By James McCaffrey
- 11/10/2016
In test-driven development, you have to decide how you'll divide your test methods between your test classes. The best solution is the one that requires the least effort on your part and implements the Single Responsibility Principle for tests.
There are two attributes you can put on your entity class properties: one is a convenience, the other is essential, and both are required when the primary key for a table consists of two columns.
With Apple's update to its phone OS, we look at the support that Xamarin has for it by building a simple speech app.
- By Wallace McClure
- 11/07/2016
Peter shows how to browse a set of objects in an IndexedDB ObjectStore and, along the way, finishes up his TypeScript/IndexedDB utilities for storing and retrieving large amounts of data on the client.
Debugging mouse events is especially confusing, because when the debugger stops the code, most of the events go away! What tactics can we use in these situations?
- By Bartlomiej Filipek
- 11/01/2016
Here's how to use SpecFlow to convert plain-text scenario steps into .NET types.
- By Jason Roberts
- 10/31/2016