View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
Overview WPF offers desktop richness and integration Leverages Past and Current Operating Systems Rich Array of Controls Great developer tools Today we live in a world where Office Business Applications are a reality. “OBAs” as they are affectionately called are custom applicatons built in .net that leverage all the goodness of the office plumbing.
Client Value Props WPF anchors client continuum with desktop richness and integration Desktop integration Hardware acceleration Full trust and Interop Full offline Full .NET Framework Completeness (globalization, accessibility, security, input, printing etc) RAD for Windows innovation
Client Value Props Visual Designers and a design time experience Along with traditional office support we have Windows Workflow and SharePoint support Data binding and xml schema support in terms of word content controls.
Client Value Props Add-ins for almost the entire office stack. Document centric solutions for word and excel. Much improved help in terms of deployment and security
Windows 7 Synergy and Light Up Touch and Multi-Touch Taskbar Ribbon Common Dialogs More… Use these with .NET XAML in WPF
Rich Array of Controls Common Control Types Button Controls Basic response to click events Range/Selection Controls Allows value selection within pre-defined range List Controls Can contain an unbounded collection of items Each item can be an arbitrary object including any renderable WPF content Layout Controls Provides layout management to window/page Menu & User Interface Navigation Menus, information bars etc. Text, Document & Ink Controls Provide rich text & document handling capabilities and inking support Rich Media Controls Display images, video etc.
Office Client Development with VSTO 2Common Application Models OM OM Document-Centric Solutions MyCode MyTaskPane Office Application Solutions (Add-In) MyMenu MyCode
Product Team Blogs Eric Carter: .NET4Office http://blogs.msdn.com/eric_carter/ Peter Torr: Office Development, Security, Randomness… http://blogs.msdn.com/ptorr/ Eric Lippert: Fabulous Adventures in Coding http://blogs.msdn.com/EricLippert Paul Stubbs: Office Development with .NET http://blogs.msdn.com/pstubbs/ VSTO Team Blog http://blogs.msdn.com/vsto/
Additional Information MSDN Developer Centers VS.NET and Office Development http://msdn.microsoft.com/vstudio/office/ Office Development http://msdn.microsoft.com/office Hands-on Labs for VSTO 2005 http://www.microsoft.com/downloads/details.aspx?FamilyID=f2323aaf-fe87-4203-9ed8-72466566e105&displaylang=en VSTO 2005 Web casts http://msdn.microsoft.com/office/understanding/vsto/multimedia/default.aspx
Resources VSTO Forum http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16 VSTO-related blogs VSTO-related Blog Search – http://search.live.com/macros/pstubbs/vsto Office Zealot Site – http://www.officezealot.com/VSTO/bloghome.aspx
For More Information Visit the VSTO Developer Center http://msdn.microsoft.com/office/tool/vsto/default.aspx VSTO Help documentation on MSDN http://msdn2.microsoft.com/library/d2tx7z6d(en-us,vs.80).aspx
Data Caching - Performance Why cache data in an Office document? Cached data can be bound to the Office document and displayed at runtime Cached data can be used when offline Cached data is server-accessible Cached data can store non-UI data needed by your solution VSTO support for data caching CachedAttribute is used to annotate fields that should be cached ICachedType can be implemented by a type to provide custom serialization ServerDocument class can be used to open a document without instantiating Word/Excel
VSTO Security Model Based 100% on .NET Code Access Security By default, no code runs Trusted assembly ≠ Local machine Trust via signing the assemblies Authenticode or Strong name Can also trust via location-based evidence Must also trust the document Trusted document = Local machine Temporary Internet files not trusted
How to’s http://msdn.microsoft.com/en-us/library/bb772076(VS.100).aspx Demo Code / Examples http://fieldcontent/Field%20Content%20Pages/SessionDetails.aspx?fcfilter=Developer&ID=1198
Summary VSTO is the key enabler for the .NET stack to build Office Business Applications Connect documents to live business data Provide structure using XML Schemas Provide deeper UI integration using the Document Actions task pane VSTO is the tool of choice for professional developers creating Add-ins & document-centric solutions for the Office Stack Integrated design-time experience Developer productivity through programming model enhancements All the power of Visual Studio and the .NET Framework