Browse by Tags
All Tags »
ASP.NET MVC Framework (
RSS)
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...
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...
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 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 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...
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...
This post is next in the series of VS 2010 articles that we have been putting together to dive into the Web Deployment improvements with VS 2010 and IIS. I would recommend reading the the preceding posts to get an overview of all the scenarios supported: Web Deployment with VS 2010 and IIS Web Packaging: Creating a Web Package using VS 2010 In this post I will cover web package creation using MSBuild command line. Many medium to large sized teams plan on automating their build process for various good reasons like predictability for QA team, time saving as compared to on-demand manual build, early bug detection with Build Verification Tests (BVTs), knowing the current state of project integration, etc… Many argue that setting up...
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, including IIS, Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. Using the Web Platform Installer’s user interface, you can choose to install either specific products or the entire Microsoft Web Platform onto your computer. The Web PI also helps keep your products up to date by always offering the latest additions to the Web Platform.“ I tried it out and was...
As mentioned in our recent blog post on the ASP.NET MVC Release Candidate , our code-generation features (namely, Add Controller and Add View) now use the T4 (Text Template Transformation Toolkit) templating technology behind the scenes. Because users can customize the templates to a great extent, we wanted to make a post to bring everyone up to speed on T4. Template Locations and Template Override The Add Controller and Add View dialogs both perform code generation that use T4 templates behind the scenes. These templates can be modified to customize the generated code from these tools. You can find the templates at the following location: [Visual Studio Install Directory]\Common7\IDE\ItemTemplates\[CSharp | VisualBasic]\Web\MVC\CodeTemplates...
The ASP.NET MVC 1.0 Release Candidate (RC) is finally out, and we wanted to give returning MVC users as well as new MVC users an overview of what the tooling in Visual Studio provides. The MVC 1.0 RC can be downloaded right now here ( Release Notes ). Please note that this release will work with both Visual Studio 2008 and Visual Web Developer Express 2008 SP1 (free download). In case you missed it, be sure to also read ScottGu’s blog post on the RC for some great information (including runtime changes!): http://weblogs.asp.net/scottgu/archive/2009/01/27/asp-net-mvc-1-0-release-candidate-now-available.aspx Project Templates The MVC installer provides project templates for use in Visual Studio. If you visit the new project dialog (File –>...
More Posts
Next page »