ASP.NET: Present and future

4,813 views

Published on

what's happening in ASP.NET, and where things are going. Or course, at time of writing (September 2013)

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

  • Be the first to like this

No Downloads
Views
Total views
4,813
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Title & Name
  • Content
  • 2012:pageinspector, html 5, newcss/js editor, publish, dana migration2012.2: scaffolding, spa, fb, webapi (odata, tracing), less, syntaxhighl (coffee, knockout…), mobile emulator
  • Sponsors
  • ASP.NET: Present and future

    1. 1. Hrvoje Hudoletnjak Fortempo d.o.o. ASP.NET PRESENT AND FUTURE
    2. 2. AGENDA • Web tooling in Visual Studio 2013 RC1 • WebForms • ASP.NET MVC 5 • SPA • WebAPI 2 • ASP.NET Identity • OWIN/KATANA
    3. 3. 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
    4. 4. 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)
    5. 5. 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)
    6. 6. ONE ASP.NET
    7. 7. 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
    8. 8. WEBFORMS • HTML 5 • Request validation • Strongly Typed Data Controls • Model Binders • HTML Encoded Data-Binding Expressions • Unobtrusive JS Validation
    9. 9. STRONGLY TYPED DATA CONTROLS
    10. 10. MVC 5 • Async • New templates (Bootstrap) • Scaffolding • HTML 5 support • Entity Framework 6 w/ Migrations • ASP.NET Identity
    11. 11. SPA Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
    12. 12. 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
    13. 13. 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, …)
    14. 14. WEB API 2 • External Auth (FB, TW, Google, MS Acc, …) • CORS Requests • Attribute routing • Request Batching • OData improvements • OWIN Host
    15. 15. 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
    16. 16. ASP.NET IDENTITY
    17. 17. OWIN Current processing pipeline MY APPLICATION ASP.NET IIS
    18. 18. 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
    19. 19. 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).
    20. 20. QUESTION? Thank you for your time! Hrvoje Hudoletnjak http://www.hudosvibe.net http://twitter.com/hhrvoje hrvoje@hudoletnjak.com
    21. 21. OUR SPONSORS MADE THIS POSSIBLE! THANK YOU!

    ×