• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
ASP.NET MVC Reading July 2009
 

ASP.NET MVC Reading July 2009

on

  • 2,142 views

ASP.NET MVC presentation given by Scott Guthrie at Vista Squad user group meeting at Microsoft UK on 3rd July 2009

ASP.NET MVC presentation given by Scott Guthrie at Vista Squad user group meeting at Microsoft UK on 3rd July 2009

Statistics

Views

Total Views
2,142
Views on SlideShare
2,081
Embed Views
61

Actions

Likes
4
Downloads
0
Comments
0

4 Embeds 61

http://vistasquad.co.uk 40
http://edgeug.net 15
http://www.slideshare.net 5
http://blogs.msdn.com 1

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 Reading July 2009 ASP.NET MVC Reading July 2009 Presentation Transcript

    • ASP.NET MVC
      Scott Guthrie
      Corporate Vice President
      Developer Division – Microsoft
      scottgu@microsoft.com
      http://weblogs.asp.net/scottgu
    • All in the Family
      ASP.NET
      Dynamic Data
      & AJAX
      Presentation
      ASP.NET
      WebForms
      ASP.NET
      MVC
      ASP.NET
      Core
      Core
      Runtime
    • ASP.NET MVC
      More control over your <html/>
      Intuitive website URLs
      Client side JavaScript integration
      Testability and TDD support
      Not for everyone
      Manual vs. automatic transmission
    • ASP.NET WebForms 4 improvements…
      Client ID control
      Granular viewstate control
      Routing integration
      CSS based rendering
      Databinding improvements
      Control enhancements
      Much more
      http://www.asp.net/learn/whitepapers/aspnet40
    • www.asp.net/mvc
    • File->New Project
      Code
    • ASP.NET MVC maps incoming URLs to
      Action methods on Controller classes
    • SimpleController
      Code
    • “Separation of Concerns”
    • Controllerscanpass data to View templatesto render a response back to a client
    • Using a View Template
      Code
    • Model refers to the objects that represent the data of the application and the corresponding validation and domain logic
    • Create a ModelImplement ProductsController
      Code
    • Routes rules enable flexible publishing of SEO URLs
    • Custom Route Rule
      Code
    • A service layer can help encapsulate an application’s business logic and data operations
    • Service Layer
      Code
    • CRUD = Create, Read, Update and Delete
    • CRUD
      Code
    • “Skinny Controllers”
      with “Fat Models”
    • Validation
      Code
    • Action Filters support declaratively applying re-usable logic to controllers and action methods
    • [Authorize] Filter
      Code
    • Automated Unit Tests enable coding with confidence
    • Unit Testing (Part 1)
      Code
    • Dependency Injection:“Don’t call us, we’ll call you”
    • Unit Testing (Part 2):No database required
      Code
    • Summary
      More control over your <html/>
      Intuitive website URLs
      Client side JavaScript integration
      Testability and TDD support
      Works with VS 2008 and .NET 3.5 today
      Will be a built-in option with VS 2010
      Visit http://www.asp.net/mvc to learn more
    • © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
      The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.