Reach End Users With Next Generation Web Applications

60 %
40 %
Information about Reach End Users With Next Generation Web Applications

Published on March 23, 2008

Author: jeffblankenburg

Source: slideshare.net

 

Jeff Blankenburg Developer Evangelist Microsoft Corporation { Reach End-Users With Next Generation Web Applications }

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

{ challenges } Are Everywhere…

 

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 Less Effort, More Effect ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc Nested master pages New ListView control Breakthrough User Experiences

Functional testing for ASP.NET AJAX and JavaScript

Integrated code metrics

Improved performance and scalability profiling

A powerful, new HTML designer

CSS management

JavaScript debugging and Intellisense®

Better support for working with data

ListView control

LinqDataSource

ASP.NET AJAX built-in

Enhanced AJAX functionality

Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc

Nested master pages

New ListView control

 

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

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

 

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

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

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

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

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 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

{ ASP.NET Support For LINQ }

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 Intellisense Debugging The Challenge The Solution

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

Intellisense

Debugging

 

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

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

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

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

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

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

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

{ ASP.NET AJAX And Visual Studio 2008 }

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

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

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

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

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

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

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

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

{ Multi-Browser Support }

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

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

 

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

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

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

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

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

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 Less effort, more effect ASP.NET AJAX built-in Enhanced AJAX functionality Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc Nested master pages New ListView control Breakthrough user experiences

Functional testing for ASP.NET AJAX and JavaScript

Integrated code metrics

Improved performance and scalability profiling

A powerful, new HTML designer

CSS management

JavaScript debugging and Intellisense®

Better support for working with data

ListView control

LinqDataSource

ASP.NET AJAX built-in

Enhanced AJAX functionality

Better interoperability with WebParts, <asp:treeview>, <asp:menu>, etc

Nested master pages

New ListView control

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

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

© 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

Related presentations