This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
|The latest Enterprise Library information can be found at the Enterprise Library site.|
The QuickStart applications demonstrate some of the key features of the Unity Application Block. The following QuickStarts are implementations of the situations discussed in Key Scenarios:
- StopLight. This QuickStart demonstrates dependency injection techniques.
- EventBroker. This QuickStart provides an example extension for the Unity container.
Building the QuickStarts
The QuickStarts ship as source code, which means that you must compile them before you can run them. You can use Visual Studio 2005 to build the QuickStarts. If you open the QuickStarts in Visual Studio 2008, you will be prompted to upgrade the projects to the Visual Studio 2008 format. If you decide to upgrade them, you may want to keep a copy of the original Visual Studio 2005 projects so that you can refer to them and use them if required.
To build the Unity QuickStarts
- Ensure the Unity Application Block Source Code is installed.
- Open the source code folder in Windows Explorer or from the Start menu.
- Open the QuickStarts folder, open the CS folder (for C#) or VB folder (for Visual Basic .NET), and then open the StopLight or EventBroker folder.
- Double-click the Visual Studio solution file for the QuickStart.
- Visual Studio opens, displaying the solution file. Click the Run button on the toolbar, or press F5, to start the application.