Introduction
This is the official home for DSL Tools online resources on Code Gallery. Here, you will find the samples for the DSL Tools (Samples do not ship any longer with the Visual Studio SDK), find deep dive documentation, and get links to shared source projects and other resources to help you create Graphical and Form-based Modeling Designers for Visual Studio with the DSL Tools. This page is maintained by the DSL Tools team at Microsoft.
Start by reading the Read Me, discovering What's new in the DSL SDK for Visual Studio 2010 Beta, reading about the Known Issues, and downloading the Visual Studio 2010 DSL SDK Beta 1 Samples. All DSL Tools related resources on Code Gallery are tagged with the “DslTools” tag. You may subscribe to the RSS feed to be notified of new DSL Tools resources on Code Gallery. Also, all the samples are written in C#.
Announcements
| 6 November 2010 | Samples start being available (see the download tab) |
| 21st October 2010 | The DSL SDK Beta2 goes live! |
| 21st May 2010 | The DSL SDK Beta1 goes live! |
Requirements
You need to have installed the following products:
Code samples
Code Samples for the DSL Tools for Visual Studio 2010 Beta2
see the download tab. More to come, meanwhile, please have a look at What's new in this release.
Code samples for previous versions of the DSL Tools
The following are existing samples for previous versions of the DSL Tools
| Name | Description | Version of VS |
| DSL Tools Lab | Lab enabling the beginners to learn how to use the DSL tools in one day | VS 2008 SP1 |
| Text Templating sample | Illustrates various approaches to generating code using the text –templating (T4) engine that ships with the Visual Studio SDK | VS 2008 SP1 |
| DSL Custom Tool sample | This sample shows how to create a custom tool that runs directly against a Domain-Specific Language ("DSL") model file, using T4 to generate the code. This is an alternative to shipping the text template (.tt) files to the end user of the DSL | VS 2008 SP1 |
| Extended DSL Model Explorer | This sample customises the generated model explorer so it remembers which element was selected when the user switches between documents | VS 2008 SP1 |
| DSL Tools End-End Wizard UIP update | This sample contains an updated version of the DSL Tools C# End-End.WizardUIP sample that ships in the VS SDK. This update uses a more sophisticated code generation framework adapted from the the Patterns & Practices Web Service Software Factory: Modeling edition | VS 2008 SP1 |
| DSL Custom Property Editor sample | This sample shows how to use custom property editors to customise the editing of domain properties through the property grid. WARNING breaking changes for VS 2010. Needs update | VS 2008 SP1 |
| DSL Navigation sample | This sample language demonstrates techniques to facilitate navigation in Domain-Specific Language ("DSL") designers (synchronization between diagram and model explorer) | VS 2008 SP1 |
| StateMachineOverModelBus.zip and its documentation. | This sample demonstrates the use of the ModelBus enabling models to interoperate | VS 2010 Beta1 |
| ImsLocks.zip and its Documentation. | This sample demonstrates the use of the ImsLocks, enabling the DSL author to prevent the user to edit completely or partially a model, constraint by an edit lock policy | VS 2010 Beta1 |
| Domain Model Extensibility and its Documentation | This sample demontrates how to extend a DSL after it has shipped using the Domain Model Extensibility | VS 2010 Beta1 |
Work from the community
|