Hrvoje Hudoletnjak
Fortempo d.o.o.
ASP.NET PRESENT AND FUTURE
AGENDA
• Web tooling in Visual Studio 2013 RC1
• WebForms
• ASP.NET MVC 5
• SPA
• WebAPI 2
• ASP.NET Identity
• OWIN/KATANA
FRAMEWORK & TOOLS
• Faster release cycle, every ~ 6 months
ASP.NET
4.5
VS2012
Sept
2012
ASP.NET
and Web
Tools
2012.2
Feb
2013
VS2013
Fall
2013
VISUAL STUDIO 2013
• New Web Project Experience
• Scaffolding
• Browser Links (SignalR browser<->VS)
• New Razor/HTML/JS editor (still old editor for
WebForms)
• Azure Web Sites from Server Explorer
• Web Publish Enhancements
• Nuget 2.7 (Restore pck on by default)
ONE ASP.NET
• One project
• Add any framework to any project
• Scaffolding works across all frameworks
• Configurabile auth (new identity system)
• OWIN Hosting (Open Web Interface for .NET)
ONE ASP.NET
ASP.NET 4.5
GENERAL
• Script & Libraries as NuGet
• Async
• Web Optimization
• Request Validation
• Data Annotations
• HTML 5 Web Sockets (IIS 8, SignalR)
• 30% Faster Start
• 30% Smaller Memory
WEBFORMS
• HTML 5
• Request validation
• Strongly Typed Data Controls
• Model Binders
• HTML Encoded Data-Binding Expressions
• Unobtrusive JS Validation
STRONGLY TYPED DATA CONTROLS
MVC 5
• Async
• New templates (Bootstrap)
• Scaffolding
• HTML 5 support
• Entity Framework 6 w/ Migrations
• ASP.NET Identity
SPA
Atwood's Law: any application
that can be written in
JavaScript, will eventually be
written in JavaScript.
SPA
Web page title
http://www.url.com
Memory
Management
GarbageCollection
GraphicsSubsystems
HTML,CSS,
Canvas,WebGL,
Audio,Video
Storage
Cookies,IndexedDb,
FileAPI
Threading
WebWorkers
Events
DOMEvents,
Callbacks
Network
WebSockets,
XHR,Offline,
Realtime
Security
Sandbox,SSL,
CORS
APIs
GeoLocation,
Sensors
SPA
• SPA is new Silverlight (thick client)
• Durandal/Knockout (MS backed, Caliburn.Micro vNext)
• Angular (Google backed)
• Ember (for big projects)
• Backbone (gives structure)
• VanillaJS (no frameworks please)
• All that goes to REST HTTP API
(WebAPI, OpenRasta, ServiceStack, …)
WEB API 2
• External Auth (FB, TW, Google, MS Acc, …)
• CORS Requests
• Attribute routing
• Request Batching
• OData improvements
• OWIN Host
ASP.NET IDENTITY GOALS
• Works with WebForms, MVC, WebAPI, WebPages, SignalR
• Ease of plugging in user profile dana
• Persistance control with EF CF, SharePoint, Azure Table
Storage, NoSql, …
• Unit testability
• Simple Role provider
• Claims based
• External Logins
• OWIN Based
ASP.NET IDENTITY
OWIN
Current processing pipeline
MY APPLICATION
ASP.NET
IIS
OWIN
• Inspired by Rack (Ruby), WSGI (Python)
• specification for how Web frameworks and Web servers interact
MY APPLICATION
OWIN Middleware
Pipeline
STATIC
HTML
SIGNAL
R
WEB
API
NANCY
FX
SERVER
HOST
IIS / ASP.NETHTTPLISTENER
IIS /
ASP.NET
CUSTOM
OWIN
HOST.exe
KATANA
EF 6 RC1
• Customizing Code First Conventions.
• Logging of database commands.
• Stored Procedure Mapping.
• Asynchronous Queries and Save support.
• Code based configuration support.
• EF Power Tools (not new to EF6).
QUESTION?
Thank you for your time!
Hrvoje Hudoletnjak
http://www.hudosvibe.net
http://twitter.com/hhrvoje
hrvoje@hudoletnjak.com
OUR SPONSORS MADE THIS POSSIBLE!
THANK YOU!

ASP.NET: Present and future

Editor's Notes

  • #2 Title &amp; Name
  • #3 Content
  • #4 2012:pageinspector, html 5, newcss/js editor, publish, dana migration2012.2: scaffolding, spa, fb, webapi (odata, tracing), less, syntaxhighl (coffee, knockout…), mobile emulator
  • #22 Sponsors