.NET Blog

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

The Aspnet Compiler Build Task in Visual Studio 2010 ASP.Net MVC 2 Projects

If you crack open the project file in an ASP.Net MVC 2 application (in notepad or unload your project and then click “Edit *.proj”), you will notice an interesting line. <MvcBuildViews>false</MvcBuildViews> This is an option to enable a post build task that will run the Asp_net compiler. This command will compile your ...

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 ...

Single Project Add View in ASP.Net MVC 2 Preview 2

Last week we released ASP.Net MVC 2 Preview 2 for Visual Studio 2008 Sp1. In the box support for single project areas is now included and the Add View tool has been modified to streamline this scenario. A walkthrough that creates two simple single project areas can be found here. If you follow the steps in the walkthrough you will notice that ...

ASP.Net MVC for Visual Studio 2010 Beta1 Codeplex

ASP.Net MVC for Visual Studio 2010 is available for download here: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28527.There is no new functionality but you should be able to upgrade your applications to target the 4.0 framework (or leave them as is) if you would like to play with ASP.Net MVC on Dev10. Please read the ...

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 Release Candidate 2

ASP.NET MVC Release Candidate 2 is live! Check out Phil Haack’s blog, Haacked.com, for information on the new installer and some other general release info. The release is mostly focused on responding to customer feedback but there are some minor tooling improvements and bug fixes that are worth calling out. Tooling Improvements And ...

Hotfix Available for ASP.NET MVC Crashes With Azure/Power Commands/Resharper

If you have been experiencing Visual Studio crashes when opening view pages in design view or having trouble installing ASP.NET MVC due to problems with third party add-ins such as Power Commands, please try out the just released CLR hotfix here: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&...

ASP.NET MVC 1.0 Release Candidate now available in Web Platform Installer

ASP.NET MVC 1.0 RC can now be installed with Web Platform Installer: http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx Here is a quick description of Web Platform Installer from the Web Platform Installer website: “The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform, ...

Debugging A Web Site With A Host Header

If you have downloaded the RTM version of SP1 for Visual Studio 2008, you may get an error when trying to debug a Web Site with a host header on IIS 6 or IIS 5.1. The error message reads: "Unable to start debugging on the web server. An authentication error occurred while communicating with the web server. Please see Help for assistance.&...

ASP.NET MVC Preview 3 Tooling Updates And Updated NUnit Test Project Templates

Note: Please see this post for an updated set of templates created for ASP.NET MVC RTM: http://blogs.msdn.com/webdevtools/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx    Earlier this week ScottGu announced the release of ASP.NET MVC Preview 3 and outlined some recent changes to the framework. I ...

Feedback usabilla icon