• Save
Introduction to ASP.Net Mvc3 with Razor
Upcoming SlideShare
Loading in...5
×
 

Introduction to ASP.Net Mvc3 with Razor

on

  • 1,453 views

In this presentation, i have covered ASP.Net MVC, Razor, View Engine.

In this presentation, i have covered ASP.Net MVC, Razor, View Engine.

Statistics

Views

Total Views
1,453
Views on SlideShare
1,453
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

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
  • I have a demo for adding new views to this dialog.
  • I have a demo for adding new views to this dialog.
  • Remember the last note talk about embracing UX team and working closely with them

Introduction to ASP.Net Mvc3 with Razor Introduction to ASP.Net Mvc3 with Razor Presentation Transcript

  • Introduction to MVC3 with Razor Manoj Kumar Senior Consultant III manoj.kumar@neudesic.com 28 June, 2012The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • The Trusted Technology Partner in Business Innovation August 2010 August 2010 July 2010 June 2010 Ranked as one of the top Ranked as one of the top Named Microsoft Partner of CRN Magazines list of the technology solution providers technology solution providers the Year Finalist in 2 separate largest solution providers in in America by CRN Magazine in America by CRN Magazine categories North America for the past 4 years. for the past 4 years. 2009 2010 2007 2008The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • MVC Pattern – A Conceptual ViewThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • What’s new in ASP.NET MVC 3 Multiple View Validation Razor View Engine Dynamic ViewBag Engine Support Improvements Project Dialog Global Filters New ActionResults VBHTML Support Improvements Improved Porting MVC Script Granular Task-based Helpers Dependency Libraries to jQuery ValidateInput Injection Project Dialog Add View Dialog Improved Caching JSON Binding Extensibility Improvements Support Support ImprovementsThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • What’s new in ASP.NET MVC 3 Multiple View Validation Razor View Engine Dynamic ViewBag Engine Support Improvements Project Dialog Global Filters New ActionResults VBHTML Support Improvements Improved Porting MVC Script Granular Task-based Helpers Dependency Libraries to jQuery ValidateInput Injection Project Dialog Add View Dialog Improved Caching JSON Binding Extensibility Improvements Support Support ImprovementsThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • What is Razor?The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Razor • Clean & Concise • Based on Existing Languages • Intellisense • Code Colorization • Unit Testing SupportThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Razor Fundamentals @model syntax for specifying the type being passed to the view.The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Multiple View Engine SupportThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Multiple View Engine Support protected void Application_Start() { ViewEngines.Engines.Add(new SparkViewFactory()); … }The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Syntax Comparison Web Forms <ul> <% for (int i = 0; i < 10; i++) {%> 6 transitions <li><%=i %></li> <%} %> </ul> <ul> Razor @for (int i = 0; i < 10; i++) 2 transitions { <li>@i</li> } </ul>The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Dynamic ViewBag • Accessible via properties • Properties map to ViewData entries • Late-boundThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Dynamic ViewBag <head> <title>@ViewBag.Title<title> </head>The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Q&AThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • WorkshopThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services
  • Thank You Manoj Kumar manoj.kumar@neudesic.comThe Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services