Upload
readify
View
566
Download
4
Tags:
Embed Size (px)
Citation preview
ASP.net 4 and web devin VS2010Alex Mackey
{ display: properly;}
IDE changesJavascript intellisense, jQuery integration, designer, improved CSS 2.1 support, new project types
ASP.net 4ClientId & Viewstate changes, routing, caching accessibility, config simplification, deployment and lots more
Agenda
don’t think that these are all the web
changes in .net 4..
• 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
About me
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 overClient 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<t>
Lazy loading
visual studiodemos
ASP.net 4
is asp.netdead/dying?
ASP.net 4features demo
• Extensible caching, encoding and request validation• Expand range of allowed url types
maxRequestPathLength and requestPathInvalidChars• Caching moved to System.Runtime.Caching.dll• Auto start (IIS 7.5 Server 2008 R2)• Compare validator supports Time & DateTime
Other ASP.net changes
renderingdemos
web.configtransform demos
Locator Descriptionxdt:Locator=“Match(attributeName)” Can accept comma seperated names of
the attributesxdt: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)"
Transform Descriptionxdt: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
msDeploydemos
Performance
App startup performance
blogengine
dasblog
dotnetnuke
screwturnwiki
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
.net 3.5sp1
.net 4
% time in GC v3.5: 11.1 seconds
v4: 7.9
EvolutionNot
Revolution
• Great Javascript Intellisense• ASP.net fixes some old bugs• Cleaner HTML• New routing and extensible
caching • Fantastic deployment
Summary
http://www.asp.net/learn/whitepapers/aspnet4http://blog.hmobius.comhttp://phrogz.net/js/classes/OOPinJS2.htmlhttp://msdn.microsoft.com/en-us/library/s57a598e.aspxhttp://msdn.microsoft.com/en-us/library/ee410579.aspxhttp://live.visitmix.com/MIX10/Sessions/FT03http://vishaljoshi.blogspot.com/2009/03/how-does-web-deployment-with-vs-10.htmlhttp://www.iis.net/download/webdeployhttp://www.hanselman.com/blog/WebDeploymentMadeAwesomeIfYoureUsingXCopyYoureDoingItWrong.aspx
Advanced Javascript by John Resig
Further reading
TFS Unboxed
Learn what is involved in getting TFS 2010 up and running in your development environmentStephen Godbold & Dr Tafline Murnane
Monday 2 August 2010 Level 5, 4 Freshwater Place, SouthbankAM session: 8:30am – 12:15pmPM session: 1:15pm – 5:00pm $75 + GST (includes light refreshments)
Any questions?readify.net 1300 666 274