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

PPTX
Google Page Insights and Magento 2 — Sergey Nezbritskiy | Magento Meetup Onli...
PPTX
SQL Server - CLR integration
PPTX
Magento NodeJS Microservices — Yegor Shytikov | Magento Meetup Online #11
PPTX
PPTX
Web Front End Performance
PDF
JavaScript Libraries: The Big Picture
PPTX
How to Install Magento on Google Cloud Engine (GCE)
PDF
Building Next Generation Real-Time Web Applications using Websockets
Google Page Insights and Magento 2 — Sergey Nezbritskiy | Magento Meetup Onli...
SQL Server - CLR integration
Magento NodeJS Microservices — Yegor Shytikov | Magento Meetup Online #11
Web Front End Performance
JavaScript Libraries: The Big Picture
How to Install Magento on Google Cloud Engine (GCE)
Building Next Generation Real-Time Web Applications using Websockets

What's hot (20)

PPT
AngularJS for Legacy Apps
PPTX
High Performance JavaScript (CapitolJS 2011)
PPTX
High Performance Snippets
PDF
Booting up with polymer
PPTX
HTTPS and HTTP/2
PDF
Nuxt.JS Introdruction
PDF
Mobile web apps in pure Java
PPT
ASP.NET AJAX with Visual Studio 2008
PDF
Introduction to angular js july 6th 2014
PPTX
Don't Over-React - just use Vue!
PDF
The Complementarity of React and Web Components
PPTX
How fast are we going now?
PPTX
Spring Boot & WebSocket
PDF
Aleksey Bogachuk - "Offline Second"
PPTX
Polymer / WebComponents
PDF
WEB SOCKET 應用
PDF
Real World Progressive Web Apps (Building Flipkart Lite)
PDF
State of the resource timing api
PDF
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
KEY
HTML5 Video Player - HTML5 Dev Conf 2012
AngularJS for Legacy Apps
High Performance JavaScript (CapitolJS 2011)
High Performance Snippets
Booting up with polymer
HTTPS and HTTP/2
Nuxt.JS Introdruction
Mobile web apps in pure Java
ASP.NET AJAX with Visual Studio 2008
Introduction to angular js july 6th 2014
Don't Over-React - just use Vue!
The Complementarity of React and Web Components
How fast are we going now?
Spring Boot & WebSocket
Aleksey Bogachuk - "Offline Second"
Polymer / WebComponents
WEB SOCKET 應用
Real World Progressive Web Apps (Building Flipkart Lite)
State of the resource timing api
웹을 지탱하는 차세대 기술 @한국웹20주년 컨퍼런스
HTML5 Video Player - HTML5 Dev Conf 2012
Ad

Viewers also liked (7)

PPTX
Edge of the Web
PPT
HTML5 Mullet: Forms & Input Validation
PDF
Project guidance for MSc Computer Science students
PPTX
The Rich Standard: Getting Familiar with HTML5
PPTX
Making HTML5 Work Everywhere
PPTX
5 Tips for Better JavaScript
PPTX
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
Edge of the Web
HTML5 Mullet: Forms & Input Validation
Project guidance for MSc Computer Science students
The Rich Standard: Getting Familiar with HTML5
Making HTML5 Work Everywhere
5 Tips for Better JavaScript
HTML5 Bootcamp: Essential HTML, CSS, & JavaScript
Ad

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

PPSX
All About Asp Net 4 0 Hosam Kamel
PPT
ASPNET Roadmap
PPT
ASP.NET 3.5 SP1 (VSLive San Francisco 2009)
PPTX
Development In ASP.NET by Tanzim Saqib
PPT
New Features Of ASP.Net 4 0
PPTX
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
PPT
Net Framework Hima
PPT
Web 2.0 Tech Talk
PPTX
ASP.NET 4.0 Cache Extensibility
PPT
ASP.NET 4.0 Demo
PPT
Daniel Egan Msdn Tech Days Oc
PDF
ASP.NET Scalability - DDD7
PDF
ASP.NET Overview - Alvin Lau
PPTX
ASP.NET Lecture 7
PPTX
Whats new in ASP.NET 4.0
PDF
ASP.NET Scalability - NxtGen Oxford
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PPTX
New Features of ASP.NET 4.0
PDF
Tips and Tricks For Faster Asp.NET and MVC Applications
PPTX
Web changesandasp4 upload
All About Asp Net 4 0 Hosam Kamel
ASPNET Roadmap
ASP.NET 3.5 SP1 (VSLive San Francisco 2009)
Development In ASP.NET by Tanzim Saqib
New Features Of ASP.Net 4 0
Vs2010 Aspnet MSP Bootcamp_MVP Ngan Seok Chern
Net Framework Hima
Web 2.0 Tech Talk
ASP.NET 4.0 Cache Extensibility
ASP.NET 4.0 Demo
Daniel Egan Msdn Tech Days Oc
ASP.NET Scalability - DDD7
ASP.NET Overview - Alvin Lau
ASP.NET Lecture 7
Whats new in ASP.NET 4.0
ASP.NET Scalability - NxtGen Oxford
Migrating To Visual Studio 2008 & .Net Framework 3.5
New Features of ASP.NET 4.0
Tips and Tricks For Faster Asp.NET and MVC Applications
Web changesandasp4 upload

More from Todd Anglin (11)

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

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced IT Governance
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced IT Governance
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx

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)