0
Posted on 12:53 AM by Softminer and filed under

In MVC instead of Mapping URL to files you map URL to classes and these classes are called Controllers.

The Map rout is in Global.asax with this format
/Controller/Action/Id for example /Dinner/Edit/2


In view there is a Folder Per Controller and there is a view File for every action method.

Request -> Routing -> Controller -> ViewResult -> ViewEngine -> Response

Authentication is by user of ASP.NET Roles and the Data of user are in User.Identity.Name