Jeff King Program Manager, Microsoft [email protected] Session Code: WUX201 Overview of Talk ASP.NET supports several very different types of web applications.

Download Report

Transcript Jeff King Program Manager, Microsoft [email protected] Session Code: WUX201 Overview of Talk ASP.NET supports several very different types of web applications.

Jeff King
Program Manager, Microsoft
[email protected]
Session Code: WUX201
Overview of Talk
ASP.NET supports several very different types of web
applications
ASP.NET 3.5 Service Pack 1
Microsoft Entity Framework
ADO.NET Data Services
Dynamic Data
Microsoft AJAX Improvements
Browser History
Script Combining
WAP and Class Libraries in Express Edition
JScript Formatting
Multiple Control Selection
Visual Studio 2008 SP1
Design View Typing Performance
Classic ASP IntelliSense and Debugging
Dynamic Data Templates
SQL Server 2008 Support
JScript Support for Remote Paths
Faster switching to Design View
ASP.NET Web Forms
ASP.NET Web Forms
ASP.NET Web Forms 4.0 enables you to build
websites with more compelling front-end user
experiences.
ASP.NET Web Forms
With ASP.NET 4.0, you are in control:
Control Rendering
Control IDs
View State
Website URLs
XHTML and Accessibility
Code Snippets
Ctrl-K, X
Ctrl-K, S
Types of Code Snippets
HTML
div, table, img …
ASP.NET
scriptmanager, sqldatasource, formview …
ASP.NET AJAX
behavior, control …
JScript
function, forin …
FormView Improvements
<asp:FormView
ID="Formview1"
RenderTable="false"
runat="server">
ListView Improvements
<asp:ListView ID="Listview1" runat="server">
<LayoutTemplate>
<div id="itemContainer" runat="server" />
</LayoutTemplate>
<ItemTemplate>
<%# Eval("Title") %>
</ItemTemplate>
</asp:ListView>
Control Your View State
Control.ViewStateMode
Enabled
Disabled
Inherit (default)
Control Your Client IDs
Control.ClientIdMode
Legacy
Static
Predictable
Inherit (default)
Control Your Client IDs
<system.web>
<pages clientIdMode="Predictable">
</pages>
</system.web>
ASP.NET Routing for Search Engine
Optimization
Instead of:
http://YourSite.com/Search.aspx?query=cats
You can use:
http://YourSite.com/Search/cats
Other Search Engine Optimization
Improvements
Page.Description
Page.Keywords
Response.RedirectPermanent(new url)
Redirects
300 multiple choices (e.g. offer different
languages)
301 moved permanently
302 found (e.g. temporary redirect)
303 see other (e.g. for results of cgi-scripts)
307 temporary redirect
Web Standards
XHTML Standards
Strict or Transitional?
Accessibility Standards
Section 508, WCAG, ARIA?
QueryExtender Control
Works with EntityDataSource and
LinqDataSource
Enables you to filter database results
Accepts different types of expressions:
Search
Range
Property
Custom
ASP.NET Core Enhancements
Cache Extensibility
Create custom cache providers
Browser Capabilities Extensibility
Create custom browser capability providers
Session State Compression
Compress out-of-process session state
ASP.NET AJAX
ASP.NET AJAX
ASP.NET AJAX
Client-Side Templates
Client-Side Controls
Client-Side Data Binding
Read/Write Database Data
from the Browser
Cross-Browser Compatible
Not tied to ASP.NET
ASP.NET AJAX
Refactored Microsoft AJAX Library
MicrosoftAjaxCore.js
MicrosoftAjaxComponentModel.js
MicrosoftAjaxSerialization.js
MicrosoftAjaxGlobalization.js
MicrosoftAjaxHistory.js
MicrosoftAjaxNetwork.js
MicrosoftAjaxWebServices.js
MicrosoftAjaxApplicationServices.js
MicrosoftAjaxTemplates.js (New )
MicrosoftAjaxAdoNet.js (New)
ASP.NET AJAX
Learn more:
WUX315 Taking AJAX to the Next
Level
ASP.NET AJAX
Created by John Resig
Open Source
Microsoft Product support
Included with Visual Studio
Shipping right now with ASP.NET MVC
jQuery Intellisense
Supported in Visual Studio 2008
Supported in Visual Studio 2010
ASP.NET AJAX
Accordion
AlwaysVisibleControl
Animation
AutoComplete
Calendar
CascadingDropDown
CollapsiblePanel
ConfirmButton
ASP.NET AJAX
AjaxControlToolkitScriptFilesOnly.zip
ASP.NET MVC
ASP.NET MVC
Enables a clear separation of concerns
Enables testability including test-driven
development
Enables fine-grained control over HTML and
JavaScript
Learn More: WUX207 Introducing ASP.NET MVC
ASP.NET Dynamic Data
ASP.NET Dynamic Data
DynamicDataManager Control
DynamicHyperLink Control
Field Templates for Email and URL
Support for Inheritance and Many-to-Many
Relationships
Entity Templates
ASP.NET Dynamic Data
Entity Templates
ASP.NET Dynamic Data
Learn more:
WUX 302 Microsoft ASP.NET Data Access
Patterns for Success
Web Deployment
Learn more:
WUX 317 Easing ASP.NET Web Deployment with
Microsoft Visual Studio 2010 and MSDeploy
Conclusion
ASP.NET supports several very different types of web
applications
Conclusion
ASP.NET Web Forms 4.0:
Provides you with better control over the frontend user experience
Has several improvements for the sourcefocused developer
Puts you, the developer, in control of your HTML
markup and code
Conclusion
ASP.NET AJAX 4.0
Client-Side Templates and Controls
jQuery
New features coming with the AJAX Control
Toolkit
Conclusion
ASP.NET MVC
Enables a clear separation of concerns
Enables testability including test-driven
development
Enables fine-grained control over HTML and
JavaScript
Conclusion
ASP.NET Dynamic Data
Many new features
Entity Templates
Conclusion
ASP.NET MVC
Enables a clear separation of concerns
Enables testability including test-driven
development
Enables fine-grained control over HTML and
JavaScript
Conclusion
VISUAL STUDIO 2010
Web Authoring Productivity
HTML/JS Snippets
Dynamic IntelliSense for AJAX
Deployment
Web Configuration Transformations
One-Click Publishing
Resources
ASP.NET 4.0 and Visual Studio 2010 Web
Development Overview
http://www.asp.net/learn/whitepapers/
CodePlex ASP.NET Previews
http://www.CodePlex.com/AspNet
Visual Web Developer Team Blog
http://blogs.msdn.com/webdevtools/
Resources
www.microsoft.com/teched
www.microsoft.com/learning
Sessions On-Demand & Community
Microsoft Certification & Training Resources
http://microsoft.com/technet
http://microsoft.com/msdn
Resources for IT Professionals
Resources for Developers
www.microsoft.com/learning
Microsoft Certification and Training Resources
Complete an
evaluation on
CommNet and
enter to win!
© 2009 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.