Guthrie on ASP.NET 4

More From This Author
See More

Windows Phone 7 Development (Jeff Wilcox)
Windows Phone 7 Development (Jeff...

In this session, Jeff Wilcox highlights the key strategies and tactics that he uses to develop Win Phone 7 apps -- including this blockbuster app 4th & Mayor

Inside Windows Azure (Mark Russinovich)
Inside Windows Azure (Mark...

In this session Mark Russinovich explains the architecture of Windows Azure and the magic that helps .NET developers scale in the cloud.

MVC3 (Scott Guthrie)
MVC3 (Scott Guthrie)

In this session, Scott Guthrie shares some insights about MVC 3 including newly released and upcoming features.

State of the Union (Scott Guthrie)
State of the Union (Scott Guthrie)

In this session, Scott Guthrie provides an overview of new and upcoming changes to the .NET ecosystem

Transcript

  1. ASP.NET Web Forms 4

    ASP.NET Web Forms 4

    Presenter's Notes: 6

  2. File->New Project

    File->New Project demo

    Presenter's Notes: Demos:Clean Web.ConfigStarter Project Template 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 7

  3. File->New Project

    File->New Project demo

    Presenter's Notes: Demos:Clean Web.ConfigStarter Project Template 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 7

  4. Code Optimized Web Profile

    Code Optimized Web Profile

    Presenter's Notes: 9

  5. Slide 10

    Presenter's Notes: 10

  6. Slide 11

    Presenter's Notes: Add Apply CSS as step 3 side to side slideSimplified markupTodo:Fix /Items indent Give asp:Menu an id--- Add a step 3 fpr CSS technique for super-attractive menus.. [[Look into ZEN-Garden stylesheets]] 11

  7. Improved VS10 Designer CSS Support

    Improved VS10 Designer CSS Support Attribute Selectorsh1[title]span[class=example]span[hello="Cleveland"][goodbye="Columbus"]a[rel~="copyright"]*[lang|="en"]"lang" pseudo-classhtml:lang(fr-ca)html:lang(de):lang(fr) > Q:lang(de) > Q

    Presenter's Notes: 12

  8. Improved VS10 Designer CSS Support

    ":first-child" pseudo-classdiv > p:first-childp:first-child em"inherit" value.container { color: inherit }#menu { font-family: inherit }border-color: transparentCorrect interpretation of invalid selectorsbody, ,p Improved VS10 Designer CSS Support

    Presenter's Notes: 13

  9. Smaller ViewState

    Smaller ViewState

    Presenter's Notes: 14

  10. Semantic URLs

    Semantic URLs /products.aspx?category=beverages /products/beverages

    Presenter's Notes: 15

  11. Semantic URLs

    Semantic URLs /products.aspx?category=beverages /products/beverages

    Presenter's Notes: 15

  12. URL Routing

    URL Routing demo

    Presenter's Notes: Demos:Clean Web.ConfigStarter Project Template 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 16

  13. Other SEO Improvements

    Other SEO Improvements New <meta> APIs on Pages:Page.DescriptionPage.KeywordsNew Response.Redirect() methods:Response.RedirectPermanent(newUrl)Response.RedirectToRoute(routeName)

    Presenter's Notes: 17

  14. IIS SEO Toolkit &URL Rewrite

    IIS SEO Toolkit &URL Rewrite demo

    Presenter's Notes: 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 18

  15. Slide 19

    <asp:chart runat="server" />

    Presenter's Notes: 19

  16. <asp:QueryExtender/> Control

    <asp:QueryExtender/> Control Works with EntityDataSource and LinqDataSourceEnables you to filter database resultsAccepts different types of expressions:Search RangePropertyCustom

    Presenter's Notes: 20

  17. ASP.NET Dynamic Data

    ASP.NET Dynamic Data New Field TemplatesUrl, Email, EnumerationEntity TemplatesEasily change look and feel for objects / tables Automatic templates for ListView and FormViewMany to Many SupportInheritance Support

    Presenter's Notes: 21

  18. Model-aware control validation

    Model-aware control validation Automatic UI support for validation rules GridView1.EnableDynamicData(typeof(Product));

    Presenter's Notes: 22

  19. Data Controls

    Data Controls demo

    Presenter's Notes: 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 23

  20. Data Controls

    Data Controls demo

    Presenter's Notes: 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 23

  21. Data

    Data

    Presenter's Notes: 24

  22. ADO.NET Entity Framework

    ADO.NET Entity Framework Major improvements with VS10 and .NET 4Improvements:Model First and POCOLazy LoadingPluralization/SingularizationExpanded LINQ supportForeign Keys Disconnected APIs to enable N-tier T4 Templates to customize code generation

    Presenter's Notes: 25

  23. AJAX

    AJAX

    Presenter's Notes: 26

  24. VS 2010 JavaScript Intellisense

    VS 2010 JavaScript Intellisense MuchImproved JavaScript IntelliSense

    Presenter's Notes: 27

  25. Seconds

    11.7s 4x faster 2x faster 4x faster 1.4x faster 2x faster 6x faster Seconds

    Presenter's Notes: We also support other frameworks heres intellisense update times for popular libsTODO Get Jeff King to do an update. High Priority, but use this as a fallback. Get the spreadsheet with the raw numbers for Jonah to play with. 28

  26. Slide 29

    Presenter's Notes: 29

  27. Microsoft AJAX CDN

    Microsoft AJAX CDN Free CDN hosting of AJAX library scriptsASP.NET AJAX 4jQuery and jQuery Validation<script src=http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js  type="text/javascript />Built-in support with <asp:scriptmanager>

    Presenter's Notes: 30

  28. Deployment

    Deployment

    Presenter's Notes: 31

  29. Debug

    Debug Release Staging

    Presenter's Notes: With the MS Deploy tool, deploying your site, including its database to your site is easier than ever. It uses IIS extensions.Take Project, Take DB, Package it up, ACL, Certs and automate deployment to a remote server.TODO:// Maybe show Web.Config with several sub nodes with the different config settings within the app based on the type of server that its deployed to staging , testing , production X sets of config. Jonah graphic showing deployment of lots of stuff onto a server.Solution Explorer Screenshot with 3 web configs to begin, and then fade to this visual.2. Right Click Publish on the Project in Solution explorerShow graphic --Then redraw this visual showing 3 servers test / debug / deploy also add a DB to each.TODO: Do we want to call out the VS part of this Deploy is integrated into the VS workflow. The other thing is the database. We should add the DB to the visual. 32

  30. Debug

    Debug Release Staging

    Presenter's Notes: With the MS Deploy tool, deploying your site, including its database to your site is easier than ever. It uses IIS extensions.Take Project, Take DB, Package it up, ACL, Certs and automate deployment to a remote server.TODO:// Maybe show Web.Config with several sub nodes with the different config settings within the app based on the type of server that its deployed to staging , testing , production X sets of config. Jonah graphic showing deployment of lots of stuff onto a server.Solution Explorer Screenshot with 3 web configs to begin, and then fade to this visual.2. Right Click Publish on the Project in Solution explorerShow graphic --Then redraw this visual showing 3 servers test / debug / deploy also add a DB to each.TODO: Do we want to call out the VS part of this Deploy is integrated into the VS workflow. The other thing is the database. We should add the DB to the visual. 32

  31. Debug

    Debug Release Staging

    Presenter's Notes: With the MS Deploy tool, deploying your site, including its database to your site is easier than ever. It uses IIS extensions.Take Project, Take DB, Package it up, ACL, Certs and automate deployment to a remote server.TODO:// Maybe show Web.Config with several sub nodes with the different config settings within the app based on the type of server that its deployed to staging , testing , production X sets of config. Jonah graphic showing deployment of lots of stuff onto a server.Solution Explorer Screenshot with 3 web configs to begin, and then fade to this visual.2. Right Click Publish on the Project in Solution explorerShow graphic --Then redraw this visual showing 3 servers test / debug / deploy also add a DB to each.TODO: Do we want to call out the VS part of this Deploy is integrated into the VS workflow. The other thing is the database. We should add the DB to the visual. 32

  32. Deployment

    Deployment demo

    Presenter's Notes: 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 33

  33. Deployment

    Deployment demo

    Presenter's Notes: 5/21/2010 7:46 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 33

  34. TFS 2010 Improvements

    TFS 2010 Improvements Easy to install and configureLess than 20 minutes setup experienceNow runs on Windows client and Domain ControllersNow supports SQL Express as an optionProvides integrated team serverSource controlsBug / work item trackingAutomated build server w/ continuous integration supportInexpensiveNow included with all MSDN subscriptions

    Presenter's Notes: 34

  35. Lots of other cool things

    Lots of other cool things VB, C# and F# language improvementsWPF and SilverlightWindows FormsSharePointWCF and WorkflowParallel Extensions Code Contracts, MEF, Base Class LibrariesC++VSTS, Architect, Test and Enterprise features

    Presenter's Notes: 35

  36. VS 2010 and ASP.NET 4

    VS 2010 and ASP.NET 4 Now available for downloadMakes existing things better + cleanerReally nail common scenariosLots of new features to take advantage of

    Presenter's Notes: 36

Guthrie on ASP.NET 4
Scott Guthrie demonstrates key ASP.NET 4 improvements: improved VS10 designer, smaller viewstate, semantic URLs, SEO tookit, euery extender and more.