Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.

Slides:



Advertisements
Similar presentations
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Advertisements

Overview of Visual Studio 2005 Tools for the Microsoft Office System Svetlana Loksh Development Lead Visual Studio Tools for Office Team Microsoft Corporation.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Windows Forms 2.0 – ClickOnce Stephen Turner Software Design Engineer
Smart Clients What, Why, and Where By: Richard Arthur.
Programming in the Office 2003 Environment Corinne Hoisington.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Kalpesh Patel Ramprabhu Rathnam
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation.
Microsoft ® Application Virtualization 4.5 Infrastructure Planning and Design Series.
Visual Studio Whidbey: Deploying Applications Using ClickOnce Sean Draine Program Manager Microsoft Corporation Sean Draine Program Manager Microsoft Corporation.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.
Smart Client Applications for Developers Davin Mickelson, MCT, MCSD New Horizons of MN.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
Microsoft Confidential Office as a Development Platform Tim Heuer
DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
OFC290 Information Rights Management in Microsoft Office 2003 Lauren Antonoff Group Program Manager.
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
Shai Tirosh Windows Server Regional Director artNET Experts.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
Microsoft Office Excel 2007: Programming Business Intelligence Features John Hooper Service Line Architect Microsoft Corporation Jed Farr Senior Consultant.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
DEV391 Security and Deployment of Office Solutions Built with Visual Studio.NET Eric Carter Lead Developer Visual Studio Microsoft Corporation.
DEV396 Windows Forms: No Touch Deployment Tips and Tricks Jamie Cool Program Manager.NET Client Microsoft Corporation.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
The Office Development Platform & Visual Studio Tools for Office Mike Hernandez Product Manager Microsoft Corporation Steven Goulet Group Program Manager.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Overview of Visual Studio 2005 Tools for the Microsoft Office System Mike Hernandez Program Manager Visual Studio Tools for Office Team Microsoft Corporation.
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Pranav Ainavolu VSTO Developer, Conrep Solutions |
Network and Server Basics. Learning Objectives After viewing this presentation, you will be able to: Understand the benefits of a client/server network.
ClickOnce Deployment (One-click Deployment)
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Integrating SharePoint 2010 with Office 2010
Make your app a native part of Office with Add-ins
5/20/2018 2:53 AM © 2006 Microsoft Corporation. All rights reserved.
Introduction to ASP.NET 2.0
Office 365 Development July 2014.
Business Connectivity Services in SharePoint 2010 and Office 2010
Visual Studio Tools for Office 2005
Accessing and Surfacing LOB Data in SharePoint 2010
2007 Office System Integration
Managed Code, Data and Microsoft Office
Excel Services Deployment and Administration
Securely run and grow your business with Microsoft 365 Business
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Overview of Visual Studio 2005 Tools for the Microsoft Office System
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
Developing for Windows Azure
Microsoft Office System UK Developers Conference
ClickOnce Deployment (One-click Deployment)
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
SharePoint 2007 Developer Overview Collaboration BI Features
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
Contexualized Data In Document Authoring
Presentation transcript:

Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005

Advanced Visual Studio 2005 Tools for Office Programming and Deployment Paul Foster Developer Evangelist Microsoft

Agenda Server programming Security Deployment

Server Goals Make it as simple to create Office content on the server as it is for HTML Integrate with VSTO 2005 programming model Client Server Symmetry. Scale, Scale, Scale Integrate with ASP.NET programming model

Server Capabilities in VSTO 2005 Fill the data island on the server Program against the data on the server Run code outside the document Expose data from Office docs to ASPX

ServerCode Server Client Databases CorporateSystems Server Side Code prepopulates elements before sending to client John is cool! $ URL Request CreateExpense.aspx Data in Office Solutions How Does Server-Side Work?

ServerCode Server Client Databases CorporateSystems Server Side Code prepopulates elements before sending to client URL Request CreateExpense.aspx Mike is cooler! $

Server Feature Read and Write Cached Data ' Load the document (does not start the Office application) Dim productsDoc As String = "C:\Documents\Products0105.xls" Dim doc As ServerDocument = New ServerDocument(productsDoc) 1 1 ' Read the cached data from the dataset in the worksheet Dim cdi As CachedDataItem cdi = doc.CachedDataManifest.Views("ProductWorksheet"). _ CachedData("ProductWorksheet.ProductCache") Dim sr As System.IO.StringReader = New _ System.IO.StringReader(cdi.Xml) ProductsData.ReadXml(sr) 2 2 ' Write the modified dataset back to the dataset ' in the workbook. cdi.SerializeDataInstance(ProductsData) doc.Save() doc.Close() 3 3

Server Programming

Filling the Data Island All the data in a VSTO 2005 enabled Office document is stored in a standard data island This enables the VSTO 2005 runtime to access the data without having to invoke Word or Excel Benefits Doesn’t require you to run Word or Excel on the server Some significant scaling issues Not supported by Microsoft

What is Not Supported on the Server Program against the view/host api Since Word & Excel aren’t running on the server there’s no way to get to the object model for each application You can work around this quite easily since you can fill the data on the server and do all the databinding/view manipulation on the client Integrate with other Office apps Since they’re not running on the server However XML/Web Services provide an ideal way to do this

Server Summary Program against the data on the server Access any VSTO 2005 document from within an ASPX page Built to scale from day one

VSTO Security

VSTO 2005 Security Won’t run any code by default Utilises.NET Code Access Security Must trust both the document and the assembly (Full Trust) Evidence for assemblies is via Signing: Authenticode or Strong Naming Location: URL Local Machine Zone is not enough Evidence for documents is via Location attachments must be copied to desktop (Outlook temp directory is Internet Zone)

Code Security Scenarios Alice creates a VSTO 2005 project for a Budget Spreadsheet Alice hands over final code to Bob in IT Bob deploys code & document to Bob deploys security policy to end users machine to trust Fred creates a new budget from Code runs! Fred sends it to Sue via Sue save the budget sheet to her desktop Opens it from the desktop Code runs!

Code Security – VeryEvil.com Evil Alice creates fakebudget.xls and creates a VSTO 2005 project Evil Alice deploys code to Evil Alice sends fakebudget.xls to Bob in Bob opens the spreadsheet No code runs because isn’t trustedhttp://veryevil.com

Bad Trust Decision ISV Alice writes some VSTO 2005 code behind ISVBudget.xls Deploys code and budget to Fred creates a budget from website & saves it to his machine IT Bob discovers bug in the code behind ISVBudget.xls that compromises the corp security practices Bob tells ISV Alice but the fix won’t be ready for weeks Bob blocks access to for the corporationhttp:// Budgets don’t work but the corp security is safe Alice fixes bug Bob reinstates access to The sun shines

Deployment

Deployment Basics Requirements for the target machines Office 2003 Professional or Excel 2003 Standalone or Word 2003 Standalone.NET Framework 2.0 VSTO 2005 Runtime Office PIAs referenced in your assembly Can be set to install on demand Appropriate security policies

Why Manifests?.NET and Visual Studio moving to manifests Built using the same schema as Click Once New technology coming in the next version of.NET/VS Built into Longhorn Manifests provide rich information about your application Not just which dll is used Includes dependent assemblies Location of assemblies (moving to Product server)

Update Manifest based deployment Application level and deployment level manifests Self updating Document App Manifest is updated to point to the latest assembly

How Does This Work? <deploy url= version=“1.0”/> <deploy url= version=“1.0.1”/>. <assembly Name=“foo.dll” updateURL= <deploy url= version=“1.0”/> Deploy.xml manifest.xml. curVersion-”1.0.1” Foo.xls manifest.xml Foo.dll v1.0 Foo.dll v1.0.1

Move to Production server <deploy url= version=“1.0”/> <deploy url= version=“1.0.1”/>. <assembly Name=“foo.dll” updateURL= <deploy url= version=“1.0”/> Deploy.xml manifest.xml. curVersion-”1.0.1” <app url= “ manifest.xml” Foo.xls manifest.xml Foo.dll v1.0 Foo.dll v1.0.1 Deploy.xml. curVersion-”1.0.1” <app url= “ manifest.xml” Test Srv Production Srv

Server OM to modify App Manifest Can change any part of the app manifest CustomizedDocument doc = new CustomizedDocument (“file.doc”); doc.AppManifest.DeployManifestPath = “… ”;

Accessing the AppManifest

Local/Local Deployment Model Pros Network access is not required Users can modify and customize their documents Cons Updates to document or assembly require redistribution to each user Local/Local

Local/Network Deployment Model Pros Eases updates to assembly Users can modify and customize their documents Cons Updates to document require redistribution to each user Local / Network

Network/Network Deployment Model Pros Eases updates to assembly Eases updates to document Cons Users cannot modify or customize master documents Network / Network

Offline Access Local install (e.g. Program Files) Guaranteed Offline experience Need to run setup first – if you open a document without having installed the relevant application into program files then it won’t work Servicing – MSI is a double edged sword Intellimirror Guaranteed Offline experience Allows you to push new versions to clients without client having to do anything Need to synchronize before the first offline access IE Cache Allows you to push new versions to clients without client having to do anything Need to synchronize before the first offline access Cache is transitory Referenced dll’s in a customization are delay loaded

Conclusion Server Program against the data on the server Access any VSTO 2005 document from within an ASPX page Security Must trust document and assembly Doesn’t run by default Deployment options Document/assembly options

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.