Next Generation Web Apps with VS08 and .NET 3.5


Published on

This was my presentation deck from the Oklahoma City .NET Developer Group meeting on Sept 8, 2008. The demo can be downloaded from

Published in: Technology
1 Comment
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Next Generation Web Apps with VS08 and .NET 3.5

    1. Chris Koenig Developer Evangelist
    2. Web development has evolved so that developers are expected to deliver rich user experiences
    4. <ul><li>Visual Studio 2008 </li></ul><ul><ul><li>Multi-targeting </li></ul></ul><ul><ul><li>Web Page Designer / Split-View Editor </li></ul></ul><ul><ul><li>CSS Management Tools </li></ul></ul><ul><ul><li>JavaScript Intellisense & Debugging </li></ul></ul><ul><ul><li>Visual Studio Tools for Office </li></ul></ul><ul><li>.NET 3.5 SP1 </li></ul><ul><ul><li>ADO.NET Entity Framework / Entity Data Model </li></ul></ul><ul><ul><li>ADO.NET Data Services </li></ul></ul><ul><ul><li>ASP.NET Dynamic Data </li></ul></ul><ul><li>Visual Studio Team System </li></ul><ul><ul><li>Unit / Web / Load Testing </li></ul></ul><ul><ul><li>Code Metrics / Code Coverage </li></ul></ul>
    5. <ul><ul><li>HTML is getting more and more complicated – we need help! </li></ul></ul><ul><ul><li>Visual Studio® 2008 provides a powerful new HTML designer that tames even the most complicated HTML; it includes </li></ul></ul><ul><ul><li>A split view that enables you to see your HTML from a source and design perspective at the same time. </li></ul></ul><ul><ul><li>Nested master pages to help you factor your HTML more efficiently </li></ul></ul>The Challenge The Solution
    6. <ul><ul><li>Cascading Style Sheets (CSS) are ubiquitous because they promote accessibility and standards compliance </li></ul></ul><ul><ul><li>However, designer-generated CSS can be difficult/intimidating for developers to work with </li></ul></ul><ul><ul><li>New features for working with CSS style sheets </li></ul></ul><ul><ul><li>Intellisense for CSS </li></ul></ul><ul><ul><li>Filtered lists of which styles are being in a page or selection </li></ul></ul><ul><ul><li>Visually apply styles to elements </li></ul></ul><ul><ul><li>Even the most complicated, designer-created CSS styles are now simple to work with </li></ul></ul>The Challenge The Solution
    7. <ul><ul><li>Languages like JavaScript are more and more popular </li></ul></ul><ul><ul><li>Their type-less, dynamic nature presents challenges to traditional development activities like debugging and statement completion </li></ul></ul><ul><ul><li>Visual Studio 2008 makes JavaScript a 1st class development experience with </li></ul></ul><ul><ul><li>Syntax coloring </li></ul></ul><ul><ul><li>Intellisense </li></ul></ul><ul><ul><li>Debugging </li></ul></ul>The Challenge The Solution
    8. <ul><ul><li>Visual Studio 2008 integrates and enhances ASP.NET AJAX: </li></ul></ul><ul><ul><li>Adding UpdatePanels and ScriptManagers to an existing ASP.NET application can dramatically decrease the number of post backs </li></ul></ul><ul><ul><li>All of the ASP.NET AJAX 1.0 controls and functionality are part of the tool box </li></ul></ul><ul><ul><li>ASP.NET AJAX Script Control Library available as a free download from CodePlex </li></ul></ul><ul><ul><li>The following new Project Items have been added: </li></ul></ul><ul><ul><li>AJAX Master Page </li></ul></ul><ul><ul><li>AJAX Client Library </li></ul></ul><ul><ul><li>AJAX Web Form </li></ul></ul><ul><ul><li>AJAX Client Control </li></ul></ul><ul><ul><li>AJAX Client Behavior Control </li></ul></ul><ul><ul><li>AJAX enabled WCF Service </li></ul></ul>The Solution
    9. <ul><ul><li>Add common features to AJAX applications with no code required </li></ul></ul><ul><ul><li>Free open source download from CodePlex </li></ul></ul><ul><ul><li>Sample site is available for viewing </li></ul></ul><ul><ul><li>Lots of tutorials, samples, documents and forums available </li></ul></ul><ul><ul><li>Write your own Extenders! </li></ul></ul>The Solution
    11. <ul><ul><li>My customers are demanding more from my web UIs - how to I take advantage of high-definition video and rich interactive applications in ASP.NET? </li></ul></ul><ul><ul><li>Microsoft Silverlight provides a cross-browser, cross-platform, cross-device framework for building rich interactive applications on the web </li></ul></ul><ul><ul><li>Supports high-definition video via the VC-1 codec </li></ul></ul><ul><ul><li>Tooling support in Visual Studio 2008 and Expression Studio create a rich design and development experience </li></ul></ul><ul><ul><li>Silverlight Hosting offers high-bandwidth, high-quality streaming at low cost </li></ul></ul><ul><ul><li>DeepZoom provides the ability to smoothly present and navigate large amounts of visual information (images) regardless of the size of the data, and optimizing the bandwidth available to download it. </li></ul></ul>The Challenge The Solution
    12. <ul><li>2D, Graphics </li></ul><ul><li>Audio, Video </li></ul><ul><li>Animations </li></ul><ul><li>Text, Text Input* </li></ul><ul><li>Controls* </li></ul><ul><li>Layout* </li></ul><ul><li>Styles/Templates* </li></ul><ul><li>Data Binding* </li></ul><ul><li>Networking </li></ul><ul><ul><li>HTTP/S and Sockets* </li></ul></ul><ul><li>.NET Support* </li></ul><ul><ul><li>C# and VB.NET* </li></ul></ul><ul><ul><li>Python and Ruby* </li></ul></ul><ul><li>LINQ* </li></ul><ul><li>XML APIs* </li></ul><ul><li>Generics* </li></ul><ul><li>HTML Integration* </li></ul><ul><ul><li>JSON Serializer </li></ul></ul><ul><li>Local storage* </li></ul><ul><li>Crypto APIs (AES)* </li></ul><ul><li>Threading* </li></ul>* New in Silverlight 2
    13. <ul><ul><li>Expression Blend and Visual Studio 2008 work better together </li></ul></ul><ul><ul><li>Based on a common language – XAML </li></ul></ul><ul><ul><li>Tooling supports editing of artifacts from within both environments </li></ul></ul><ul><ul><li>Getting information from designers to developers is a manual, painful process </li></ul></ul>The Challenge The Solution
    14. <ul><ul><li>Visual Studio 2008 SP1 Delivers </li></ul></ul><ul><ul><li>Improved WPF designers </li></ul></ul><ul><ul><li>SQL Server 2008 Support </li></ul></ul><ul><ul><li>ADO.NET Entity Designer </li></ul></ul><ul><ul><li>TFS usability and performance improvements </li></ul></ul><ul><ul><li>Improved AJAX and JavaScript support </li></ul></ul><ul><ul><li>.NET 3.5 SP1 Delivers </li></ul></ul><ul><ul><li>Improved WPF performance (20-45% without code changes) </li></ul></ul><ul><ul><li>ADO.NET Entity Framework / Entity Data Model </li></ul></ul><ul><ul><li>ASP.NET Dynamic Data, Routing Engine and ADO.NET Data Services </li></ul></ul><ul><ul><li>.NET 3.5 Client Profile </li></ul></ul>The Solution
    15. <ul><ul><li>It takes a lot of tedious code to expose my data model via REST accessible web services. </li></ul></ul><ul><ul><li>ADO.NET Data Services provides a simple to use scaffolding allowing you to easily expose your data model to the web </li></ul></ul><ul><ul><li>Extension of the ADO.NET Entity Framework or LINQ to SQL and WCF </li></ul></ul><ul><ul><li>Customization based on rules </li></ul></ul><ul><ul><li>Reduces the overall number of lines of code </li></ul></ul><ul><ul><li>Privides simple URI-based REST model for accessing data </li></ul></ul><ul><ul><li>Accessible by any REST client, including WCF </li></ul></ul>The Challenge The Solution
    16. <ul><ul><li>It takes a lot of tedious code to build data-driven web sites. </li></ul></ul><ul><ul><li>ASP.NET Dynamic Data, released as part of .NET 3.5 Service Pack 1 provides a scaffolding to quickly and easily build data-driven web sites but still allow for deep customization </li></ul></ul><ul><ul><li>Extension of the ADO.NET Entity Framework or LINQ to SQL, ASP.NET Routing Framework and ADO.NET Data Services </li></ul></ul><ul><ul><li>Customizable UI based on rules and templates </li></ul></ul><ul><ul><li>Reduces the overall number of lines of code </li></ul></ul><ul><ul><li>Get data-driven applications up and running quickly </li></ul></ul>The Challenge The Solution
    18. <ul><ul><li>AJAX-enabled web applications are very popular, but their asynchronous nature makes testing them very difficult </li></ul></ul><ul><ul><li>Practicing formal Test Driven Development (TDD) is very demanding for even the most sophisticated of development tools </li></ul></ul><ul><ul><li>Visual Studio 2008 Team System makes great strides towards making TDD more productive. These improvements include </li></ul></ul><ul><ul><li>Better Execution Times </li></ul></ul><ul><ul><li>Run Tests </li></ul></ul><ul><ul><li>Disable Deployment </li></ul></ul><ul><ul><li>Test Inheritance </li></ul></ul><ul><ul><li>Directly go to the Point of Failure </li></ul></ul><ul><ul><li>Visual Studio 2008 Team System enables captures HTTP requests whether user or script generated </li></ul></ul>The Challenge The Solution
    19. <ul><ul><li>How do developers know they are writing code that can be maintained and understood in the future? </li></ul></ul><ul><ul><li>Visual Studio 2008 Team System integrates sophisticated code metrics that enable developers to clearly understand how maintainable and complex the code they are building is; This understanding is gathered from the following metrics </li></ul></ul><ul><ul><li>Cyclometic complexity </li></ul></ul><ul><ul><li>Maintainability Index </li></ul></ul><ul><ul><li>Inheritance Depth </li></ul></ul><ul><ul><li>Class Coupling </li></ul></ul><ul><ul><li>Lines of code </li></ul></ul>The Challenge The Solution
    20. <ul><ul><li>Code reviews are time consuming, error prone and depends on ‘group’ knowledge </li></ul></ul><ul><ul><li>Code analysis examines every path code might take; looking for known problems and concerns; This feature has been greatly enhanced in Visual Studio 2008 </li></ul></ul><ul><ul><li>Better discoverability of the feature through the Developer top-level menu </li></ul></ul><ul><ul><li>More flexible warning suppressions </li></ul></ul><ul><ul><li>Code analysis report comparison </li></ul></ul><ul><ul><li>Enhanced code analysis check-in policy </li></ul></ul><ul><ul><li>Code-aware spell checker </li></ul></ul>The Challenge The Solution
    21. <ul><ul><li>Understanding data gathered by a profiler is difficult and tedious </li></ul></ul><ul><ul><li>In Visual Studio 2008 Team System, the industrial strength profiler has been enhanced across the board; this includes </li></ul></ul><ul><ul><li>New data collection control </li></ul></ul><ul><ul><li>WCF support </li></ul></ul><ul><ul><li>New ability to visually compare performance data </li></ul></ul>The Challenge The Solution
    23. <ul><li>Collaborate and communicate </li></ul><ul><li>Drive predictability </li></ul><ul><li>Manage team workflow </li></ul><ul><li>Use familiar tools </li></ul><ul><li>Ensure quality early and often </li></ul><ul><li>Integrate work frequently </li></ul><ul><li>Make real-time decisions </li></ul>
    24. Tester Developer Architect IT/Project Manager Business Analyst Database Professional Designer <ul><li>Lightweight, customizable process </li></ul><ul><li>Integrated quality tools for each role </li></ul><ul><li>Reduce defects and security vulnerabilities </li></ul><ul><li>Overcome complexity </li></ul><ul><li>Quality mindset </li></ul><ul><li>Culture of innovation </li></ul>Individual <ul><li>Collaboration </li></ul><ul><li>Transparency </li></ul><ul><li>Integration </li></ul>Team <ul><li>Clarity </li></ul><ul><li>Alignment </li></ul><ul><li>Efficienc y </li></ul>Organization
    26. <ul><li>Visual Studio 2008 </li></ul><ul><ul><li>Multi-targeting </li></ul></ul><ul><ul><li>Web Page Designer / Split-View Editor </li></ul></ul><ul><ul><li>CSS Management Tools </li></ul></ul><ul><ul><li>JavaScript Intellisense & Debugging </li></ul></ul><ul><ul><li>Visual Studio Tools for Office </li></ul></ul><ul><li>.NET 3.5 SP1 </li></ul><ul><ul><li>ADO.NET Entity Framework / Entity Data Model </li></ul></ul><ul><ul><li>ADO.NET Data Services </li></ul></ul><ul><ul><li>ASP.NET Dynamic Data </li></ul></ul><ul><li>Visual Studio Team System </li></ul><ul><ul><li>Unit / Web / Load Testing </li></ul></ul><ul><ul><li>Code Metrics / Code Coverage </li></ul></ul>
    28. <ul><li>Install Visual Studio 2008 Trial version available </li></ul><ul><li> </li></ul><ul><li>Get the latest on ASP.NET </li></ul><ul><li> </li></ul><ul><li>Download Starter kits, hands-on-labs and videos </li></ul><ul><ul><li> </li></ul></ul><ul><li>Get the latest on Silverlight </li></ul><ul><ul><li> </li></ul></ul><ul><li>Subscribe to my blog </li></ul><ul><li> </li></ul><ul><li> Tags </li></ul><ul><li> </li></ul>
    29. <ul><li>9/13/08 - Houston TechFest </li></ul><ul><li>9/23/08 - MSDN Unleashed & ArcReady </li></ul><ul><li>10/9/08 - Tulsa TechFest (2 days) </li></ul><ul><li>1/16/09 - We Are Microsoft </li></ul><ul><li>>>> <<< </li></ul>
    30. © 2008 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.