ASP.MVC 4- IntroductionLohith G NDeveloper Evangelist, Telerik
About Me…•   Lohith G N•   Developer Evangelist, Telerik•   Microsoft MVP – ASP.NET/IIS – 2011/12•   BDotNet UG Lead•   @k...
Agenda            Enhanced     MobileWhats New                           Display             Bundling &             Projec...
New Things in MVC4• Enhancements in Default Project Templates• Mobile Project Templates    ▫ Jquery Mobile, View Switcher,...
Default Project Template• Updated to create more modern  looking website• Adaptive rendering – desktop  browser and mobile...
Mobile Web Application with ASP.NET MVC
Mobile Web Apps• Create site specifically for mobile/tablet browsers• Use Mobile Application Project Template• Based on JQ...
Selective Views
Display Modes• Select view depending on browser• Create .mobile pages for e.g. index.mobile.cshtml• Desktop browser reques...
API for every reach
Web API• Framework, Create HTTP services• Reach broad range of clients – Browsers/Devices• Features:  ▫   HTTP Programming...
Bundle & Minify
Bundling & Minification• Reduce number of HTTP request  ▫ Combine individual files into single bundled file for scripts/st...
@kashyapa | lohith.nagaraj@telerik.comAbout.me/kashyapahttp://Kashyapas.comhttp://Telerikhelper.net
ASP.NET MVC 4 Introduction
ASP.NET MVC 4 Introduction
Upcoming SlideShare
Loading in …5
×

ASP.NET MVC 4 Introduction

1,126 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,126
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
54
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

ASP.NET MVC 4 Introduction

  1. 1. ASP.MVC 4- IntroductionLohith G NDeveloper Evangelist, Telerik
  2. 2. About Me…• Lohith G N• Developer Evangelist, Telerik• Microsoft MVP – ASP.NET/IIS – 2011/12• BDotNet UG Lead• @kashyapa | lohith.nagaraj@teleik.com• Kashyapas.com• Telerikhelper.net• About.me/kashyapa
  3. 3. Agenda Enhanced MobileWhats New Display Bundling & Project Project Web API in MVC4 Modes Minification Templates Templates
  4. 4. New Things in MVC4• Enhancements in Default Project Templates• Mobile Project Templates ▫ Jquery Mobile, View Switcher, Browser Overriding• Display Modes• Empty Project Template• Controller in any project folder• Web API• Bundling & Minification• Oauth & Open ID
  5. 5. Default Project Template• Updated to create more modern looking website• Adaptive rendering – desktop browser and mobile browser, no customization
  6. 6. Mobile Web Application with ASP.NET MVC
  7. 7. Mobile Web Apps• Create site specifically for mobile/tablet browsers• Use Mobile Application Project Template• Based on JQuery Mobile• Optimized touch UI
  8. 8. Selective Views
  9. 9. Display Modes• Select view depending on browser• Create .mobile pages for e.g. index.mobile.cshtml• Desktop browser request uses index.cshtml• Mobile browser request uses index.mobile.cshtml
  10. 10. API for every reach
  11. 11. Web API• Framework, Create HTTP services• Reach broad range of clients – Browsers/Devices• Features: ▫ HTTP Programming Model ▫ Self Hosting ▫ Support for Routes ▫ Custom Help & Test Pages ▫ Content Negotiation ▫ Monitoring & Diagnostics ▫ Model Binding & Validation ▫ Link generation ▫ Filters, Query Composition ▫ Testable, ▫ Web API Project Template ▫ Code Based Configuration ▫ Scaffolding
  12. 12. Bundle & Minify
  13. 13. Bundling & Minification• Reduce number of HTTP request ▫ Combine individual files into single bundled file for scripts/styles ▫ Minify the contents of the bundle• Bundles declared & configured in code
  14. 14. @kashyapa | lohith.nagaraj@telerik.comAbout.me/kashyapahttp://Kashyapas.comhttp://Telerikhelper.net

×