ASP.NET 4.5
   Developer Preview
          Jon Galloway
http://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
• HTML Encoding
ASP.NET Core

Caching       Modules     Globalization

 Pages         Controls   Master Pages

 Profile        Roles     Membership

Intrinsics    Handlers        etc.
Web          Web
        MVC
Forms         Pages
   ASP.NET Core

   .NET Runtime
Data in ASP.NET MVC
• What does MVC look like?
                             Controller
   Request     Controller    Retrieves Model
                             “Does Stuff”




                             View
    Response     View        Visually represents
                             the model
Data access paradigms




Database First         Model First          Code First


Start with schema,   Design a model,     Code a model,
generate a model     generate a schema   generate a schema
                     and code
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
HTML5 Form Features
ASP.NET Common Features
•   Async
•   Bundling / Minification
•   Flexible Validation
•   Performance
Async Handlers / Modules
public 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
    }
}
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

More Related Content

PDF
Mastering asp.net mvc - Dot Net Tricks
PPTX
Getting started with MVC 5 and Visual Studio 2013
PPTX
Entity Framework Core 1.0
PPTX
4. Introduction to ASP.NET MVC - Part I
PPTX
MOKA .Net Study Week 02
PDF
Single page applications with backbone js
PPTX
Bayt training
PDF
Introduction to ASP.NET MVC
Mastering asp.net mvc - Dot Net Tricks
Getting started with MVC 5 and Visual Studio 2013
Entity Framework Core 1.0
4. Introduction to ASP.NET MVC - Part I
MOKA .Net Study Week 02
Single page applications with backbone js
Bayt training
Introduction to ASP.NET MVC

What's hot (20)

PPTX
Building rest services using aspnetwebapi
PPTX
WebNetConf 2012 - Single Page Apps
PDF
Single Page Apps
PPTX
Building Modern Web Applications with ASP.NET5
PPTX
Angular4 kickstart
PPTX
BackboneJS
PDF
Workshop automating with microsoft flow
PPTX
Web Application Frameworks (WAF)
PPTX
Entity Framework 7: What's New?
PDF
Ember and SharePoint
PPTX
ASP.NET MVC - Latest & Greatest So Far
PPTX
ASP.NET MVC 4 Overview
PPTX
Edy Dawson Notes on SF HTML5 Dev Conf
PPTX
ASP.NET MVC 4
PDF
A Beginner's Guide to Ember
PDF
Webservices: connecting Joomla! with other programs.
PPTX
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
PPTX
Fast Track introduction to ASP.NET MVC
PPTX
Migration from ASP.NET MVC to ASP.NET Core
PPTX
SenchaCon 2016: Turbocharge your Ext JS App - Per Minborg, Anselm McClain, Jo...
Building rest services using aspnetwebapi
WebNetConf 2012 - Single Page Apps
Single Page Apps
Building Modern Web Applications with ASP.NET5
Angular4 kickstart
BackboneJS
Workshop automating with microsoft flow
Web Application Frameworks (WAF)
Entity Framework 7: What's New?
Ember and SharePoint
ASP.NET MVC - Latest & Greatest So Far
ASP.NET MVC 4 Overview
Edy Dawson Notes on SF HTML5 Dev Conf
ASP.NET MVC 4
A Beginner's Guide to Ember
Webservices: connecting Joomla! with other programs.
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Fast Track introduction to ASP.NET MVC
Migration from ASP.NET MVC to ASP.NET Core
SenchaCon 2016: Turbocharge your Ext JS App - Per Minborg, Anselm McClain, Jo...
Ad

Similar to SoCal Code Camp 2011 - ASP.NET 4.5 (20)

PPTX
Programming is Fun with ASP.NET MVC
PPTX
Aspnet mvc
PPTX
ASP.NET MVC as the next step in web development
PPTX
Intro to .NET for Government Developers
PPT
ASP.NET MVC Presentation
PPTX
ASP.NET Presentation
PPS
Introduction To Mvc
PPT
Daniel Egan Msdn Tech Days Oc
PDF
ASP.NET MVC 2.0
PDF
ASP.NET MVC - Whats The Big Deal
PPTX
Walther Aspnet4
PPTX
What's new in asp.net mvc 4
PPTX
MVC Framework
PDF
Asp.net mvc basic introduction
PPTX
Asp.Net MVC Intro
PPTX
MVC - Introduction
PPTX
Improve your Web Development using Visual Studio 2010
PPTX
Asp.net With mvc handson
PPT
Introduction to ASP.NET MVC
PDF
Building richwebapplicationsusingasp
Programming is Fun with ASP.NET MVC
Aspnet mvc
ASP.NET MVC as the next step in web development
Intro to .NET for Government Developers
ASP.NET MVC Presentation
ASP.NET Presentation
Introduction To Mvc
Daniel Egan Msdn Tech Days Oc
ASP.NET MVC 2.0
ASP.NET MVC - Whats The Big Deal
Walther Aspnet4
What's new in asp.net mvc 4
MVC Framework
Asp.net mvc basic introduction
Asp.Net MVC Intro
MVC - Introduction
Improve your Web Development using Visual Studio 2010
Asp.net With mvc handson
Introduction to ASP.NET MVC
Building richwebapplicationsusingasp
Ad

More from Jon Galloway (13)

PPTX
What's new in Visual Studio for Mac for .NET Developers
PPTX
.NET Core Today and Tomorrow
PPTX
ASP.NET Core 3.0 Deep Dive
PPTX
What you need to know about .NET Core 3.0 and beyond
PPTX
Techorama 2019 - ASP.NET Core One Hour Makeover
PDF
Whats New in ASP.NET Core
PPTX
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor a...
PPTX
Keynote: Hijacking Boring Sounding Things Like Foundations and Maturity Model...
PPTX
What's New in ASP.NET Core 2.0
PPTX
[NDC Oslo 2017] Open Source Software Foundations: Not Totally Boring, Actuall...
PPTX
learning to love html and css
PPTX
Pragmatic JavaScript (DevConnections 2011)
PPTX
SoCal Code Camp 2011 - ASP.NET MVC 4
What's new in Visual Studio for Mac for .NET Developers
.NET Core Today and Tomorrow
ASP.NET Core 3.0 Deep Dive
What you need to know about .NET Core 3.0 and beyond
Techorama 2019 - ASP.NET Core One Hour Makeover
Whats New in ASP.NET Core
.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor a...
Keynote: Hijacking Boring Sounding Things Like Foundations and Maturity Model...
What's New in ASP.NET Core 2.0
[NDC Oslo 2017] Open Source Software Foundations: Not Totally Boring, Actuall...
learning to love html and css
Pragmatic JavaScript (DevConnections 2011)
SoCal Code Camp 2011 - ASP.NET MVC 4

Recently uploaded (20)

PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPT
Geologic Time for studying geology for geologist
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
STKI Israel Market Study 2025 version august
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
DOCX
search engine optimization ppt fir known well about this
PDF
Hybrid model detection and classification of lung cancer
PDF
Five Habits of High-Impact Board Members
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Web Crawler for Trend Tracking Gen Z Insights.pptx
O2C Customer Invoices to Receipt V15A.pptx
Geologic Time for studying geology for geologist
Taming the Chaos: How to Turn Unstructured Data into Decisions
observCloud-Native Containerability and monitoring.pptx
Tartificialntelligence_presentation.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
1 - Historical Antecedents, Social Consideration.pdf
Zenith AI: Advanced Artificial Intelligence
STKI Israel Market Study 2025 version august
Developing a website for English-speaking practice to English as a foreign la...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
WOOl fibre morphology and structure.pdf for textiles
search engine optimization ppt fir known well about this
Hybrid model detection and classification of lung cancer
Five Habits of High-Impact Board Members

SoCal Code Camp 2011 - ASP.NET 4.5

  • 1. ASP.NET 4.5 Developer Preview Jon Galloway http://weblogs.asp.net/jgalloway SoCal Code Camp
  • 2. Agenda • Overall focus areas for ASP.NET 4.5 • ASP.NET 4.5 Web Forms • Common features • Where to find more
  • 4. ASP.NET 4.5 Web Forms • Data – Strongly typed binding – Attributed models (and their advantages) – Model binding • HTML5 • HTML Encoding
  • 5. ASP.NET Core Caching Modules Globalization Pages Controls Master Pages Profile Roles Membership Intrinsics Handlers etc.
  • 6. Web Web MVC Forms Pages ASP.NET Core .NET Runtime
  • 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. Data access paradigms Database First Model First Code First Start with schema, Design a model, Code a model, generate a model generate a schema generate a schema and code
  • 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
  • 11. ASP.NET Common Features • Async • Bundling / Minification • Flexible Validation • Performance
  • 12. Async Handlers / Modules public 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. ASP.NET Common Features • Async • Bundling / Minification • Flexible Validation • Performance
  • 14. Where to find more • http://asp.net/vnext • http://www.microsoft.com/visualstudio/en- us/visual-studio-11

Editor's Notes

  • #8: Estimated Time: 4 minutesSo what does MVC look like when implemented over the web?When an HTTP request comes into the application it is mapped to a controller. Remember as we mentioned in the previous slide, in the MVC design pattern, the controller is the piece of the trifecta that handles all user input. In the case of a web application, user input is represented as HTTP requests [Advance Animation].Once the controller has received input, it performs whatever operations it needs to and then assembles a presentation model [Advance Animation].The controller then takes the model and passes it off to the view. Remember that the view is simply a visual representation of the model [Advance Animation].The view then “transforms” the model into whatever format it uses to represent it. In a web application, this would typically be HTML [Advance Animation].The view then serves the request by responding with its visual representation.