very basic of asp.net mvc with c#
Post on 14-Apr-2017
62 Views
Preview:
TRANSCRIPT
ASP.NET MVC WITH C#
What is MVC?
Architectural Pattern Divide application into three logical part
MVC Stands for
ModelViewController
MVC Architecture
Model• Retrieves and
store data to database
View • User Interface(UI)
Controller
• Handles user interaction
• Works with model
• Select View to render
Controller Classes
Controllers are a special class Interface between model and View Controller Class always will have ‘Controller’ in
the name Controllers contains action methods
Snapshot of controller
Controller
Action Method
Views
Views are simple Html, html helper etc Include CSS, Jquery library Partial Views
Snapshot of View
Html helper with tag @html
Model
Business Logic Database accessing logic etc
Snapshot of Model
Routing
Used to map browser request to controller action
Thank you.
top related