Upload
hrvoje-hudoletnjak
View
4.091
Download
3
Tags:
Embed Size (px)
DESCRIPTION
what's happening in ASP.NET, and where things are going. Or course, at time of writing (September 2013)
Citation preview
Hrvoje HudoletnjakFortempo 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
• VS2013Fall2013
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
WebForms
Sites
WebPages
Single
PageApps
MVCWebAPI
SignalR
Services
YOU! YOU!
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.
SPAWeb page title
http://www.url.com
Browser (Hardware Layer)JavaScript (OS)
Memory Management
Garbage Collection
Graphics Subsystems
HTML, CSS, Canvas, Web GL,
Audio, Video
Storage
Cookies, IndexedDb,File API
Threading
Web Workers
Events
DOM Events,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
SIGNALR
WEB API
NANCY FX
SERVER
HOST
IIS / ASP.NETHTTPLISTENER
IIS / ASP.NETCUSTOMOWIN
HOST.exe
KA
TA
NA
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 Hudoletnjakhttp://www.hudosvibe.nethttp://twitter.com/[email protected]
OUR SPONSORS MADE THIS POSSIBLE!THANK YOU!