Professional Documents
Culture Documents
DotNet306mvc Lab
DotNet306mvc Lab
MVC
1979: concept of mvc
4 things: 1) 2) 3) 4)
----------------------------------------------------
MODAL: these are classes.
its interactionis with data. interaction is with Business Logic/
business requirement
VIEW: html/css/javascript and razor syntax
CONTROLLER:
users interaction is with controller. its a class inherited from
controller.Request goes to controller and then action method. user is
returned a view.
url:msdn.com/contactus/id?
controller/action method/id is nullable
contorller:
contactus{
return view+data
}
view is in the same folder as controller name.
App.config
web.config
connection strings
how to filter requests
appDATA contains
files used in project
The less I Knew the less i realized that the less I knew but
the more i knew the more i realzied that the less I knew
------------------------------------------
20/5/17 DotNet306Lab