Presentation is loading. Please wait.

Presentation is loading. Please wait.

Welcome! … to this MSDN Technical Briefing Web and Client Development Great user experiences on the Microsoft Platform, now and in the future July 27 th.

Similar presentations


Presentation on theme: "Welcome! … to this MSDN Technical Briefing Web and Client Development Great user experiences on the Microsoft Platform, now and in the future July 27 th."— Presentation transcript:

1 Welcome! … to this MSDN Technical Briefing Web and Client Development Great user experiences on the Microsoft Platform, now and in the future July 27 th 2005, Reading

2 Today’s Agenda 09:30–09:45 Welcome and Introduction 09:45–11:00 Session 1 Introducing ASP.NET 2.0 – Mike Ormond 11:00-11:15 Coffee 11:15-12:30 Session 2 Building Web Services with ASP.NET 2.0 (and the Web Services Enhancements) – Mike Taulty 12:30-13:30 Lunch 13:30-14:45 Session 3 Smart Clients: Office, Windows Forms and Mobile Devices as part of the solution – Mike Pelton 14:45-15:00 Coffee 15:00-16:15 Session 4 The future of Microsoft user interface technology: Avalon and XAML for rich user interfaces – Mike Taulty 16:15-16:30 Wrap up Event Close

3 Event slides will be posted at: http://www.msdn.co.uk/postevents

4 Get the latest technology previews, trial software, special offers Get information tailored to your needs Pick your RSS feeds Sign up for MSDN Connection at: http://www.msdn.co.uk

5 Get Visual Studio 2005 Beta 2 http://www.microsoft.com/betaexperience It’s a Road Trip! http://www.msdn.co.uk/roadtrip

6 Introducing ASP.NET 2.0 Mike Ormond Developer & Platform Group, Microsoft mormond@microsoft.com http://blogs.msdn.com/mikeormond

7 Agenda ASP.NET 2.0 Overview ASP.NET 2.0 Goals ASP.NET 2.0 Developer Stack Visual Studio 2005 Web Development What’s New? User Interface Personalisation Data Access Security Code Behind 2.0 Client Callbacks

8 ASP.NET 2.0 Themes Developer Productivity Reduce ASP.NET V1 ► V2 lines of code by 2 / 3 Enable rich scenarios not easily possible today Administration and Management Easiest platform to manage and administer Totally Extensible Platform Replace/extend all built-in features + services Customize for any enterprise environment Performance and Scalability The world’s fastest web application server

9 New ASP.NET 2.0 “Building Block” APIs Membership Role Manager Personalization Site Navigation Database Caching Management ASP.NET 2.0 Developer Stack

10 Providers New ASP.NET 2.0 “Building Block” APIs Membership Windows SQL Server Custom Role Manager Personalization Site Navigation Database Caching Management Provider Model Design Pattern SQL Express ASP.NET 2.0 Developer Stack

11 The Provider Model Membership API Membership Data SQL Express Other Data Stores Controls Login LoginStatus LoginView Other Membership Providers Other Membership Providers Membership Providers Membership MembershipUser SqlMembershipProvider SQL Server Other Login Controls Other Login Controls

12 New ASP.NET 2.0 “Building Block” APIs Membership Role Manager Personalization Site Navigation Database Caching Management ASP.NET 2.0 Developer Stack

13 New ASP.NET 2.0 “Building Block” APIs Membership Role Manager Personalization Site Navigation Database Caching Management New ASP.NET 2.0 “Page Framework” Features Master Pages Themes/Skins Adaptive UI ASP.NET 2.0 Developer Stack

14 New ASP.NET 2.0 “Building Block” APIs Membership Role Manager Personalization Site Navigation Database Caching Management ASP.NET 2.0 Developer Stack New ASP.NET 2.0 “Page Framework” Features Master Pages Themes/Skins Adaptive UI New ASP.NET 2.0 “Control Buckets” (Approximately 50) Security Web Parts Data Navigation

15 Web Development in Visual Studio Major Improvements for Visual Studio 2005 FrontPage Server Extensions No Longer Required Now File System, IIS, FTP and FPSE Web Sites Directory Based Project System Model Edit any web anywhere (no project file required) Dramatic performance improvements with large web sites No longer required to build entire site into a single DLL Can now re-build just individual pages to test and run HTML Source Preservation & Formatting Options HTML Source Preservation & Formatting Options Tool will never re-format or mangle your code Precisely control formatting of your HTML

16 Web Development in Visual Studio Major Improvements for Visual Studio 2005 Intellisense Everywhere Code behind, Inline code, HTML, CSS, ASP.NET page directives, Web.config, XML Files, etc HTML Tag Navigator and Tag Outlining Easily view, navigate + explore complex pages XHTML Support with Pluggable Validation Engine Real-time validation intellisense as you type HTML Validation driven intellisense for client-side script Rich Master Page Design-Time Support Full WYSIWYG Editing Support

17 Web Development in Visual Studio Major Improvements for Visual Studio 2005 Enhanced ASP.NET Code-Behind Page Editing Cleaner and more OO code editing support Removes brittleness of current tool wire-up ASP.NET Single File Page Editing Support Full intellisense and debugging support Built-in ASP.NET Web Server (no IIS required) Only allows local browser requests Automatic shutdown when VS IDE is closed Publish Web Easily synchronize/publish webs to remote servers

18 What’s New for… …User Interface Design Master pages "Visual inheritance" for Web pages Applied declaratively or programmatically Themes and skins Theme controls, pages, and entire sites Applied declaratively or programmatically New controls (around 50 in all) Menus, TreeViews, Wizards, and more

19 Site Navigation …User Interface Design Navigation can be tedious to implement Especially if it relies on client-side script New controls simplify site navigation TreeView and Menu - Navigation UI SiteMapDataSource - XML site maps SiteMapPath - "Bread crumb" control Public API provides foundation for controls Provider-based for flexibility

20 Validation Groups …User Interface Design Validation control grouping using new ValidationGroup property, implemented by: Validation controls Button, LinkButton, and ImageButton Allows page to post back when validators in target group are satisfied Addresses limitation in ASP.NET 1.x

21 Web Parts …User Interface Design Framework for building portal-style apps Patterned after SharePoint Portal Server System.Web.UI.WebControls.WebParts Rich UIs with minimal code Edit page layout using drag-and-drop Edit appearance and behavior and more Seamless personalization “Connections” between web parts

22 Localization …User Interface Design Auto-culture handling Declarative mapping of Accept-Language headers to relevant thread properties Simplified resource handling Declarative mapping of control properties to resources using expressions Strongly typed programmatic resource loading and more and more ‘ ‘ Runat="server“> Runat="server“> <asp:Button ID="Button1" meta:resourcekey="Button1Resource1“runat="server" Text="Button" /> Text="Button" />

23 User Interface Design Demo Build our Master Page Implement some Navigation Have a look at Themes and Profiles Verify Validation Groups Web Parts

24 Profiles …Personalisation Store per-user data persistently Strongly typed access (unlike session state) On-demand lookup (unlike session state) Long-lived (unlike session state) Supports authenticated and anonymous users Accessed through dynamically compiled HttpProfileBase derivatives (HttpProfile) Provider-based for flexible data storage

25 What’s New for… …Data Access Data controls GridView - Like the DataGrid, only better DetailsView - Companion to GridView Data source controls Declarative 2-way data binding SQL cache dependencies Key cached items to database entities

26 Data Access Demo New Data Controls Declarative Data Binding Binding to Object Data Sources Paging, Sorting and Editing SQL Cache Dependencies

27 What’s New for… …Security Membership service Service for managing users and credentials Provider-based for flexible data storage Login controls Controls for logging in, creating new users, recovering lost passwords, and more if (Membership.ValidateUser (UserName.Text, Password.Text)) RedirectFromLoginPage (UserName.Text, RememberMe.Checked); Role Management service Combine forms authentication and role-based authorization without writing code!

28 Security Demo Membership & Logins Encrypting Config Sections

29 What’s New for… …Configuration and Admin Administrative tools ASP.NET MMC snap-in Web Site Administration Tool Configuration API Read/write access to configuration settings Simplified custom configuration sections Instrumentation Perf counters, health monitoring, and more

30 Code-Behind 2.0 …Behind the scenes Hello.aspx using System; partial class MyPage_aspx : Page { protected void OnTest (Object sender, EventArgs e) { Output.Text = "Hello, " + Input.Text; } } Hello.aspx.cs

31 Client Callbacks (Ajax) …Behind the scenes "Lightweight" postbacks Client-side callback manager transmits asynchronous XML-HTTP requests to server Server receives and processes the request, but does not re-render the page Callback manager receives the response and notifies the client via registered callback Requires Internet Explorer 5.0 or higher Great way to improve UI responsiveness

32 Client Callbacks Demo Client Callbacks http://msdn.microsoft.com/msdnmag/issues/04/08/CuttingEdge http://www.schwarz-interactive.de http://weblogs.asp.net/scottgu/archive/2005/06/28/416185.aspx http://weblogs.asp.net/bleroy

33 How Client Callbacks Work …Behind the scenes ClientCallback Manager Page Client initiates callback by calling function returned by GetCallback- EventReference Callback manager launches async XML-HTTP call to server Callback manager is notified that the call completed Client is notified that the call completed and handed the result ClientServer Page's RaiseCall- backEvent method is called 1 1 2 2 3 3 4 4 5 5

34 Further Information… …where to go ASP.NET Developer Center (http://msdn.microsoft.com/asp.net) http://msdn.microsoft.com/asp.net ASP.NET 2.0 (http://msdn.microsoft.com/asp.net/whidbey) http://msdn.microsoft.com/asp.net/whidbey Update on changes for Beta 2 Feature postponed for ASP.NET Beta 2 Newsgroups & Forums http://forums.asp.net http://lab.msdn.microsoft.com/vs2005/community/newsgroups/default.aspx MSDN Magazine Articles (http://msdn.microsoft.com/msdnmag) http://msdn.microsoft.com/msdnmag Filter on “ASP / ASP.NET” for examples like: “An overview of the New Services, Controls and Features in ASP.NET 2.0” Jun 04 Data Points: “Data Source Controls in ASP.NET 2.0” Jan 05 Cutting Edge: “The ASP.NET 2.0 Wizard Control” Nov 04 “Wicked Code: Five Undiscovered Features on ASP.NET 2.0” Feb 05 “ASP.NET 2.0: Speed Up Your Site with the Improved View State in ASP.NET 2.0” Oct 04 Webcasts (http://msdn.microsoft.com/asp.net/support/multimedia) http://msdn.microsoft.com/asp.net/support/multimedia Learn ASP.NET 2.0 with Jeff Prosise http://www.microsoft.com/events/series/essentialaspnet.mspxBooks ASP.NET v2.0-The Beta Version by Homer, Sussman & Howard (Addison-Wesley) Introducing MS ASP.NET 2.0 by Dino Esposito (MS Press) ASP.NET 2.0 Beta Preview by Bill Evjen (Wrox Press)

35 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "Welcome! … to this MSDN Technical Briefing Web and Client Development Great user experiences on the Microsoft Platform, now and in the future July 27 th."

Similar presentations


Ads by Google