What is Asp.net MVC?<br />Prepared By : M.M.Al-FarooqueShubho<br />http://www.linkedin.com/in/thisisshubho<br />
What is MVC?<br />A “Framework” built on top of Asp.net core framework.<br />A framework that implements the core “Model, ...
Asp.net Programming Models<br />Two Asp.net Programming Models are there<br />Asp.net Web Form<br />And<br />Asp.net MVC<b...
Features of Asp.net Web Form<br />Familiar controls and Event based Programming Model.<br />Controls encapsulates HTML, CS...
Features of Asp.net MVC<br />Comfortable for Traditional web development nature.<br />Total control on HTML markup.<br />S...
What programming model to choose?<br />Both WebForm and MVC uses the same core Asp.net Libraries and Frameworks. These are...
Why MVC?<br />Use MVC if you like to have:<br />Less configuration sand more conventions.<br />More control (Driving a Mot...
How MVC works?<br />
How MVC works? Continued..<br />1) Request arrives at the MVC Application.<br />2) Based upon the Routing table configurat...
Upcoming SlideShare
Loading in …5
×

Mvc Brief Overview

2,196 views

Published on

A brief overview on the MVC framework in Asp.net

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,196
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
39
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Mvc Brief Overview

  1. 1. What is Asp.net MVC?<br />Prepared By : M.M.Al-FarooqueShubho<br />http://www.linkedin.com/in/thisisshubho<br />
  2. 2. What is MVC?<br />A “Framework” built on top of Asp.net core framework.<br />A framework that implements the core “Model, View and Controller” pattern where:<br />Model = Things that encapsulates application’s Data and related Logics<br />View = Things that handles application’s data presentation. <br />.Controller = Things that manages application’s Flow and Navigational logics.<br />
  3. 3. Asp.net Programming Models<br />Two Asp.net Programming Models are there<br />Asp.net Web Form<br />And<br />Asp.net MVC<br />Both are built on top of core Asp.net Framework<br />
  4. 4. Features of Asp.net Web Form<br />Familiar controls and Event based Programming Model.<br />Controls encapsulates HTML, CSS and js<br />Rich UI controls supported that supports rich Data binding features and handling of different browsers.<br />
  5. 5. Features of Asp.net MVC<br />Comfortable for Traditional web development nature.<br />Total control on HTML markup.<br />Supports Unit testing and TDD.<br />Extremely flexible and Extensible.<br />
  6. 6. What programming model to choose?<br />Both WebForm and MVC uses the same core Asp.net Libraries and Frameworks. These are:<br />--Authentication & Authorization<br />--Membership<br />--Output cache, SessionState<br />--Configuration, Deployment<br />--Ajax and many more…<br />So, lots of skills gained in Asp.net WebForm could be utilized in MVC<br />
  7. 7. Why MVC?<br />Use MVC if you like to have:<br />Less configuration sand more conventions.<br />More control (Driving a Motor cycle vs Driving a Car).<br />Unit tests for the components/modules in the application (because, unlike Web Forms, MVC does not require HttpContext to load and Test.)<br />More “Logical”, ”Understandable” and SEO friendly application URLs.<br />
  8. 8. How MVC works?<br />
  9. 9. How MVC works? Continued..<br />1) Request arrives at the MVC Application.<br />2) Based upon the Routing table configuration, the URL request is mapped to an Action inside an appropriate Controller.<br />3) Controller accesses the Model to process the data with applying business logics.<br />4) Model access/retrieves database/data source and process data and return result to the Action.<br />5) Action populates the view with processed data and the View renders UI.<br />

×