microsoft asp.net 4.0 : what's next?

45

Upload: goodfriday

Post on 10-May-2015

693 views

Category:

Technology


0 download

DESCRIPTION

Come learn all about ASP.NET 4.0 and the new Microsoft Visual Studio improvements that will make you more productive. Hear how to build a simple video gallery Web site that takes advantage of new features to control the rendering of client ids and view state, and see how ASP.NET AJAX client-side templates and jQuery animations can be used to create a richly interactive Web application.

TRANSCRIPT

Page 1: Microsoft ASP.NET 4.0 : What's Next?
Page 2: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET 4.0: What’s Next?

Stephen WaltherSenior Program ManagerMicrosoft Corporation

Page 3: Microsoft ASP.NET 4.0 : What's Next?

Overview of Talk

ASP.NET supports several very different types of web applications

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 4: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET 3.5 Service Pack 1

Microsoft Entity FrameworkADO.NET Data ServicesDynamic DataMicrosoft AJAX Improvements

Browser HistoryScript Combining

Page 5: Microsoft ASP.NET 4.0 : What's Next?

Overview of Talk

Build a simple video gallery website:

Page 6: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Web Forms

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 7: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Web Forms

ASP.NET Web Forms 4.0 enables you to build websites with more compelling front-end user experiences.

Page 8: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Web Forms

Designer-focused DeveloperRapid application development with Visual Studio designer and toolsDrag-and-drop controls from toolbox

Page 9: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Web Forms

Source-focused developer:Likes to type out HTML tagsWrites JavaScript code by handWorried about every little angle bracket and pixel

Page 10: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Web Forms

With ASP.NET 4.0, you are in control:

Control RenderingControl IDsView StateWebsite URLsXHTML and Accessibility

Page 11: Microsoft ASP.NET 4.0 : What's Next?

Code Snippets

Ctrl-K, XCtrl-K, S

Page 12: Microsoft ASP.NET 4.0 : What's Next?

Types of Code Snippets

HTMLdiv, table, img …

ASP.NETscriptmanager, sqldatasource, formview …

ASP.NET AJAXbehavior, control …

JScriptfunction, forin …

Page 13: Microsoft ASP.NET 4.0 : What's Next?

FormView Improvements

<asp:FormView ID="Formview1"

RenderTable="false" runat="server">

Page 14: Microsoft ASP.NET 4.0 : What's Next?

ListView Improvements

<asp:ListView ID="Listview1" runat="server"> <LayoutTemplate> <div id="itemContainer" runat="server" /> </LayoutTemplate> <ItemTemplate> <%# Eval("Title") %> </ItemTemplate></asp:ListView>

Page 15: Microsoft ASP.NET 4.0 : What's Next?

Control Your View State

Control.ViewStateModeEnabledDisabledInherit (default)

Page 16: Microsoft ASP.NET 4.0 : What's Next?

Control Your Client IDs

Control.ClientIdModeLegacyStaticPredictableInherit (default)

Page 17: Microsoft ASP.NET 4.0 : What's Next?

Control Your Client IDs

<system.web> <pages clientIdMode="Predictable"> </pages></system.web>

Page 18: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Routing for Search Engine OptimizationInstead of:

http://YourSite.com/Search.aspx?query=cats

You can use:http://YourSite.com/Search/cats

Page 19: Microsoft ASP.NET 4.0 : What's Next?

Other Search Engine Optimization Improvements

Page.DescriptionPage.KeywordsResponse.RedirectPermanent(new url)

Page 20: Microsoft ASP.NET 4.0 : What's Next?

Redirects

300 multiple choices (e.g. offer different languages)301 moved permanently302 found (e.g. temporary redirect)303 see other (e.g. for results of cgi-scripts)307 temporary redirect

Page 21: Microsoft ASP.NET 4.0 : What's Next?

Web Standards

XHTML StandardsStrict or Transitional?

Accessibility StandardsSection 508, WCAG, ARIA?

Page 22: Microsoft ASP.NET 4.0 : What's Next?

QueryExtender Control

Works with EntityDataSource and LinqDataSourceEnables you to filter database resultsAccepts different types of expressions:

Search RangePropertyCustom

Page 23: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Core Enhancements

Cache ExtensibilityCreate custom cache providers

Browser Capabilities ExtensibilityCreate custom browser capability providers

Session State CompressionCompress out-of-process session state

Page 24: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 25: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

Server-SideAJAX

Client-SideAJAX

AJAXControl Toolkit

jQuery

Page 26: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

Client-SideAJAX

Client-Side TemplatesClient-Side ControlsClient-Side Data BindingRead/Write Database Data from the BrowserCross-Browser CompatibleNot tied to ASP.NET

Page 27: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

Client-SideAJAX

Refactored Microsoft AJAX Library

MicrosoftAjaxCore.jsMicrosoftAjaxComponentModel.jsMicrosoftAjaxSerialization.jsMicrosoftAjaxGlobalization.jsMicrosoftAjaxHistory.jsMicrosoftAjaxNetwork.jsMicrosoftAjaxWebServices.jsMicrosoftAjaxApplicationServices.jsMicrosoftAjaxTemplates.js (New )MicrosoftAjaxAdoNet.js (New)

Page 28: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

Client-SideAJAX

Learn more:

Come to my ASP.NET AJAX Talk Taking Ajax to the Next Level tomorrow @ 4:15

Page 29: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

jQuery

Created by John ResigOpen SourceMicrosoft Product supportIncluded with Visual Studio

Shipping right now with ASP.NET MVC

jQuery Intellisense Supported in Visual Studio 2008 (see Jeff King’s blog)Supported in Visual Studio 2010

Page 30: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

AJAXControl Toolkit

AccordionAlwaysVisibleControlAnimationAutoCompleteCalendarCascadingDropDownCollapsiblePanelConfirmButton

DragPanelDropDownDropShadowDynamicPopulateFilteredTextBoxHoverMenuListSearchMaskedEditModalPopupMultiHandleSliderMCheckBoxNoBotNumericUpDownPagingBulletedListPasswordStrengthPopupControl

RatingReorderListResizableControlRoundedCornersSliderSlideShowTabsTextBoxWatermarkToggleButtonUpdatePanelAnimationValidatorCallout

Page 31: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET AJAX

AJAXControl Toolkit

2nd Most Popular CodePlex Download

Server-Side controls and control extenders

Client-Side controls and behaviors

Client-Only Library: AjaxControlToolkit-ScriptFilesOnly.zip

New features coming soon…

Page 32: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET MVC

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 33: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET MVC

Enables a clear separation of concernsEnables testability including test-driven developmentEnables fine-grained control over HTML and JavaScript

Page 34: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET MVC

Learn more:

o See Scott Hanselman’s Nerd Dinner talk tomorrow @ 2:30

o See Phil Haack’s ASP.NET MVC talk tomorrow @ 4:15

Page 35: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Dynamic Data

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 36: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Dynamic Data

DynamicDataManager ControlDynamicHyperLink ControlField Templates for Email and URLSupport for Inheritance and Many-to-Many RelationshipsEntity Templates

Page 37: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Dynamic Data

Entity Templates

Page 38: Microsoft ASP.NET 4.0 : What's Next?

ASP.NET Dynamic Data

Learn more:

See David Ebbo’s talk ASP.NET 4.0 Data Access on 3/20 @ 9:00am

Page 39: Microsoft ASP.NET 4.0 : What's Next?

Conclusion

ASP.NET supports several very different types of web applications

.NET Framework

ASP.NET Framework

ASP.NETWeb

Forms

ASP.NET MVC

ASP.NET

AJAX

ASP.NETDynamic

Data

Page 40: Microsoft ASP.NET 4.0 : What's Next?

Conclusion

ASP.NET Web Forms 4.0:

Provides you with better control over the front-end user experienceHas several improvements for the source-focused developerPuts you, the developer, in control of your HTML markup and code

Page 41: Microsoft ASP.NET 4.0 : What's Next?

Conclusion

ASP.NET AJAX 4.0

Client-Side Templates and ControlsjQueryNew features coming with the AJAX Control Toolkit

Page 42: Microsoft ASP.NET 4.0 : What's Next?

Conclusion

ASP.NET MVC

Enables a clear separation of concernsEnables testability including test-driven developmentEnables fine-grained control over HTML and JavaScript

Page 43: Microsoft ASP.NET 4.0 : What's Next?

Conclusion

ASP.NET Dynamic DataMany new featuresEntity Templates

Page 44: Microsoft ASP.NET 4.0 : What's Next?

Resources

• ASP.NET 4.0 and Visual Studio 2010 Web Development Overviewhttp://www.asp.net/learn/whitepapers/

• CodePlex ASP.NET Previewshttp://www.CodePlex.com/AspNet

Page 45: Microsoft ASP.NET 4.0 : What's Next?

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