ASP.NET MVC Preview 5 and Form Posting Scenarios
page 1 of 9
Published: 02 Sep 2008
Unedited - Community Contributed
Abstract
In this article, Scott examines the different form posting scenarios with the help of ASP.NET MVC Preview 5. He begins with a basic form post with a Web MVC Pattern and then provides a detailed explanation of the various improvements included with the preview 5 build. Scott also discusses model binders, the procedure to register it, the UpdateModel and TryUpdateModel methods, and Unit Testing. He demonstrates how to handle an error scenario and adding business rules to a LINQ to SQL entity and the steps required to integrate the rules into a sample ASP.NET MVC application which Scott has developed for the purposes of this article.
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 39776/ 63

Introduction

Republished with Permission - Original Article

This past Thursday the ASP.NET MVC feature team published a new "Preview 5" release of the ASP.NET MVC framework.  You can download the new release here.  This "Preview 5" release works with both .NET 3.5 and the recently released .NET 3.5 SP1.  It can also now be used with both Visual Studio 2008 as well as (the free) Visual Web Developer 2008 Express SP1 edition (which now supports both class library and web application projects).

Preview 5 includes a bunch of new features and refinements (these build on the additions in "Preview 4").  You can read detailed "Preview 5" release notes that cover changes/additions here.  In this blog post I'm going to cover one of the biggest areas of focus with this release: form posting scenarios. You can download a completed version of the application I'll build below here.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 7:42:22 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search