Download presentation
Presentation is loading. Please wait.
Published byCalvin Flynn Modified over 6 years ago
2
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Using and Extending Microsoft Visual Studio 2010 Architecture and Modeling Tools Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
3
By the End of this Talk, you will…
Understand the following about the Architecture Tools in Visual Studio 2010 Ultimate 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
4
A little bit about MEF MEF is a dynamic composition library created by Microsoft and ships in .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
5
Visual Studio 2010 Architecture Tools
Design Customer Extensions Command Extensions Gesture Extensions Model Validators Visual Studio 2010 Architecture Tools UML API Extensibility API Designers Models Visual Studio 2010
6
MEF Extension Points Context Menu Extensions Gesture 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
7
Creating a custom command extension
demo Creating a custom command extension
8
Creating a custom command extension Demo summary
Creating an extension project Creating a command extension Using MEF Exports and Imports Creating and displaying new model elements
9
Creating a custom gesture extension
demo Creating a custom gesture extension
10
Creating a custom gesture extension Demo summary
Creating a gesture extension Understanding “context” and how to use it Interacting with other diagrams
11
Creating custom validation constraints
demo Creating custom validation constraints
12
Creating custom validation constraints Demo summary
Why you might want custom model validators How and when validators run against the model
13
But I want more! Simple things are simple, complex things are still possible… …Visual Studio Integration Packages can do almost anything Keep an eye open for an announcement about our PowerTools Adapters for cross diagram and model linkage and access Code generation using T4 DGML schema Easy to create DGML diagrams of YOUR data
14
question & answer
15
Related Blogs Mark Groves Cameron Skinner
Steve Cook Peter Provost Jean-Marc Prieur Mark Groves
16
Resources Required Slide Speakers, www.microsoft.com/teched
TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers
17
Related Content Required Slide Speakers,
please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Related Content Breakout Sessions (session codes and titles) DEV313 - Architecture Discovery and Validation with Visual Studio 2010 Interactive Theater Sessions (session codes and titles) Hands-on Labs (session codes and titles) Hands-on Labs (session codes and titles)
18
Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!
19
Required Slide © 2009 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.