Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
In Visual Studio 2010 Essential Training, author Walt Ritscher demonstrates how to use Visual Studio 2010 Professional to develop full-featured applications targeting a variety of platforms. Starting with an overview of the integrated developer environment, the course covers working with code editors, navigating and formatting code, and deploying applications. Also included are tutorials on running performance and load tests, and debugging code. Exercise files accompany the course.
Visual Studio contains an amazing assortment of tools to help in writing, testing, compiling, and deploying your applications. Microsoft had the foresight to make Visual Studio extendable and customizable. In fact, a lot of that tools you work with everyday in Visual Studio are really extensions. There are two main ways to extend Visual Studio. The simplest is to buy or download a third-party tool and configure Visual Studio to use it. This requires no code writing on your behalf. The second approach requires you to write some code and instruct Visual Studio to use this custom extension.
If you want to write these extensions, you need to install the Visual Studio SDK. Hidden in the depths of Visual Studio are several extensibility frameworks. Most of the functionality of Visual Studio can be accessed via these APIs. One of these APIs is based on the ancient COM specification. You can build either add-ins or Visual Studio Packages that run on COM. In Visual Studio 2010, Microsoft introduces their new extensibility framework called Managed Extensibility Framework, or MEF.
With this, you can build add-ins and component parts. Macros provide a quick and easy way to write plug-in code. They're written in Visual Basic. They are stored in a special Visual Studio macro files and can be imported into your Visual Studio using the Macro Explorer tool. COM add-ins have a higher potential for complexity. For example you can create walkthrough wizards or build new windows to add to the IDE. These are compiled into executable files and then deployed like any other application. Plus, you get to write them in your favorite .NET language.
COM VSPackages are even more powerful than add-ins. These programs have been used by Microsoft partners for years. You have to be an accepted partner before you can acquire the SDK bits. With VSPackages, you get full access to the backend of Visual Studio. You can create your own visual designers, like the Windows Form Designer or the Silverlight Designer. If you've written your own custom languages, you can use Visual Studio Packages to create special code editors and integrate the compilers. MEF add-ins provide access to the fancy new code editor in 2010.
With MEF, you are writing a WPF application, so you can overlay special graphics in the code editor. The rest of this chapter will show you how to use some of these extensibility tools.
Find answers to the most frequently asked questions about Visual Studio 2010 Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.