Top ASP.NET Items

Browse by Tags

All Tags » ASP.NET MVC (RSS)
ASP.Net MVC in Visual Studio 2010 Beta 2
Visual Studio 2010 Beta 2 contains ASP.Net MVC 2 in the box so there is no need to install an out of band update to Visual Studio 2010 to develop ASP.Net MVC applications. Phil Haack posted about the in-box experience for Beta 2 andd also provides some info on how to upgrade your ASP.Net MVC 1 apps to ASP.Net MVC 2. From a tooling perspective, all of the new functionality released in ASP.Net MVC 2 Preview 2 for Orcas is available in Visual Studio 2010 Beta 2 including support for Single Project Areas . Additionally, if you look in the Scripts folder of a new ASP.Net MVC application, you will notice that jquery.validate is included as well as a vsdoc file to go with it. I'll post more on how to use jquery.validate in the coming weeks but...
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 Add Controller and Add View are now available in the single project areas in your ASP.Net MVC 2 Preview 2 application. Here are some screenshots that show off the tooling changes. Right-Clicking the Controllers folder of any single project area (Areas –> Blog –> Controllers) will invoke the familiar Add Controller dialog. The new controller will be added to the Controllers folder of the single project...
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 release notes for a couple of gotchas. If you never read release notes, please note the following: If you are working with Visual Studio Team System 2010 and the Historical Debugger is enabled, Visual Studio might occasionally crash. If you experience this problem, disable the Historical Debugger. You can disable the Historical Debugger in Tools->Options. Note that this will be fixed in Beta 2. Hope this...
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 and Account controllers. To install the templates, just extract the zip file from the link below and run installNUnit.cmd . VWD Express is supported along with VSTS as well as support for x86 and x64 bit OS's. If you are installing on Vista or higher, run the cmd file as an admin. NUnit Test Templates Below is a screenshot of the NUnit AccountControllerTest class for Visual Basic. If you build a new...
ASP.NET MVC 1.0 now Live!
ASP.NET MVC 1.0 is now Live. You can download it right now here . Also check out Phil Haack’s post on the release. If you are new to MVC, please check out our previous posts for more information and links to many useful blogs and resources. Alternatively, check out the official site for tutorials, videos, and more. MSDN Documentation for MVC is also now available: http://go.microsoft.com/fwlink/?LinkId=145989 Since ASP.NET MVC RC1 we made some changes to the set of properties available to T4 templates – many names have changed (for clarity and consistency) and some properties are no longer available (because the same information is available through other properties). See the following table for the full list of properties available to templates...
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 Important Fixes After the first RC was released, we found that the Add View tool generated exceptions when trying to get type information from a type in one assembly that somehow depended on type information (for example, implementing an interface) in another assembly. You should now be able to add scaffolded views for these types after upgrading to RC2. Previously, when adding a scaffolded view, the primary key...
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&wa=wsignin1.0 For Vista/Windows Server 2008 32 bit: Use Windows6.0-KB963676-x86.msu For Vista/Windows Server 2008 64 bit: Use Windows6.0-KB963676-x64.msu The source of the crash was a CLR loading issue that appeared when using third party addins or Azure Tools while working on ASP.NET MVC Projects in Visual Studio. If you are still experiencing crashes when working with ASP.Net MVC projects after installing...
More Posts