ASP.NET MVC Rich and SEO Friendly Web Sites   Model Controller View
Agenda <ul><li>About MVC </li></ul><ul><li>About  M odel,  V iew and  C ontroller </li></ul><ul><li>What is ASP.NET MVC </...
MVC <ul><li>M odel– V iew– C ontroller is an architectural pattern used in software engineering.  </li></ul><ul><li>The pa...
M odel- V iew- C ontroller concept
M odel- V iew- C ontroller <ul><li>Model  the core information for an application. This includes the data and validation r...
ASP.NET MVC <ul><li>ASP.NET MVC is a part of the ASP.NET Web application framework. </li></ul><ul><li>A new way to develop...
How ASP.NET MVC works Resulting Data User  (in browser) Application Controller Model View HTTP Request HTTP Response Execu...
Why ASP.NET MVC <ul><li>Better support  for unit test </li></ul><ul><li>Complete control over HTML Markup </li></ul><ul><l...
Why not ASP.NET MVC <ul><li>We can't take advantage of the ASP.NET server controls. </li></ul><ul><li>We can't have the st...
ASP.NET Forms vs ASP.NET MVC <ul><li>ASP.NET Forms </li></ul><ul><ul><li>We can use server controls. </li></ul></ul><ul><u...
ASP.NET Forms vs ASP.NET MVC <ul><li>ASP.NET MVC </li></ul><ul><ul><li>Supports raw HTML/JS (No server controls) </li></ul...
Upcoming SlideShare
Loading in...5
×

Asp.net mvc

2,257

Published on

This is about Asp.net mvc, it will small idea about ASP.NET MVC. Thanks

Published in: Education, Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,257
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
94
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Asp.net mvc

  1. 1. ASP.NET MVC Rich and SEO Friendly Web Sites Model Controller View
  2. 2. Agenda <ul><li>About MVC </li></ul><ul><li>About M odel, V iew and C ontroller </li></ul><ul><li>What is ASP.NET MVC </li></ul><ul><li>How it works </li></ul><ul><li>Why ASP.NET MVC </li></ul><ul><li>Why not ASP.NET MVC </li></ul><ul><li>ASP.NET Forms vs ASP.NET MVC </li></ul>
  3. 3. MVC <ul><li>M odel– V iew– C ontroller is an architectural pattern used in software engineering. </li></ul><ul><li>The pattern isolates application logic for the user, from input and representation (GUI), permitting independent development, testing and maintenance of each. </li></ul><ul><li>MVC used with JAVA and RUBY on RAILS. </li></ul><ul><li>Now in ASP.NET too </li></ul>
  4. 4. M odel- V iew- C ontroller concept
  5. 5. M odel- V iew- C ontroller <ul><li>Model the core information for an application. This includes the data and validation rules as well as data access and aggregation logic. </li></ul><ul><li>View the representation of the application. In web application HTML markup. </li></ul><ul><li>Controller the control-flow logic. It interacts with the Model and Views to control information and execution of the application. </li></ul>
  6. 6. ASP.NET MVC <ul><li>ASP.NET MVC is a part of the ASP.NET Web application framework. </li></ul><ul><li>A new way to develop ASP.NET web site. </li></ul><ul><li>Quality coding promoted by T est D riven D evelopment (TDD) for strong unit testing. </li></ul><ul><li>ASP.NET MVC brings the power of this development prototype to ASP.NET development, allowing us to use .NET development skills to build MVC applications. </li></ul>
  7. 7. How ASP.NET MVC works Resulting Data User (in browser) Application Controller Model View HTTP Request HTTP Response Execution Parameters GUI View Resulting Data
  8. 8. Why ASP.NET MVC <ul><li>Better support for unit test </li></ul><ul><li>Complete control over HTML Markup </li></ul><ul><li>Create SEO-friendly URLs </li></ul><ul><ul><li>E.g.:- http://mywebsite.com/products/car </li></ul></ul><ul><li>Enables rich AJAX and jQuery integration </li></ul><ul><li>The resource wastefulness in standard ASP.NET forms </li></ul><ul><li>My personal feel ASP.NET MVC is Faster then ASP.NET Forms. Because it will not create ViewState like ASP.NET Forms. </li></ul><ul><li>For Developers </li></ul><ul><ul><li>We can take advantage of Session, Application and ASP.NET provider models (Membership, Profile and etc.) </li></ul></ul>
  9. 9. Why not ASP.NET MVC <ul><li>We can't take advantage of the ASP.NET server controls. </li></ul><ul><li>We can't have the state management (ViewState). </li></ul><ul><li>For Developers </li></ul><ul><ul><li>Don't have time to make more sharp in C#/VB program skills!! </li></ul></ul><ul><ul><li>No Postbacks, because all actions are handled by Controller. </li></ul></ul><ul><ul><li>No page lifecycle events </li></ul></ul>
  10. 10. ASP.NET Forms vs ASP.NET MVC <ul><li>ASP.NET Forms </li></ul><ul><ul><li>We can use server controls. </li></ul></ul><ul><ul><li>Work well for small development team </li></ul></ul><ul><ul><li>Server generates pages and maintains the state </li></ul></ul><ul><ul><li>We know stuff already! (been around since 2002) </li></ul></ul>
  11. 11. ASP.NET Forms vs ASP.NET MVC <ul><li>ASP.NET MVC </li></ul><ul><ul><li>Supports raw HTML/JS (No server controls) </li></ul></ul><ul><ul><li>Better for large team of developers and designers </li></ul></ul><ul><ul><li>Manual state management (No viewstate) </li></ul></ul><ul><ul><li>It is newly released on April, 2009. We must be trained. </li></ul></ul><ul><ul><li>SEO friendly URLs by default. </li></ul></ul><ul><ul><li>Best for Unit testing </li></ul></ul>
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×