.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Testing ASP.NET Core MVC web apps in-memory

This post was written and submitted by Javier Calvarro Nelson, a developer on the ASP.NET Core MVC team Testing is an important part of the development process of any application. In this blog post we are going to explore how we can test ASP.NET Core MVC applications using an in-memory server. This approach has several advantages: The...

Moving to real time test discovery in Test Explorer

Real time test discovery is a new Visual Studio feature that uses a Roslyn analyzer to discover tests and populate the test explorer in real time without requiring you to build your project. This feature has been introduced in Visual Studio 2017 15.5 Preview 2 behind a feature flag. You can try it out by using the instructions in the next ...

Visual Studio 2010 MVC 2 Upgrade Wizard

Prior to the RTM release of Visual Studio 2010, the only way to upgrade an ASP.Net MVC 1 application to ASP.Net MVC 2 was to use Eilon Lipton’s tool. With the release of Visual Studio 2010 you will now be able to open your MVC 1 projects in Visual Studio 2010 and upgrade them to ASP.Net MVC 2 projects. Also, you can upgrade the target ...

Updated NUnit Templates for ASP.Net MVC 1.0 RTM

ASP.Net MVC 1.0 RTM has been out for a while and I noticed that people are still downloading an NUnit sample project I created for ASP.Net MVC Preview 3. Since then an AccountController class and a corresponding set of unit tests have been added to the MVC Application project. I created an updated set of NUnit templates with tests for the Home...

ASP.NET MVC Framework Preview 2 (Mix 2008) Resources

I am attempting to compile the relevant resources for ASP.NET MVC Framework Preview 2 at one place so that you will not have to keep searching around...ASP.NET MVC Preview 2 Download Location:Preview 2 Download (English-US) - Microsoft.com download location to get the latest MVC bits...ASP.NET MVC Documentation:Home Page - Asp.Net home page ...