Visual Studio 2010 and ASP.NET 4Lee Englestone presents..www.manchesterdeveloper.com
The Evolution of .NETIn 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
AgendaOverviewVS2010.NET 4
Overview2 Years in developmentVS2010 ships with .NET 4VS2010 ships with MVC 2VS2010 ships with Silverlight 4Launch worldwide April 12th
VS2010 GeneralBuilt using WPF (Windows Presentation Foundation)Can undock windowsAllows for multiple monitor developmentAdd reference improvedNo longer stalls Visual Studio
.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 library4.0 Runtime runs side by side with 2.0
VS2010 IntellisenseCode behind auto complete (.cs)Code Navigation ‘Navigate To’Ctrl + commaHighlight multiple instances (.cs)Box selectionSnippet auto complete (aspx)Javascript inference
Web.configMinimised by default(No need for additional 3.5 references)Multiple deployment configurationsWeb.Debug.configWeb.Release.configWeb.XXX.config
c# Optional and Named ParametersOptional parametersPublic ShowProduct(intproductId = 0, int count=10){	…}Named parametersShowProduct(productId:10);
VS2010 Debugging	Pin variables!!!View call hierarchyStep backwards
Routing / SEO improvementsproducts.aspx?category=bikesproducts/bikesCode samplePage.MetaKeywordsPage.MetaDescriptionResponse.RedirectPermanentResponse.RedirectToRouteIIS 7 SEO Toolkit Plugin
ASP.NET WebForms 4Markup emitted from Server controls tidied upNo inline styles by defaultImproved css designer supportSmaller viewstate by defaultAutomatic Html Encoding<%=Heading%><%: Heading%>
Charting ControlsIncluded with ASP.NET 4(Previously separate download)
Modelling (Ultimate version only?)Create sequence diagramDependency graphsCode gen from UML diagramsDgml (xml) so can create own diagrams
Other featuresWeb deployment packagesCan deploy entire siteIncluding running sql scripts and creating databases
SummaryVS2010 / .NET 4 an exciting releaseOnly covered some of the new features for web developmentMore informationhttp://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx

Visual Studio 2010 and ASP.Net 4

  • 1.
    Visual Studio 2010and ASP.NET 4Lee Englestone presents..www.manchesterdeveloper.com
  • 2.
    The Evolution of.NETIn 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
  • 3.
  • 4.
    Overview2 Years indevelopmentVS2010 ships with .NET 4VS2010 ships with MVC 2VS2010 ships with Silverlight 4Launch worldwide April 12th
  • 5.
    VS2010 GeneralBuilt usingWPF (Windows Presentation Foundation)Can undock windowsAllows for multiple monitor developmentAdd reference improvedNo longer stalls Visual Studio
  • 6.
    .NET 4.NET 1.0Runtime & 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 library4.0 Runtime runs side by side with 2.0
  • 7.
    VS2010 IntellisenseCode behindauto complete (.cs)Code Navigation ‘Navigate To’Ctrl + commaHighlight multiple instances (.cs)Box selectionSnippet auto complete (aspx)Javascript inference
  • 8.
    Web.configMinimised by default(Noneed for additional 3.5 references)Multiple deployment configurationsWeb.Debug.configWeb.Release.configWeb.XXX.config
  • 9.
    c# Optional andNamed ParametersOptional parametersPublic ShowProduct(intproductId = 0, int count=10){ …}Named parametersShowProduct(productId:10);
  • 10.
    VS2010 Debugging Pin variables!!!Viewcall hierarchyStep backwards
  • 11.
    Routing / SEOimprovementsproducts.aspx?category=bikesproducts/bikesCode samplePage.MetaKeywordsPage.MetaDescriptionResponse.RedirectPermanentResponse.RedirectToRouteIIS 7 SEO Toolkit Plugin
  • 12.
    ASP.NET WebForms 4Markupemitted from Server controls tidied upNo inline styles by defaultImproved css designer supportSmaller viewstate by defaultAutomatic Html Encoding<%=Heading%><%: Heading%>
  • 13.
    Charting ControlsIncluded withASP.NET 4(Previously separate download)
  • 14.
    Modelling (Ultimate versiononly?)Create sequence diagramDependency graphsCode gen from UML diagramsDgml (xml) so can create own diagrams
  • 15.
    Other featuresWeb deploymentpackagesCan deploy entire siteIncluding running sql scripts and creating databases
  • 16.
    SummaryVS2010 / .NET4 an exciting releaseOnly covered some of the new features for web developmentMore informationhttp://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx