IT Community - Software Programming, Web Development and Technical Support

ASP.NET 3.5 Interview Tips and Tricks

This is a discussion on ASP.NET 3.5 Interview Tips and Tricks within the ASP and ASP.NET Programming forums, part of the Web Development category; list of stages of execution for an MVC Web project: Initial request In the Global.asax file, routes are added ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #21 (permalink)  
Old 03-14-2008, 11:32 PM
santhakumar santhakumar is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 928
santhakumar is on a distinguished road
Default Re: ASP.NET 3.5 Interview Tips and Tricks

list of stages of execution for an MVC Web project:


Initial request

In the Global.asax file, routes are added to the RouteTable object.

Routing

The UrlRoutingModule module creates the RouteData object from the matched Route object in the RouteTable instance. Route data is used to determine which controller to request, and which action to invoke.

Map to controller

The MvcRouteHandler handler attempts to create the type name for the controller, based on data in the RouteData instance.

Invoke controller builder

The handler calls the global static CreateController method of the ControllerBuilder class, obtaining an IController instance.

If an IController instance is not returned, the handler returns an HTTP 500 error that indicates a server error.

Create controller

The ControllerBuilder instance creates a new controller directly, or uses an IControllerFactory object to create the controller.

Execute controller

The MvcHandler instance is added to the ControllerContext object and calls the controller's Execute method.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #22 (permalink)  
Old 03-14-2008, 11:33 PM
santhakumar santhakumar is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 928
santhakumar is on a distinguished road
Default Re: ASP.NET 3.5 Interview Tips and Tricks

How to Create an ASP.NET MVC Application

The ASP.NET MVC framework includes Visual Studio project templates that let you create Web applications that are structured to support the MVC pattern.

The MVC project templates include:

* ASP.NET MVC Web Application template
* ASP.NET MVC Web Application and Test template

These templates are used to create a new Web application that is configured with the folders, templates, and configuration-file entries that are required for an ASP.NET MVC application.

By default, when you create a new Web application by using the ASP.NET MVC Web Application and Test template, Visual Studio creates a solution and adds two projects to the solution. The first project is a Web project where you can implement your application. The second project is a testing project that you can write unit tests for your MVC components.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# .Net Tips & Tricks oxygen C# Programming 84 12-02-2008 02:12 AM
Windows Forms Application Interview Tips and Tricks santhakumar Interview Questions & Answers and Tips 497 06-03-2008 08:50 PM
ASP.NET 2.0 Interview Tips and Tricks santhakumar Interview Questions & Answers and Tips 339 03-20-2008 06:09 AM
Interview Tips & Tricks venkatesan.N Interview Questions & Answers and Tips 2 08-28-2007 04:37 AM
.NET tricks & Tips Karpagarajan VB.NET Programming 1 04-23-2007 09:17 AM


All times are GMT -7. The time now is 06:41 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0