Submit Your Article
Home Articles News Tutorials Videos Add An Article
Topics: Design Photoshop Programming PHP CSS Java Database Web Development Javascript Ajax
– Close + Open

Find Out More About DevWebPro!

Sign up for the newsletter


» Terms & Conditions

Welcome to the New DevWebPro!

DevWebPro Includes:
  Hundreds Of Tutorials   Developer News
  Unique Gadget Videos   Tons of Topics to Discuss
  Expert Advice   We Will Publish Your Articles

ASP.Net MVC 2.0 Brings New Features To The Table

By: John Vinson
Friday, February 19th, 2010
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook

Web app development utilizing ASP.NET has taken an interesting turn with the implementation of ASP.NET MVC 2.0. This web framework adds new features, with the direct relation to ASP.NEt runtime environment. The MVC aspect of this framework has a web-oriented feel to it, as 2.0 works with for Visual Studio/.NET versions.

Upon tackling 2.0, you’ll notice a significant change from the use of Web Forms prior to it. Producing HTML won’t require server controls like in the past, however MVC is still built upon handling requests. The only difference is the URL string is handled differently, and based on controller classes not postbacks.

The MVC HTTP handler controls are incoming requests. The logic parses a URL, and depending on the request, will decide on what controller to utilize. A small difference you’ll notice with ASP.NET MVC is the URL is related to an action, not a file. Every URL utilized contains routing information to help identify a target controller.

ASP.NET MVC acts independently of other server controls and technologies. ASPX syntax is supported in the default view, and any other engine you plug in will use its own syntax.

For those who are used to Web Forms, ASP.NET MVC can be mixed together with ASP.NET in the same app. You are able to combine both frameworks because they utilize the same run-time environment. It should be noted that ASP.NET MVC pages can host the older frameworks, but not the other way around.

This recent development really takes the ASP.NET framework in a different direction for web applications. The .NET framework has recently come under criticisms for not being expansive as some other programming languages currently coming up in the market. The ASP.NET MVC inclusion should make strides for expanding its usability factor.

Here’s a list of new features which can be enjoyed by ASP.NET MVC:

1. Asynchronous controllers that increase the scalability of sites that interact with Web services

2. Strongly-typed HTML helpers for generating form input fields and reducing errors caused by typos

3. Client validation support for globalization data for multiple cultures

4. Server validation that renders model-level errors only

5. Templated helpers that automatically associate edit and display elements with data types

6. Html.RenderAction for rendering subsections of a page or site

Topics: , ,

About the Author:
John is a staff writer for WebProNews and FLADownloads.com

Leave a Comment

DevWebPro is an iEntry Network ® publication - © 1998-2010 All Rights Reserved