You are on page 1of 2

2001 to 2007 WebForms

2009 asp mvc 1.0


in webform client side was done in xml. Now in mvc everything is
done in html/javascript.
web forms had two layers. client and server
web app by nature is stateless

mvc 2.0 in 2010


1- client and serverside validation

After 10 months mvc3 launched


became popular
Things added in mvc3
1. Razor View Engine Added : C# can be written on clientSide with
HTML
2. Modal Binding: bind client side with your class
MVC4:
1. webAPI
MVC5:
not much differenc b/w mvc4 and mvc5.

DotNetCore released in 2016.


DotNetCore Asp5 and mvc6

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.

NOTE:ASP.Net is actually configuartion over convention

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

Create These Actions


index
contactus
about
login
signup
forgetpassword

fiver.com for free lancing

You might also like