Slideshow transcript
Slide 2: { Reach End-Users With Next Generation Web Applications } Jeff Blankenburg Developer Evangelist Microsoft Corporation
Slide 3: Web development has evolved so that developers are expected to deliver rich user experiences
Slide 4: { challenges } Are Everywhere…
Slide 6: Faster, Easier Development Less Effort, More Effect Functional testing for ASP.NET A powerful, new HTML designer AJAX and JavaScript CSS management Integrated code metrics JavaScript debugging and Intellisense® Improved performance and scalability profiling Better support for working with data ListView control LinqDataSource Breakthrough User Experiences ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc Nested master pages New ListView control
Slide 8: The Challenge HTML is getting more and more complicated – we need help! The Solution Visual Studio® 2008 provides a powerful new HTML designer that tames even the most complicated HTML; it includes A split view that enables you to see your HTML from a source and design perspective at the same time Nested master pages to help you factor your HTML more efficiently
Slide 10: The Challenge Cascading Style Sheets (CSS) are ubiquitous because they promote accessibility and standards compliance However, designer-generated CSS can be difficult/intimidating for developers to work with The Solution New features for working with CSS style sheets Intellisense for CSS Filtered lists of which styles are being in a page or selection Visually apply styles to elements Even the most complicated, designer-created CSS styles are now simple to work with
Slide 11: CSS styles used Split view that shows in page both markup and design
Slide 12: Intellisense that shows what CSS class names are available ‘Go to definition’ option enables you to go to source of CSS style from markup
Slide 13: The Challenge The Solution It’s always about data! Use LINQ directly in an ASP.NET page with LinqDatasource Just another data source, so it works with any ASP.NET control
Slide 14: { ASP.NET Support For LINQ }
Slide 15: The Challenge Languages like JavaScript are more and more popular Their type-less, dynamic nature presents challenges to traditional development activities like debugging and statement completion The Solution Visual Studio 2008 makes JavaScript a 1st class development experience with Syntax coloring Intellisense Debugging
Slide 17: The Challenge HTTP is a stateless protocol, so web applications must post back to servers to update themselves The user experience is degraded because the entire page must be re- drawn An unnecessarily high load is put on the server because the entire page must be rendered again Bandwidth is being wasted to send updates to elements that have not changed
Slide 18: UpdatePanel is the only change needed Core content stays the same – just located in UpdatePanel now
Slide 19: GET /de fault.as px HTTP/1.1 Ho s t: www.fabrikam.com Us e r-Ag e nt: Interne t Explo re r/7.0 imag e=/imag e s /ne wimage .gif&page=4&ite ms =s how_s ale s
Slide 20: The Challenge All my services are being re-written with WCF – how does my ASP.NET application call them? The Solution Visual Studio 2008 provides a new project item that creates a default AJAX-enabled WCF service Existing WCF services can be decorated with an attribute to convert their communication format to something that is AJAX friendly (i.e., JSON or REST) Also, in Visual Studio 2008, the ScriptManager supports the registration of WCF services as well ASMX
Slide 21: New Project Item Attribute that makes this WCF service AJAX-callable
Slide 22: { ASP.NET AJAX And Visual Studio 2008 }
Slide 23: The Challenge My ‘breakthrough’ only works for Internet Explorer; but my customers use other browsers too The Solution In Visual Studio 2008, ASP.NET AJAX provides client-script libraries that incorporate cross-browser ECMAScript (JavaScript) and dynamic HTML (DHTML) technologies; this technology is compatible with commonly used browsers such as Internet Explorer Mozilla Firefox Apple Safari
Slide 24: The Challenge AJAX-enabled web applications are very popular, but their asynchronous nature makes testing them very difficult The Solution Visual Studio 2008 Team System enables team members to target even the most complex AJAX applications – HTTP requests, whether user or script generated are captured as part of the web test
Slide 25: The Challenge Practicing formal Test Driven Development (TDD) is very demanding for even the most sophisticated of development tools The Solution Visual Studio 2008 Team System makes great strides towards making TDD more productive. These improvements include Better execution times Run tests Short cut keys to run tests Disable deployment Test inheritance Directly go to the point of failure
Slide 26: The Challenge Less than 15% of the world uses English as their everyday language The Solution Visual Studio 2008 and ASP.NET provide many different ways to ensure that your web application is ready for the world The ScriptManager supports a setting that enables client script to format a JavaScript Date or Number object based on a culture value; this does not require a post back to the server Localized resources can be included in a ScriptManager registered JavaScript file and used throughout your application
Slide 27: { Multi-Browser Support }
Slide 28: The Challenge How do developers know they are writing code that can be maintained and understood in the future? The Solution 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 Cyclometic complexity Maintainability index Inheritance depth Class coupling Lines of code
Slide 30: The Challenge Code reviews are time consuming, error prone and depends on ‘group’ knowledge The Solution Code analysis examines every path code might take; looking for known problems and concerns; This feature has been greatly enhanced in Visual Studio 2008 Better discoverability of the feature through the Developer top-level menu More flexible warning suppressions Code analysis report comparison Enhanced code analysis check-in policy Code-aware spell checker
Slide 31: The Challenge Understanding data gathered by a profiler is difficult and tedious The Solution In Visual Studio 2008 Team System, the industrial strength profiler has been enhanced across the board; this includes New data collection control WCF support However, probably its most notable features is its ability to visually compare performance data
Slide 32: Compare 2 Dynamically control performance how performance reports against data is gathered each other Insert ‘marks’ which help you correlate data
Slide 33: Faster, easier development Less effort, more effect Functional testing for ASP.NET A powerful, new HTML designer AJAX and JavaScript CSS management Integrated code metrics JavaScript debugging and Intellisense® Improved performance and scalability profiling Better support for working with data ListView control LinqDataSource Breakthrough user experiences ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc Nested master pages New ListView control
Slide 34: Install Visual Studio 2008 Trial version available http://msdn.microsoft.com/vstudio Get the latest on ASP.NET http://www.asp.net/ Download Starter kits, hands-on-labs and videos http://msdn.microsoft.com/vstudio Evaluation material at http://www.microsoft.com/vstudio
Slide 35: © 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.



Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 3 (more)