.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

When and Where to use Asp .net MVC..

Posted By:Raga       Posted Date: November 12, 2010    Points: 50    Category: ASP.NET    URL: http://www.dotnetspark.com  

This is an article to focus on the areas where we need to build applications using Asp .net MVC and hence we need not complicate by using in non Compatible/tedious systems.

In the beginning i heard an argument saying that Asp .net MVC is coming up and will replace all existing Asp .net Applications.

Even i was eager to work on the same to see how we are going to replace the age old existing controls esp: datagrid.. Fortunately got a project which added to my intrest..

After working realized that it can never replace the Asp .net Application.

    Few points below:

1. Asp .net MVC applications are very light weight and simple, handy.
2. Its all about the views, Controllers and Model.
3. Just Add a Model, Write an Action method for the View and pass the model to the view.
4. Application is ready to use.. So simple to hear and simple to implement as all the code logic goes into Controller.
5. Master of all these is the Routing Engine which is the RegisterRoutes method in your global.asax which actually shows the way and configures the url. Another exploring area to learn.

    What type of applications can be built with Asp .Net MVC.

1. An eCommerce shopping cart application.
2. NerdDinner, a dinner reservation application.( You can download the sample code available for this from www.asp.net)
3. Any normal page with Simple Add, Edit , Update , Delete with very less records.
4. Her's the list of few Asp.Net MVC sites. http://weblogs.asp.net/mikebosch/archive/2008/05/05/gallery-of-live-asp-net-mvc-sites.aspx
5. Finally if you want to build light weight application Instantly with less data(ex: A simple register or Book appointment etc..)

    Major Advantages:

1. You can divide the Views or Action methods and team can work parallely.. As every action is independent.
2. TTD approach is another one mentioned.

 Subscribe to Articles


Further Readings:


    No response found. Be the first to respond this post

    Post Comment

    You must Sign In To post reply
    Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend