Presentation is loading. Please wait.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd email@example.com
Agenda “Smart” Client? Windows Forms 2.0 Goals New Controls New Runtime Features Data Binding Application Settings MultithreadingDeployment Developing for Office Visual Studio Tools for Office 2005
Smart clients are easily deployed and managed client applications that provide an adaptive and interactive experience by leveraging local resources and intelligently connecting to distributed data sources. Web Services & Offline/Online support Device Adaptability Tough to Deploy Heavy Footprint DLL Hell Network Dependency Poor User Experience Rich UI Complex To Develop Rich User Experience Developer Productivity Responsive Broad Reach Easy Change Management Ease of Deployment
Windows Forms 2.0 Goals Bring the ease and reliability of Web application deployment to client applications Professional Look and Feel New controls and enhancements Simplify client application development Simplify working with data Fewer lines of code Fewer clicks
Windows Forms 2.0 Demo With thanks to Joe Stegman for the sample code on WindowsForms.NETsample code
Data Binding and the New Grid Demo With thanks to Michael Weinhardt’s MSDN “Wonders of Windows Forms” ColumnColumn
Application Settings Demo
Multi-Threading: The Challenge Long-running processes lock the UI “Thou shalt not operate on a window from other than its creating thread” So how do I show progress? A worker thread needs to communicate with the parent form And how do I exercise control? The parent form needs to communicate with the worker thread
BackgroundWorker component “How I want a drink, alcoholic of course, after the heavy lectures involving quantum mechanics!” Demo With considerable thanks to Chris Sells’ “Safe, Simple Multithreading in Windows Forms” Article and Michael Weinhardt’s “Safe, Even Simpler Multithreading in Windows Forms 2.0 ” ArticleArticle Simon Plouffe, 1995
“ClickOnce” Deployment Deployment issues blocked rich client’s success Goal: Make rich client deployment as easy as Web deployment Easy and powerful
“ClickOnce” Deployment Demo
Web Page Link to Manifest Deployment Manifest 1.0 1.1 1.0 Application Manifest 1.1 Application Manifest ClickOnce Update from the Web
ClickOnce Update Architecture Yes No Application Store Installed UpdateCheck? StartupSHIM My Application Deployment Framework Service MIME.application Launched
Visual Studio 2005 and Mobility One IDE for developing managed and native components of an application Making developing for devices and PC’s even more similar
Visual Form Designers New high fidelity design experience No more “cloning” of Forms designers Device specific Orientation and resolution aware Skins More accurate intellisense User Controls and Form inheritance
Windows.Forms Controls DateTimePickerMonthCalendarDocumentListLinkLabel Notification Bubble HelpRichInkWebBrowserDataContainerUserControl
Emulation New emulator ARM CPU emulator “Real” network interface ActiveSync Shared folder Four COM ports Saving multiple emulator states
Compact Framework 2.0 Demo
Visual Studio 2005 Tools for Office Visual Studio.NET 2005 with Projects for Word, Excel and InfoPath Language support for VB.NET and C# Full access to the.NET Framework, Web services, ADO.NET, integrated debugging CLR-based security model Major focus on developer productivity New data caching capabilities Improved deployment model
Managed Document Actions task pane All the rich, UI features of Word and Excel Responsive UI - runs on local machine Data caching capabilities (data island) Document solution can be designed to work offline Support for calling Web Services through the.NET Framework and Visual Studio Managed Document Actions task pane Managed controls View controls Integrated design-time experience Schema-based programming model Complete access to the.NET Framework All the productivity of Visual Studio Online ClickOnce deployment model No-touch deployment model used for assembly resolution Document is linked to assembly; deployed to a share server Rich User Experience Responsive Web Services & Offline/Online support Developer Productivity Easy Change Management Ease of Deployment 2003 2005 Visual Studio 2005 Tools for Office
Visual Studio Tools for Office Demo
Closing the Loop – Architectural Guidance Microsoft Patterns and Practices: www.microsoft.com/resources/practices
So Where Have We Been? Very Smart Clients! Windows Forms 2.0 New Controls New Runtime Features Data Binding Application Settings MultithreadingDeployment Developing for Office Visual Studio Tools for Office 2005
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
© 2023 SlidePlayer.com Inc.
All rights reserved.