ASP.NET MVC - Latest & Greatest So Far
-
Upload
lohith-gn -
Category
Technology
-
view
191 -
download
2
Transcript of ASP.NET MVC - Latest & Greatest So Far
Learn. Connect. Explore.Learn. Connect. Explore.
ASP.NET MVC – Latest & Greatest So Far
Lohith G N
Microsoft MVP
About Me
Lohith G N • Microsoft MVP (ASP.NET/IIS)
• Evangelist, Telerik
• Author
• Bangalore DotNet User Group
• @kashyapa
• http://about.me/kashyapa
Disclaimer:
This is not MVC 101 Session
Journey So Far…
ASP.NET MVC Releases
Mar 2009
• 1.0
Mar 2010
• 2.0
Jan 2011
• 3.0
Aug 2012
• 4.0
Oct 2013
• 5.0
Jan 2014
• 5.1
Jul 2014
• 5.2
One ASP.NETOne Experience
What is One ASP.NET?
• One & Only One ASP.NET
• Web Forms, MVC, Web API & SignalR in one place
• New Project Experience
• Bootstrap integration out of the box
Prior To One ASP.NET
One ASP.NET Experience
Application Features
Demo
One ASP.NET IdentityNew Identity System
One ASP.NET Identity
• WebForms, MVC, Web Pages, Web API & SignalR
• Ease of storing custom Profile data
• Claims based
• Social Login Providers
• Available as a NuGet Package
Demo
ScaffoldingCRUD with a button click
What is Scaffolding?
• Code Generation F/W
• MVC & Web API Code generators
• Quickly add code to interact with Data Models
• Reduce time to develop standard data operations
• Can extend to create Custom Scaffold options
Demo
RoutingDefault & Attribute Routing
Which Way to Take ?
Routing - Overview
• Default Routing is Convention Based Routing
• Match URI to Actions
• Route Configuration done at App Start
• Matching rules defined for your app on MVC Route table
Attribute Based Routing
• Define Routes using Attributes on Controller/Actions
• Routes Co-Located with Actions
• Routes in Same File Vs External Config File
• Easier to Read & Reason the routes
Demo
Authentication FiltersAuthenticate before authorize
Authentication Filters
• Prior
• Use Authorization filters to perform Authentication tasks
• Now
• Use Authentication filter to perform Auth tasks
• Executed before any of the filters in the pipeline
Demo
References
Related references for you to expand your knowledge on the subject
• www.asp.net/mvctechnet.microsoft.com/en-in
aka.ms/mva
msdn.microsoft.com/
Your Feedback is Important
OPTION 3: Feedback stations outside the hall
Fill out evaluation of this session and help shape future events.
OPTION 1 OPTION 2
Replace this space with the
actual QR Code
Follow us online
Facebookfacebook.com/MicrosoftDeveloper.India
twitter.com/msdevindia
@kashyapa
http://about.me/kashyapa