SlideShare a Scribd company logo
What’s New in ASP.NET 4
You generally remember…
@toddanglin
Todd AnglinChief Evangelist, TelerikMicrosoft MVPASPNET InsiderNHDNUG President & O’Reilly Authortelerikwatch.com@toddanglin
TelerikOne-stop provider for .NET tools & UI componentsUI	  DATA	        PRODUCTIVITY     TESTING	      TFS	             CMS.NET Developer ProductivityUI: ASP.NET AJAX, MVC, WinForms, Silverlight, WPFDATA: Telerik Reporting, OpenAccess ORMCMS: Sitefinity CMSPRODUCTIVITY: JustCodeTESTING: WebUI Test StudioTFS: Work Item Manager, Project Dashboard
Today’s Road Map
What are the technologies of the web?
jQuery
Memory LaneASP 1.0CSS
At the time of ASP.NET 1…JavaScript was a painBut, IE6 held 96% browser share.NET was brand newWinForms was new, VB6 was popularYet to be invented:AJAX*jQueryWeb 2.0Silverlight/XAMLTwitter
MobileMVCHTML5CloudREST Web ServicesAJAXRIAJSONVideoCSS3WebMatrixBrowser War IISocial Media
4
What is “ASP.NET”?
ASP.NETCore ServicesWebFormsMVCDynamic DataAJAX
AbstractedHTML + JSasp.net webformsasp.net mvcOn the Metal
introduction to asp.net 4.0putting you in control
AbstractedHTML + JSasp.net webformsasp.net mvcOn the Metal
*important notesSide-by-side enabledBackwards & Upwards compatiblecontrolRenderingCompatibilityVersionVS 2010 only
ViewStateViewStatecan be opt-inViewStateModeEnabled/Disabled/Inherit
Control IDs4 Mode:AutoIDStaticInheritPredictable (*default)(+ ClientIDRowSuffix)<!--Set client ID--><asp:ListViewDataSourceID=“odsYourData"ClientIDRowSuffix="ID"ClientIDMode="Predictable"<!--Global config-><system.web>     <pages clientIDMode="Predictable">    </pages> </system.web>
RoutingImproved in 4.0Global.asaxpublic class Global : System.Web.HttpApplication{    protected void Application_Start(object sender, EventArgs e)    {RouteTable.Routes.Add("Product",            new Route("Products/{category}",new PageRouteHandler("~/Products.aspx")));    }}<asp:Literal Text="<%$ RouteValue:Category %>" runat="server" />
New APIsPage Meta InfoPage.MetaDescription = "this is meta description";Page.MetaKeywords = "this is a meta keyword";Permanent RedirectResponse.RedirectPermanent(url); //issues HTTP 301Browser Capabilities (updated for new browsers + mobile)HttpRequest.Browser.HttpBrowserCapabilities
Output CachingProvider-based<!--web.config--><caching>   <outputCachedefaultProvider="AspNetInternalProvider"> <providers>       <add name="DiskCache"           type="Test.OutputCacheEx.DiskOutputCacheProvider, DiskCacheProvider"/>     </providers>   </outputCache> </caching> <%--Configure cache provider per page/control--%><%@ OutputCache Duration="60" VaryByParam="None"  providerName="DiskCache" %>?
ExtensibilityNewly extensible:Object CachingSystem.Runtime.CachingInvalid Path CharactersRequest ValidationEncoding<httpRuntimeencoderType="Samples.MyCustomEncoder, Samples"  /> Browser Capabilities
ControlsNewQueryExtenderImprovedListViewFormViewPagingOuter tablesHidden DIV CSS
Client-side librariesMicrosoft Ajax Libraries are dead*Long live jQueryWhat does it mean?For new client-side development, use jQuery*NOTE: jQuery ships with ASP.NET 4
Dynamic DataCore benefits:Model-driven validationField Templates//Enable via CodeGridView1.EnableDynamicData(typeof(Product), 			new { ProductName = "DefaultName" });<!--OR Enable declaratively on page-%><asp:DynamicDataManager ID="DynamicDataManager1" runat="server"  AutoLoadForeignKeys="true">   <DataControls>     <asp:DataControlReferenceControlID="GridView1" />   </DataControls> </asp:DynamicDataManager> Now more flexible!
jQuery & MVCBaked-in to ASP.NET
What’s NextRazor & WebMatrix
For your research…Changes to control renderingNew control featuresClient controls & Ajax librariesIIS changesVS 2010 changesASP.NET MVC 2Windows Azure
It’s too much!
thanks!telerikwatch.com@toddanglinanglin@telerik.com

More Related Content

What's hot (20)

PPT
AngularJS for Legacy Apps
Peter Drinnan
 
PPTX
High Performance JavaScript (CapitolJS 2011)
Nicholas Zakas
 
PPTX
High Performance Snippets
Steve Souders
 
PDF
Booting up with polymer
Marcus Hellberg
 
PPTX
HTTPS and HTTP/2
MatthewWalker9
 
PDF
Nuxt.JS Introdruction
David Ličen
 
PDF
Mobile web apps in pure Java
Thomas Mattsson
 
PPT
ASP.NET AJAX with Visual Studio 2008
Caleb Jenkins
 
PDF
Introduction to angular js july 6th 2014
Simona Clapan
 
PPTX
Don't Over-React - just use Vue!
Raymond Camden
 
PDF
The Complementarity of React and Web Components
Andrew Rota
 
PPTX
How fast are we going now?
Steve Souders
 
PPTX
Spring Boot & WebSocket
Ming-Ying Wu
 
PDF
Aleksey Bogachuk - "Offline Second"
IT Event
 
PPTX
Polymer / WebComponents
Arnaud Kervern
 
PDF
WEB SOCKET 應用
Jerromy Lee
 
PDF
Real World Progressive Web Apps (Building Flipkart Lite)
Abhinav Rastogi
 
PDF
State of the resource timing api
Aaron Peters
 
PDF
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
민태 김
 
KEY
HTML5 Video Player - HTML5 Dev Conf 2012
steveheffernan
 
AngularJS for Legacy Apps
Peter Drinnan
 
High Performance JavaScript (CapitolJS 2011)
Nicholas Zakas
 
High Performance Snippets
Steve Souders
 
Booting up with polymer
Marcus Hellberg
 
HTTPS and HTTP/2
MatthewWalker9
 
Nuxt.JS Introdruction
David Ličen
 
Mobile web apps in pure Java
Thomas Mattsson
 
ASP.NET AJAX with Visual Studio 2008
Caleb Jenkins
 
Introduction to angular js july 6th 2014
Simona Clapan
 
Don't Over-React - just use Vue!
Raymond Camden
 
The Complementarity of React and Web Components
Andrew Rota
 
How fast are we going now?
Steve Souders
 
Spring Boot & WebSocket
Ming-Ying Wu
 
Aleksey Bogachuk - "Offline Second"
IT Event
 
Polymer / WebComponents
Arnaud Kervern
 
WEB SOCKET 應用
Jerromy Lee
 
Real World Progressive Web Apps (Building Flipkart Lite)
Abhinav Rastogi
 
State of the resource timing api
Aaron Peters
 
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
민태 김
 
HTML5 Video Player - HTML5 Dev Conf 2012
steveheffernan
 

Viewers also liked (7)

PPTX
Edge of the Web
Todd Anglin
 
PPT
HTML5 Mullet: Forms & Input Validation
Todd Anglin
 
PDF
Project guidance for MSc Computer Science students
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
The Rich Standard: Getting Familiar with HTML5
Todd Anglin
 
PPTX
Making HTML5 Work Everywhere
Todd Anglin
 
PPTX
5 Tips for Better JavaScript
Todd Anglin
 
PPTX
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
Todd Anglin
 
Edge of the Web
Todd Anglin
 
HTML5 Mullet: Forms & Input Validation
Todd Anglin
 
Project guidance for MSc Computer Science students
baabtra.com - No. 1 supplier of quality freshers
 
The Rich Standard: Getting Familiar with HTML5
Todd Anglin
 
Making HTML5 Work Everywhere
Todd Anglin
 
5 Tips for Better JavaScript
Todd Anglin
 
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
Todd Anglin
 
Ad

Similar to What’s New in ASP.NET 4 (20)

PPSX
All About Asp Net 4 0 Hosam Kamel
Hosam Kamel
 
PPT
ASPNET Roadmap
ukdpe
 
PPT
ASP.NET 3.5 SP1 (VSLive San Francisco 2009)
Dave Bost
 
PPTX
Development In ASP.NET by Tanzim Saqib
guestf8f959
 
PPT
New Features Of ASP.Net 4 0
Dima Maleev
 
PPTX
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
Quek Lilian
 
PPT
Net Framework Hima
HimaVejella
 
PPT
Web 2.0 Tech Talk
pooyad
 
PPTX
ASP.NET 4.0 Cache Extensibility
akrakovetsky
 
PPT
ASP.NET 4.0 Demo
Abhishek Sur
 
PPT
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
PDF
ASP.NET Scalability - DDD7
Phil Pursglove
 
PDF
ASP.NET Overview - Alvin Lau
Spiffy
 
PPTX
ASP.NET Lecture 7
Julie Iskander
 
PPTX
Whats new in ASP.NET 4.0
py_sunil
 
PDF
ASP.NET Scalability - NxtGen Oxford
Phil Pursglove
 
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
PPTX
New Features of ASP.NET 4.0
Buu Nguyen
 
PDF
Tips and Tricks For Faster Asp.NET and MVC Applications
Sarvesh Kushwaha
 
PPTX
Web changesandasp4 upload
READIFY
 
All About Asp Net 4 0 Hosam Kamel
Hosam Kamel
 
ASPNET Roadmap
ukdpe
 
ASP.NET 3.5 SP1 (VSLive San Francisco 2009)
Dave Bost
 
Development In ASP.NET by Tanzim Saqib
guestf8f959
 
New Features Of ASP.Net 4 0
Dima Maleev
 
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
Quek Lilian
 
Net Framework Hima
HimaVejella
 
Web 2.0 Tech Talk
pooyad
 
ASP.NET 4.0 Cache Extensibility
akrakovetsky
 
ASP.NET 4.0 Demo
Abhishek Sur
 
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
ASP.NET Scalability - DDD7
Phil Pursglove
 
ASP.NET Overview - Alvin Lau
Spiffy
 
ASP.NET Lecture 7
Julie Iskander
 
Whats new in ASP.NET 4.0
py_sunil
 
ASP.NET Scalability - NxtGen Oxford
Phil Pursglove
 
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
New Features of ASP.NET 4.0
Buu Nguyen
 
Tips and Tricks For Faster Asp.NET and MVC Applications
Sarvesh Kushwaha
 
Web changesandasp4 upload
READIFY
 
Ad

More from Todd Anglin (11)

PDF
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
 
PPTX
Developing a Modern Mobile App Strategy
Todd Anglin
 
PPTX
50in50: Resources for HTML5, CSS3, & JavaScript Developers
Todd Anglin
 
PDF
Using HTML5 to Build Mobile Apps
Todd Anglin
 
PPTX
HTML5 and CSS3 Techniques You Can Use Today
Todd Anglin
 
PPTX
HTML5 for Tablets and Mobile
Todd Anglin
 
PPTX
Accelerated Adoption: HTML5 and CSS3 for ASP.NET Developers
Todd Anglin
 
PPTX
Doing More with LESS for CSS
Todd Anglin
 
PPT
Building RESTful Applications with OData
Todd Anglin
 
PPT
Building a Testable Data Access Layer
Todd Anglin
 
PPTX
HTML5 and CSS3 Techniques You Can Use Today
Todd Anglin
 
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
 
Developing a Modern Mobile App Strategy
Todd Anglin
 
50in50: Resources for HTML5, CSS3, & JavaScript Developers
Todd Anglin
 
Using HTML5 to Build Mobile Apps
Todd Anglin
 
HTML5 and CSS3 Techniques You Can Use Today
Todd Anglin
 
HTML5 for Tablets and Mobile
Todd Anglin
 
Accelerated Adoption: HTML5 and CSS3 for ASP.NET Developers
Todd Anglin
 
Doing More with LESS for CSS
Todd Anglin
 
Building RESTful Applications with OData
Todd Anglin
 
Building a Testable Data Access Layer
Todd Anglin
 
HTML5 and CSS3 Techniques You Can Use Today
Todd Anglin
 

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 

What’s New in ASP.NET 4

Editor's Notes

  • #2: Getting the Most of Out of What&apos;s New in ASP.NET 4.0With the recent release of ASP.NET 4.0, there are many new tools in the WebForms developer toolbox that make it possible to build faster, more standards-compliant web applications. In this session, you&apos;ll be introduced to all of the new major features in ASP.NET 4.0 and shown how these features can be leveraged to build better WebForms applications. From improved ViewState handling to powerful control over client IDs and caching, this session is your primer for making the upgrade to 4.0.
  • #3: Bogus chart – based on “research” by Wiman &amp; Meirhenry, and Edgar Dale 1960Research since proven to be made-up. Still, fun slide…
  • #9: jQuery is increasingly the “baseline” JavaScript experience
  • #10: TBL Server Info: http://thelongestlistofthelongeststuffatthelongestdomainnameatlonglast.com/first242.html(Cost: $6500, Type: NeXTcube, Online: Aug 1991)Mosaic: http://www.ncsa.illinois.edu/Projects/mosaic.htmlIE3 introduces first real support for CSS (1996): http://en.wikipedia.org/wiki/Internet_Explorer_3
  • #17: Focus: giving web forms developers more controlFormView: RenderTable=FalseListView: No longer requires LayoutTemplateViewSateMode: Enabled,Disabled,Inherit(default)ClientIdMode: Legacy (tmpName),Static,Predictable,Inherit(default)URLs: Routing engine, Page.RouteData, RouteParameter for data source controlsSEO: Page.Description, Page.Keywords, Response.RedirectPermanentQueryExtender: New control for Iqueryable filtersBrowser Capabilities Extensibilty: better targeting for devicesOut-of-proc Session State compressionFeature highlights:Increased control over ViewStateImproved cachingClient-side focusTemplatesControlsDataContext
  • #21: http://www.west-wind.com/weblog/posts/54760.aspx (Good discussion of ClientIDMode on Rick’s blog)
  • #24: Extensible output cachinghttp://www.4guysfromrolla.com/articles/061610-1.aspx (Disk Cache Example Code)DEMOS: Custom cache provider, AppFabric distributed cache
  • #25: Extensible output cachingDEMOS: Custom cache provider, AppFabric distributed cache
  • #26: Talk about backwards compat: &lt;system.web&gt;  &lt;pages controlRenderingCompatibilityVersion=&quot;3.5&quot;/&gt;&lt;/system.web&gt;
  • #28: Custom field templateUsing declaratively in WebFormsMUST USE Dynamic control (DynamicField, DynamicControl, etc.)http://weblogs.asp.net/davidfowler/archive/2009/05/06/dynamic-data-preview-4.aspx (David Fowler on Dynamic Data)