ASP.NET MVC 3

  • 3,790 views
Uploaded on

Exploring ASP.NET MVC 3 in TechEd on The Road in Microsoft IDC Hyderabad

Exploring ASP.NET MVC 3 in TechEd on The Road in Microsoft IDC Hyderabad

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,790
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
184
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. TECH ED ON THE ROAD
    .
  • 2. EXPLORING ASP.NET MVC 3
    Shravan Kumar
    http://theshravan.net
    Thomson Reuters
  • 3. Agenda
    What's new in ASP.NET MVC3 ?
    What's new in ASP.NET MVC3 Tools Update?
  • 4. Multiple View Engine Support
    <%= ASPX %>
    @Razor
  • 5. The RazorView Engine
    • Razor syntax is clean and concise
    • 6. Requiring a minimum number of keystrokes
    • 7. Razor is easy to learn
    • 8. Visual Studio includes IntelliSense and code colorization for Razor syntax.
  • <ul>
    <% for (int i = 0; i < 10; i++) { %>
    <li><% =i %></li>
    <% } %>
    </ul>
    <ul>
    @for (int i = 0; i < 10; i++) {
    <li>@i</li>
    }
    </ul>
  • 9. Demo
    Razor
    @{new ViewEngine();}
  • 10. Controller Improvements
    • Global Action Filters
    • 11. New "ViewBag" Property
    • 12. New "ActionResult" Types
  • Demo
    Controller Improvements
  • 13. Model Validation Improvements
    • "DataAnnotations" Metadata Attributes
    • 14. "ValidationAttribute" Class
    • 15. Validation Interfaces
    • 16. IValidatableObject
    • 17. IClientValidatable
  • JavaScript and Ajax Improvements
    • Ajax and validation helpers in MVC 3 use an unobtrusive JavaScript approach.
    • 18. Client-Side Validation Enabled by Default
    • 19. Remote Validator
    • 20. JSON Binding Support
  • Demo
    Model Validation and JavaScript Improvements
  • 21. Dependency Injection Improvements
  • 22. Demo
    Dependency Injection Improvements
  • 23. What else?
    • NuGet Integration
    • 24. Partial-Page Output Caching
    • 25. Granular Control over Request Validation
    • 26. Sessionless Controller Support
  • ASP.NET MVC 3 Tools Update
    • ASP.NET MVC 3 RTM (January 13, 2011)
    • 27. ASP.NET MVC 3 Tools Update (April 12, 2011)
    NO RUNTIME CHANGES IN ASP.NET MVC 3 TOOLS UPDATE
  • 28. ASP.NET MVC 3 (before)
  • 29. ASP.NET MVC 3 (after)
  • 30. What’s new inAsp.NET MVC 3 tools update
    • Scaffolding with extensibility via NuGet
    • 31. Intranet Project Template
    • 32. HTML 5 Enabled Project Templates
    • 33. Pre-Installed NuGet Packages
    • 34. Modernizr
    • 35. EF Code First
    • 36. jQuery 1.5.1
    • 37. jQuery Validation 1.8.0
    • 38. jQuery UI 1.8.11
  • Refer to:
    • http://asp.net/mvc/mvc3/
    • 39. http://haacked.com
    • 40. http://weblogs.asp.net/scottgu/
    • 41. http://hanselman.com/
  • Thank You!
  • 42. shravan.kasagoni@live.com@techieshravanhttp://theshravan.net
  • 43. No Questions