Download presentation
Presentation is loading. Please wait.
Published byDana Dalton Modified over 8 years ago
1
Web development with Visual Studio 2010 & ASP.net 4 Alex Mackey
2
{ display: properly; }
3
Agenda: IDE changes Javascript intellisense, jQuery integration, designer, improved CSS 2.1 support, new project types ASP.net 4 ClientId & Viewstate changes, routing, caching accessibility, config simplification, deployment and lots more
4
don’t think that these are all the web changes in.net 4..
5
About me ASP.net/SQL dev for last 9 years Previously lead dev on number of health care applications in UK, Ireland and Middle East MVP Recently started with Readify Organized DDD Melbourne and run DevEve.net
6
ASP.net Parallel extensions ASP.net MVC Silverlight 3 WPF 4 Mult itouch support Win7 Support Dynamic Language Runtime MEF Workflow Flowchart Better standards support Multi monitor support Biginteger Side by side execution CLR Background GC Parallel debugging windows Config less WCF Discoverable services Transparency model Tuple DynamicObject IronPython F# ExpandoObject Task Extensibility REST toolkit Element to element binding Concurrent collections Consume first mode Entity Framework 2 Pluralization Oslo Azure Cloud Computing SQL Azure Corrallated messaging Dynamic Compress viewstate Control over Client Id’s Extensible caching Provider based model Client profile Client side data binding Variance Optional params Named params Co-eveloution of VB & C# Historical debuging No PIA’s Model first development Iron Ruby Lazy Lazy loading
9
visual studio demos
10
Awesome multi targeting
12
ASP.net 4
13
is asp.net dead/dying?
15
ASP.net 4 features demo
16
Other ASP.net changes Extensible caching, encoding and request validation Expand range of allowed url types maxRequestPathLength and requestPathInvalidChars Caching moved to System.Runtime.Caching.dll Auto start web applications (IIS 7.5 on Windows Server 2008 R2) Compare validator supports Time & DateTime
17
renderingdemos
20
web.config transform demos
21
LocatorDescription xdt:Locator=“Match(attributeName)”Can accept comma seperated names of the attributes xdt:Locator=“Condition(xPath Predicate)”Can take any Xpath predicates like xdt:Locator="Condition(@name=’Northwind’ or @providerName=’ System.Data.SqlClient’)" xdt:Locator=“Xpath(/configuration/…)”Can take any complicated Xpath like "XPath(//system.web)"
22
TransformDescription xdt:Transform=“Replace”Replaces the first matched node xdt:Transform=“Remove”Removes the first matched node xdt:Transform=“RemoveAll”Removes all the matching nodes xdt:Transform=“Insert”Inserts the node at the end xdt:Transform=“SetAttributes(attributeNames)”Creates or changes values of the existing attributes xdt:Transform=“RemoveAttributes(attributeNames)”Removes the attributes if they exist xdt:Transform=“InsertBefore(XPath)”Inserts the node on the provided Xpath xdt:Transform=“InsertAfter(XPath)”Inserts the node on the provided XPath
23
msDeploydemos
24
Performance
25
http://www.hanselman.com/blog/NET4WebApplicationStartupTime.aspx
27
% time in GC v3.5: 11.1 seconds v4: 7.9
29
Evolution Not Revolution
30
Summary Great Javascript Intellisense support ASP.net fixes some old bugs Cleaner HTML New routing and extensible caching Fantastic deployment
31
Further reading http://www.asp.net/learn/whitepapers/aspnet4 http://blog.hmobius.com http://phrogz.net/js/classes/OOPinJS2.html http://msdn.microsoft.com/en-us/library/s57a598e.aspx http://msdn.microsoft.com/en-us/library/ee410579.aspx http://live.visitmix.com/MIX10/Sessions/FT03 http://vishaljoshi.blogspot.com/2009/03/how-does-web- deployment-with-vs-10.html http://www.iis.net/download/webdeploy http://www.hanselman.com/blog/WebDeploymentMadeAwesome IfYoureUsingXCopyYoureDoingItWrong.aspx Advanced Javascript by John Resig
32
* Offer ends 4 June at 12am AEST. Conditions Apply.
33
Any questions? readify.net 1300 666 274 simpleIsBest.co.uk alexjmackey@gmail.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.