DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Overview of Visual Studio 2005 Tools for the Microsoft Office System Svetlana Loksh Development Lead Visual Studio Tools for Office Team Microsoft Corporation.
Advertisements

Designing InfoPath Forms: The Dos and Donts Deploying InfoPath Forms: Making the right choice Adding custom business logicin case the built-in stuff isnt.
WEB401 Security Practices for Web Services (Part 2) Keith Ballinger Program Manager XML Messaging Microsoft Corporation.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
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
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
It’s always better live. MSDN Events Developer Productivity Improvements with Visual Studio 2008 and Office Business Applications.
NameTitle Microsoft Corporation. For businesses with Visual Basic 6.0 assets, Visual Basic 2008 is the natural, most productive choice for Windows, Web,
OFC324 Microsoft Project Server: Putting Enterprise Project Management (EPM) To Work Sam Brooks
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Enhanced Collaboration and other benefits of Sharepoint Technologies Kern Sutton Business Productivity Group Microsoft Corporation.
OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.
Lessons Learned: Using the Experience of Others to Avoid Common Project Server Mistakes LaDonna Carpenter Technical Lead Product Support Services Microsoft.
DBA230 Introducing SQL Server 2000 Reporting Services Jason Carlson Product Unit Manager SQL Server Microsoft Corporation.
OFC 322 Building Office Research Web Services: Exposing Corporate Data Through Office Brian Jones Program Manager Authoring Services Martin Sawicki Lead.
DEV334 Creating Application Starting Points & Sharing Best Practices with Enterprise Templates Marc Gusmano Director of Emerging Technologies The Information.
DEV343.NET Application and Library Versioning Juval Löwy
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
Microsoft Office Project Desktop Development Marcel Parent Program Manager Project Microsoft Corporation.
Future Directions: Building Customizable Applications using.NET Eric Schnepp TLN205 Lead Program Manager Microsoft Corporation.
DEV390 Extending Word and Excel with Visual Studio Tools for Office Ken Getz Senior Consultant MCW Technologies, LLC.
Microsoft Confidential Office as a Development Platform Tim Heuer
OFC 200 Microsoft Solution Accelerator for Intranets Scott Fynn Microsoft Consulting Services National Practices.
Nilotpal Bhattacharya Partner Technical Consultant| Microsoft.
SEC303 Assessing and Managing Privacy in the Enterprise JC Cannon Privacy Strategist.
Microsoft Office InfoPath 2007 Development, Deployment, And Hosting For Rich And Browser Forms Jessica Gruber Consultant Microsoft Corporation.
OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.
Slide 2 The Microsoft Office Project 2003 Software Development Kit Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation Uma.
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
OFC290 Information Rights Management in Microsoft Office 2003 Lauren Antonoff Group Program Manager.
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
OFC 307 Office 2003 Solution Case Studies Ray Stephenson Smart Client Technical Evangelist
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Module 5: Configuring Internet Explorer and Supporting Applications.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise.
OFC291 Microsoft® Office Word XML (part 1 of 3): Introduction Martin Sawicki Lead Program Manager.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
DEP331 Migrating to Windows XP Mike Coleman Lead Product Manager, Windows XP Microsoft Corporation.
MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant.
SVR330 Introduction to The Microsoft Office Project 2003 Software Development Kit (SDK) Bob Walker IW Product Technical Specialist - EPM EPG Microsoft.
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.
MSG331 Exchange Server 2000/2003 Software Development Kit Susan Hill Lead Programmer Writer Microsoft Corporation.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers.
The Office Development Platform & Visual Studio Tools for Office Mike Hernandez Product Manager Microsoft Corporation Steven Goulet Group Program Manager.
Step-by-Step Migration and Adoption Mark Michaelis Architect, Author, and Trainer Eric Lee Microsoft Product Manager Visual Studio 2005 Team Foundation.
OFC311 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 1 Tudor Toma Group Program Manager Office Microsoft Corporation.
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 |
Reporting Services Futures: Report Authoring for Information Workers Ciprian Jichici Microsoft Regional Director for Romania General Manager, Genisoft.
ClickOnce Deployment (One-click Deployment)
Integrating SharePoint 2010 with Office 2010
5/20/2018 2:53 AM © 2006 Microsoft Corporation. All rights reserved.
Visual Studio Tools for Office 2005
Overview of Visual Studio 2005 Tools for the Microsoft Office System
ClickOnce Deployment (One-click Deployment)
Windows Forms in Visual Studio 2005: An in-depth look at key features
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation

Our Challenges Today’s IT situation Deployment and maintenance issues favor Web applications Security concerns limit the use of Office solutions Today’s developer situation Web UI is “limiting” It’s hard to develop a rich Web UI Inconsistent user experience is common No offline support Developers typically use VBA to customize Office applications and now want to use Visual Studio

Our Goals Incorporate the richness of client Office apps with the benefits and advantages of Visual Studio Make smart client application development on the Office System: Secure More reliable Easier to deploy, maintain and upgrade Faster to develop Make Office a first class development scenario in Visual Studio Make Visual Studio a first class tool for building Office solutions

Visual Studio Tools for Office Extends.NET development to Office 2003 Developers using Visual Studio 2003 can write code to run behind Word and Excel documents Write code in VB.NET or C# In beta now msdn.microsoft.com/vstudio/office MSDN Developer and Subscriber Downloads RTM in mid-2003

Writing Code Behind Excel Part 1 demo demo

Developer Productivity Developer uses the Visual Studio IDE Choice of languages – VB.NET or C# Robust code model based on.NET Framework Powerful access to data and XML Via ADO.NET and system XML classes Support for the latest XML Web service specifications WS-Security, WS-Routing, WS-Attachments Existing Office development knowledge carries forward

Office Integration CLR loader is part of Word and Excel It installs with Office Pro and above Doc properties point to the assembly Same directory, SharePoint site, UNC, etc. Assembly calls into Office via COM Interop Uses PIAs (Primary Interop Assemblies) delivered with Office Requires FullTrust, but 3rd party code can be restricted

Review: How Does It Work? Developer writes code Creates assembly Sets document properties Deploys assembly to centralized location Designer formats document for end users End user opens document Office uses document properties to locate and download assembly CLR verifies assembly is OK to run CLR runs code

Deployment Developer can store solutions on a trusted corporate network Code is downloaded locally when a user opens a Word or Excel document Users get updates to code automatically with no action required on their part Users must have CLR on their machine Note: Don’t rely on Office shipping CLR

Writing Code Behind Excel Part 2 demo demo

Managed Code Loading Process User opens document Custom Props? Trusted doc? Trusted code? New / Open event fires No Doc Only No Doc Only Download assembly No Unload AppDomain Fail Hook up events Yes FailYes Create AppDomain Fail Load CLR Yes Fail

Assembly Security Office “High, Medium, Low” macro dialog box and “managed add-in proxy shims” don’t apply to these assemblies Local machine’s.NET Framework 1.1 security policy governs the assemblies You can set security two ways.NET Framework Configuration (UI version) caspol.exe (command-line version)

.NET Framework Configuration

Trusted Code Default CLR policy trusts all code on local machine Not a good idea for Office documents! Office loader removes all Zone permissions My Computer: FullTrust  Nothing Also removes “All Code” permissions Must explicitly trust assemblies Location is easy, but relatively weak We recommend using publisher or strong name Visual Studio trusts code in development Automatically trusts assembly location

Trusted Documents Helps prevent malicious re-use of trusted code By default Documents on the local machine are trusted Documents on the network are not trusted attachments are not trusted Assign trust through.NET policy Use URLs to trust locations Use MSOSEC (Microsoft Office Security) to trust documents This provides a form of document-based evidence that the CLR will understand

Dealing with Malicious Code What happens when someone changes the custom doc properties to point to potentially malicious files? By default, no code runs A user must consciously decide to trust code What happens when someone tries to swap a trusted assembly with a potentially malicious assembly? A hacker needs the appropriate permissions to replace the assembly at the given location What can you do to prevent these types of situations? Only trust assemblies you know come from safe sources Consider using more robust security methods such as publisher, strong name, or digital signature

Security and Deployment demo demo

Summary Build Word 2003 and Excel 2003 solutions with Visual Studio 2003 Visual Studio provides improvements in productivity.NET Framework provides improvements in deployment, maintenance and security Existing investments move forward

Ask The Experts Get Your Questions Answered I will be available in the ATE area after this session

Community Resources MS Community Sites List of newsgroups microsoft.public.vsnet.vstools.office microsoft.public.word.programming microsoft.public.excel.programming microsoft.public.office.developer.vba Attend a free chat or webcast Locate a local user groups Community sites

Suggested Reading And Resources The tools you need to put technology to work! TITLE Available Today Microsoft ® Windows ® Server 2003 TCP/IP Protocols and Services Technical Reference Kit Active Directory ® for Microsoft ® Windows ® Server 2003 Technical Reference Today Microsoft Press books are 20% off at the TechEd Bookstore Also buy any TWO Microsoft Press books and get a FREE T-Shirt

Community Resources Most Valuable Professional (MVP) Newsgroups Converse online with Microsoft Newsgroups, including Worldwide User Groups Meet and learn with your peers

evaluations evaluations

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