ASP.NET 4.5   Developer Preview          Jon Gallowayhttp://weblogs.asp.net/jgalloway        SoCal Code Camp
Agenda•   Overall focus areas for ASP.NET 4.5•   ASP.NET 4.5 Web Forms•   Common features•   Where to find more
Visual Studio 11
ASP.NET 4.5 Web Forms• Data  – Strongly typed binding  – Attributed models (and their advantages)  – Model binding• HTML5•...
ASP.NET CoreCaching       Modules     Globalization Pages         Controls   Master Pages Profile        Roles     Members...
Web          Web        MVCForms         Pages   ASP.NET Core   .NET Runtime
Data in ASP.NET MVC• What does MVC look like?                             Controller   Request     Controller    Retrieves...
Data access paradigmsDatabase First         Model First          Code FirstStart with schema,   Design a model,     Code a...
ASP.NET 4.5 Web Forms• Data  – Strongly typed binding  – Attributed models (and their advantages)     • Code-first     • D...
HTML5 Form Features
ASP.NET Common Features•   Async•   Bundling / Minification•   Flexible Validation•   Performance
Async Handlers / Modulespublic class MyAsyncHandler : HttpTaskAsyncHandler{    // ...    // ASP.NET automatically takes ca...
ASP.NET Common Features•   Async•   Bundling / Minification•   Flexible Validation•   Performance
Where to find more• http://asp.net/vnext• http://www.microsoft.com/visualstudio/en-  us/visual-studio-11
Upcoming SlideShare
Loading in …5
×

SoCal Code Camp 2011 - ASP.NET 4.5

905 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

SoCal Code Camp 2011 - ASP.NET 4.5

  1. 1. ASP.NET 4.5 Developer Preview Jon Gallowayhttp://weblogs.asp.net/jgalloway SoCal Code Camp
  2. 2. Agenda• Overall focus areas for ASP.NET 4.5• ASP.NET 4.5 Web Forms• Common features• Where to find more
  3. 3. Visual Studio 11
  4. 4. ASP.NET 4.5 Web Forms• Data – Strongly typed binding – Attributed models (and their advantages) – Model binding• HTML5• HTML Encoding
  5. 5. ASP.NET CoreCaching Modules Globalization Pages Controls Master Pages Profile Roles MembershipIntrinsics Handlers etc.
  6. 6. Web Web MVCForms Pages ASP.NET Core .NET Runtime
  7. 7. Data in ASP.NET MVC• What does MVC look like? Controller Request Controller Retrieves Model “Does Stuff” View Response View Visually represents the model
  8. 8. Data access paradigmsDatabase First Model First Code FirstStart with schema, Design a model, Code a model,generate a model generate a schema generate a schema and code
  9. 9. ASP.NET 4.5 Web Forms• Data – Strongly typed binding – Attributed models (and their advantages) • Code-first • Dynamic Data aware • Easy to use unobtrusive validation – Model binding• HTML5• HTML Encoding
  10. 10. HTML5 Form Features
  11. 11. ASP.NET Common Features• Async• Bundling / Minification• Flexible Validation• Performance
  12. 12. Async Handlers / Modulespublic class MyAsyncHandler : HttpTaskAsyncHandler{ // ... // ASP.NET automatically takes care of integrating the Task based override // with the ASP.NET pipeline. public override async Task ProcessRequestAsync(HttpContext context) { WebClient wc = new WebClient(); var result = await wc.DownloadStringTaskAsync("http://www.microsoft.com"); // Do something with the result }}
  13. 13. ASP.NET Common Features• Async• Bundling / Minification• Flexible Validation• Performance
  14. 14. Where to find more• http://asp.net/vnext• http://www.microsoft.com/visualstudio/en- us/visual-studio-11

×