Asp.net mvc
Upcoming SlideShare
Loading in...5
×
 

Asp.net mvc

on

  • 2,463 views

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

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

Statistics

Views

Total Views
2,463
Views on SlideShare
2,460
Embed Views
3

Actions

Likes
2
Downloads
82
Comments
0

1 Embed 3

http://www.slideshare.net 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Asp.net mvc Asp.net mvc Presentation Transcript

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