Mvc3 crash
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Mvc3 crash

on

  • 3,390 views

 

Statistics

Views

Total Views
3,390
Views on SlideShare
1,814
Embed Views
1,576

Actions

Likes
0
Downloads
44
Comments
0

37 Embeds 1,576

http://melick-rajee.blogspot.com 920
http://melick-rajee.blogspot.in 303
http://melick-rajee.blogspot.co.uk 69
http://melick-rajee.blogspot.de 46
http://melick-rajee.blogspot.com.au 38
http://melick-rajee.blogspot.ca 25
http://melick-rajee.blogspot.sg 17
http://www.directrss.co.il 12
http://melick-rajee.blogspot.nl 11
http://melick-rajee.blogspot.it 11
http://melick-rajee.blogspot.se 11
http://melick-rajee.blogspot.co.nz 10
http://melick-rajee.blogspot.com.es 9
http://melick-rajee.blogspot.com.br 9
http://melick-rajee.blogspot.fr 9
http://melick-rajee.blogspot.ch 8
http://melick-rajee.blogspot.dk 7
http://melick-rajee.blogspot.ru 7
http://melick-rajee.blogspot.be 5
http://melick-rajee.blogspot.ie 5
http://melick-rajee.blogspot.co.il 4
http://melick-rajee.blogspot.tw 4
http://melick-rajee.blogspot.mx 4
http://melick-rajee.blogspot.fi 4
http://melick-rajee.blogspot.hk 3
http://melick-rajee.blogspot.kr 3
http://melick-rajee.blogspot.cz 3
http://webcache.googleusercontent.com 3
http://melick-rajee.blogspot.hu 2
http://melick-rajee.blogspot.com.tr 2
http://melick-rajee.blogspot.com.ar 2
http://melick-rajee.blogspot.ae 2
http://melick-rajee.blogspot.jp 2
http://melick-rajee.blogspot.co.at 2
http://melick-rajee.blogspot.no 2
http://melick-rajee.blogspot.ro 1
http://melick-rajee.blogspot.gr 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

Mvc3 crash Presentation Transcript

  • 1. ASP.NET MVC3Melick Rajee Baranasooriyahttp://melick-rajee.blogspot.com
  • 2. Introduction ASP.NET MVC 3 is a framework for building  Scalable  Standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework.
  • 3. Features Rock Features  NuGet  Razor View Engine  HTML Helpers  Dependency Injection  Model Validation
  • 4. Features … Improvements  Sessionless Controllers  ViewBag Property  JSON Model Binding  Granular Input Validation  Partial Page Output Cache  Global Action Filters  New Action Result Types
  • 5. Technology Stack Web Platform Installer 3.0 Visual Studio 2010  Express  Web Developer Express Visual Studio 2010 SP1  MVC 3 IIS Express [SQL Server 2008 R2 Express]
  • 6. How It works/Customer/Add CustomerController Request Controller Model Model Model /Customer/Add Response View
  • 7. Controllers We are going to look  Routing  Controller Actions  Action Filters  Action Parameters  Action Results
  • 8. Routing http://localhost/Customer/Edit/5
  • 9. Routing .. Global.asmx
  • 10. Routing .. Accessing Routing Data  RouteData.Values["Controller"]  RouteData.Values["Action"]  RouteData.Values["Id"]);
  • 11. Action Results ContentResult  JsonResult EmptyResult  RedirectToAction FileResult  RedirectResult HttpStatusCodeResult  RedirectToRouteResult HttpNotFoundResult  ViewResultBase JavaScriptResult  Many ..
  • 12. Action Selectors Decorate Control Actions  ActionName  AcceptVerbs  GET  POST  DELETE  ..
  • 13. Action Filters Uses to restrict the action based on filer  [Authorize(Roles="Admin")]
  • 14.  How Routing Works Accessing Routing Data Action Results Action Selectors
  • 15. Views MVC 3 Supports  Aspx  Razor Razor  Simple  Powerfull
  • 16. Views .. Strong Type View Scaffold Template  Create  List  Details  Edit  .. Partial View
  • 17. Views .. Razor Syntax @ Custom Helpers Partial Views
  • 18. Declarative Custom Helper
  • 19. Models Models  Data Annotations  Model Validation JQuery
  • 20. JQuery jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
  • 21. Demo
  • 22. Thank You.http://melick-rajee.blogspot.com