[2024]Digital Global Overview Report 2024 Meltwater.pdf
Visual Studio 2010 and ASP.Net 4
1. Visual Studio 2010 and ASP.NET 4 Lee Englestone presents.. www.manchesterdeveloper.com
2. The Evolution of .NET In the beginning (2002) there was.. From January 2006 there was.. By late 2007 we also had.. And on April 12th the world will know.. .NET 1.0 & 1.1 .NET 2.0 .NET 3.0 & 3.5 .NET 4 & VS2010
4. Overview 2 Years in development VS2010 ships with .NET 4 VS2010 ships with MVC 2 VS2010 ships with Silverlight 4 Launch worldwide April 12th
5. VS2010 General Built using WPF (Windows Presentation Foundation) Can undock windows Allows for multiple monitor development Add reference improved No longer stalls Visual Studio
6. .NET 4 .NET 1.0 Runtime & class library .NET 1.1 Runtime & class library .NET 2.0 Runtime & class library .NET 3.0 Class library .NET 3.5 Class library .NET 4.0 Runtime & class library 4.0 Runtime runs side by side with 2.0
8. Web.config Minimised by default (No need for additional 3.5 references) Multiple deployment configurations Web.Debug.config Web.Release.config Web.XXX.config
9. c# Optional and Named Parameters Optional parameters Public ShowProduct(intproductId = 0, int count=10){ …} Named parameters ShowProduct(productId:10);
11. Routing / SEO improvements products.aspx?category=bikes products/bikes Code sample Page.MetaKeywords Page.MetaDescription Response.RedirectPermanent Response.RedirectToRoute IIS 7 SEO Toolkit Plugin
12. ASP.NET WebForms 4 Markup emitted from Server controls tidied up No inline styles by default Improved css designer support Smaller viewstate by default Automatic Html Encoding <%=Heading%> <%: Heading%>
14. Modelling (Ultimate version only?) Create sequence diagram Dependency graphs Code gen from UML diagrams Dgml (xml) so can create own diagrams
15. Other features Web deployment packages Can deploy entire site Including running sql scripts and creating databases
16. Summary VS2010 / .NET 4 an exciting release Only covered some of the new features for web development More information http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx