Presentation is loading. Please wait.

Presentation is loading. Please wait.

Next Generation Web Applications Jay Schmelzer Group Program Manager – Visual Studio.

Similar presentations


Presentation on theme: "Next Generation Web Applications Jay Schmelzer Group Program Manager – Visual Studio."— Presentation transcript:

1

2 Next Generation Web Applications Jay Schmelzer Group Program Manager – Visual Studio

3 Web development has evolved so that developers are expected to deliver rich user experiences

4 { challenges } Are Everywhere…

5 Functional testing for ASP.NET AJAX and JavaScript Integrated code metrics Improved performance and scalability profiling Functional testing for ASP.NET AJAX and JavaScript Integrated code metrics Improved performance and scalability profiling Faster, Easier Development A powerful, new HTML designer CSS management JavaScript debugging and Intellisense® Better support for working with data ListView control LinqDataSource A powerful, new HTML designer CSS management JavaScript debugging and Intellisense® Better support for working with data ListView control LinqDataSource Less Effort, More Effect ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts,,, etc Nested master pages New ListView control ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts,,, etc Nested master pages New ListView control Breakthrough User Experiences

6 { ASP.NET Development with Visual Studio 2008 }

7 HTML is getting more and more complicated – we need help! 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 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 The Challenge The Solution

8

9 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 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 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 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 The Challenge The Solution

10 CSS styles used in page Split view that shows both markup and design

11 Intellisense that shows what CSS class names are available ‘Go to definition’ option enables you to go to source of CSS style from markup

12 It’s always about data! The Challenge Use LINQ directly in an ASP.NET page with LinqDatasource Just another data source, so it works with any ASP.NET control Use LINQ directly in an ASP.NET page with LinqDatasource Just another data source, so it works with any ASP.NET control The Solution

13 Name Title Group { ASP.NET Support For LINQ }

14 Languages like JavaScript are more and more popular Their type-less, dynamic nature presents challenges to traditional development activities like debugging and statement completion Languages like JavaScript are more and more popular Their type-less, dynamic nature presents challenges to traditional development activities like debugging and statement completion Visual Studio 2008 makes JavaScript a 1st class development experience with Syntax coloring IntellisenseDebugging Visual Studio 2008 makes JavaScript a 1st class development experience with Syntax coloring IntellisenseDebugging The Challenge The Solution

15

16 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 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 The Challenge

17 UpdatePanel is the only change needed Core content stays the same – just located in UpdatePanel now

18 image=/images/newimage.gif&page=4&items=show_sales GET /default.aspx HTTP/1.1 Host: www.fabrikam.com User-Agent: Internet Explorer/7.0

19 All my services are being re-written with WCF – how does my ASP.NET application call them? 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 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 The Challenge The Solution

20 New Project Item Attribute that makes this WCF service AJAX-callable

21 Name Title Group { ASP.NET AJAX And Visual Studio 2008 }

22 My ‘breakthrough’ only works for Internet Explorer; but my customers use other browsers too 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 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 The Challenge The Solution

23 AJAX-enabled web applications are very popular, but their asynchronous nature makes testing them very difficult 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 The Challenge The Solution

24 Practicing formal Test Driven Development (TDD) is very demanding for even the most sophisticated of development tools 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 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 The Challenge The Solution

25 Less than 15% of the world uses English as their everyday language 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 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 The Challenge The Solution

26 Name Title Group { Multi-Browser Support }

27 How do developers know they are writing code that can be maintained and understood in the future? 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 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 The Challenge The Solution

28

29 Code reviews are time consuming, error prone and depends on ‘group’ knowledge 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 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 The Challenge The Solution

30 Understanding data gathered by a profiler is difficult and tedious 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 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 The Challenge The Solution

31 Dynamically control how performance data is gathered. Insert ‘marks’ which help you correlate data Compare 2 performance reports against each other

32 Functional testing for ASP.NET AJAX and JavaScript Integrated code metrics Improved performance and scalability profiling Functional testing for ASP.NET AJAX and JavaScript Integrated code metrics Improved performance and scalability profiling Faster, Easier Development A powerful, new HTML designer CSS management JavaScript debugging and Intellisense® Better support for working with data ListView control LinqDataSource A powerful, new HTML designer CSS management JavaScript debugging and Intellisense® Better support for working with data ListView control LinqDataSource Less Effort, More Effect ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts,,, etc Nested master pages New ListView control ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts,,, etc Nested master pages New ListView control Breakthrough User Experiences

33 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

34 Email Me JaySch@Microsoft.com

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.


Download ppt "Next Generation Web Applications Jay Schmelzer Group Program Manager – Visual Studio."

Similar presentations


Ads by Google