1 / 20

Building Extensions for the Microsoft Visual Studio Architecture Tools

Required Slide. SESSION CODE: DEV403. Building Extensions for the Microsoft Visual Studio Architecture Tools. Peter Provost Sr. Program Manager Microsoft Corporation. By the End of this Talk, you will understand. How extensibility works in our architecture models

flavio
Download Presentation

Building Extensions for the Microsoft Visual Studio Architecture Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Required Slide SESSION CODE: DEV403 Building Extensions for the Microsoft Visual Studio Architecture Tools Peter Provost Sr. Program Manager Microsoft Corporation

  2. By the End of this Talk, you will understand • How extensibility works in our architecture models • How to create extensions to tailor the experience • What you can do (and can’t do) with extensibility

  3. A little bit about MEF • MEF is a dynamic composition library created by Microsoft that ships with .NET 4.0 • Visual Studio includes MEF as a new extensibility mechanism • For our purposes, MEF lets us load and compose extensions into our designers and models

  4. Customer Extensions Command Extensions Gesture Extensions Work Item Link Extensions Custom Toolbox Item Custom UML Profiles Model Validators Visual Studio 2010 Architecture Tools UML API Extensibility API Designers Models Visual Studio 2010

  5. Extension Points • Context Menu Extensions • Add new menu items to the context menus of our designers • Gesture Extensions • Add new mouse gesture handlers for designers • Validation Extensions • Create custom domain validation methods for models • Work Item Link Extension • Perform actions when model elements are linked to TFS Work Items • Custom UML Profiles • Add new properties or identifiers to UML elements • Custom Toolbox Items • A customized element or set of element that can be easily reused across models

  6. Creating a MEF Extension DEMO

  7. Creating a MEF ExtensionDemo summary • Creating an extension project • Using MEF Exports and Imports • Creating a command extension • Creating and displaying new model elements • Creating a Work Item Link Extension

  8. Creating a UML Profile DEMO

  9. Creating a UML ProfileDemo summary • How custom profiles work • Creating the profile.xml file • Creating new UML Stereotypes • Creating a VSIX package

  10. Creating a custom Toolbox Item DEMO

  11. Creating a custom Toolbox ItemDemo summary • How custom toolbox items work • Creating the template diagram • Installing the template for testing • Creating a VSIX Package

  12. But I want more! • Simple things are simple, complex things are still possible • VS Packages for rich IDE integration • DSL and ModelBus for complex intra-model capabilities • Code generation using T4 • Roll your own, forward or backward • Use the Visualization and Modeling Feature Pack capabilities • Layer Diagram Extensibility • Included in the Visualization and Modeling Feature Pack • Gives all three MEF-based extension points for Layer Download the Visual Studio 2010 Visualization and Modeling Feature Pack NOW!

  13. Related Blogs • Cameron Skinner • http://blogs.msdn.com/camerons • Steve Cook • http://blogs.msdn.com/stevecook • Peter Provost • http://www.peterprovost.org/blog/ • Jean-Marc Prieur • http://blogs.msdn.com/jmprieur • Mark Groves • http://blogs.msdn.com/mgroves/

  14. Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Related Content

  15. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • Visual Studio – http://www.microsoft.com/visualstudio/en-us/ • Soma’s Blog – http://blogs.msdn.com/b/somasegar/ • MSDN Data Developer Center – http://msdn.com/data • ADO.NET Team Blog – http://blogs.msdn.com/adonet • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam • EF Design Blog – http://blogs.msdn.com/efdesign

  16. Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn

  17. Required Slide Complete an evaluation on CommNet and enter to win!

  18. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

  19. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

  20. Required Slide

More Related