Updated: 1 hour 45 min ago
Model binding works great ... but it sometimes lets me down. In those cases you need to tell model binding to do the right thing. Here's an attribute that will let you know when you're missing non-nullable data and do it without interfering with your data design.
Visual Studio is perfectly willing to work with any file that you want to add to your solution -- you just have to tell it what editor to use.
If you're building a Xamarin solution you should be using a .NET Standard Class library to hold your common code. Here's how to convert an existing Xamarin Solution using a Shared or PCL project to the new standard.
As the number of your automated tests starts to pile up, using "Run All" to make sure that you haven't introduced any new bugs starts to look less attractive. Fortunately, Visual Studio makes it easy to organize your tests into groups.
If you're not using Fody then you're probably writing too much code.
Just load something into the Task object's Result property.
Script references aren't just for TypeScript developers.
One of the nice things about many of the ASP.NET MVC action filters is that you don't have to apply them to every Action method -- you can bang one onto a Controller to cover all the methods in the controller. But what if you have one method that doesn't fit the mold?
Microsoft has changed strategies for supporting cross-platform development: They've moved from Portable Class Libraries to Standard Libraries. Here's why, what it means and why it matters right now.
Here's how to avoid the frustration of discovering that you've made changes to a file you can't change in Visual Studio.
While the DbContext object has a Dispose method, you don't really need to use it ... with one exception.
ASP.NET code gives you enhanced ability to rewrite URLs to redirect client requests. But that leads to a key question: When should you use this new ability?