Published: 11 Jun 2008
By: Brian Mains

Review of the book: Professional Visual Studio Extensibility.

About the book


Written by: Keyvan Nayyeri
Pages: 384
Publisher: Wrox
ISBN-10: 0470230843
ISBN-13: 978-0470230848


Introduction

Keyvan Nayyeri explores each of the areas of VS Extensibility. He breaks the book up into logical sections, first illustrating the API that Visual Studio uses to represent the user interface. If you have never looked at the API for Visual Studio before, it’s not user friendly, so it was good that he provided a brief description of the properties and methods for the various objects, followed by a few examples using those objects to perform certain tasks.

I thought some of the most useful content of the book features discussions on showing custom windows forms, and creating custom option windows using user controls (to display in the Tools > Options dialog), and creating custom debugger type proxies and visualizers. That’s definitely not all the book focuses on; the subject matter also ranges in the areas of working with solutions, projects, code files, the text editor, command bars, custom windows, deployment, testing, unit testing and more.

The book covers other topics related to extensibility. Keyvan covers the Visual Studio hive and how it can be used when developing VS extensions. It also covers Domain Specific Language tools (which I was appreciative for because I didn’t fully understand what DSL was supposed to be) by creating a sample language. Code Snippets and Templates are another feature I look forward to implement in one of my applications, because it will be very useful and helpful to my fellow coworkers. And, one of the more interesting topics are VS Packages.

Keyvan works with a consistent motion throughout the book. When he explains the API, he starts out explaining each object related to the chapter, then ends the chapter with some sample code. When getting into the other subjects like extending the debugger or macros, Keyvan discusses each subject and mixes in screenshots and code of what each feature looks like as he goes. Only in a couple of chapters does he primarily show the screenshots of how the utility or feature gets setup.

The other point about the book is how he attempts to explain the intricate details about the code that Visual Studio generates, regarding the Connect.cs and .AddIn files generated by the template. This is important because even though the code is generated for you. Again, it’s not always clear what the code files are for and it’s good to get an overview of these files from the book, and their purpose.

Summary

This book help whet my appetite for developing extensions, and I hope to develop one that is functional. The one caveat to this book is that it left me wanting to know more about extensibility, and I thought a few topics were cut short from what they could have been. I agree no book is perfect and explains every subject as the readers desire, but I felt that a few more examples, or a larger example in an appendix would have been a benefit to the readers.

<<  Previous Article Continue reading and see our next or previous articles

About Brian Mains

Brian Mains is an application developer consultant with Computer Aid Inc. He formerly worked with the Department of Public Welfare. In both places of business, he developed both windows and web applications, small and large, using the latest .NET technologies. In addition, he had spent many hou...

This author has published 69 articles on DotNetSlackers. View other articles or the complete profile here.

Other articles in this category


Introduction to GhostDoc
GhostDoc is a free add-in for Visual Studio that helps developers writing XML documentation comments...
Lessons learned from Copy to Html Add-in
This article contains some lessons learned from creating an add-in for Visual Studio 2005 that adde...

You might also be interested in the following related blog posts


November's Toolbox Column Now Online read more
April's Toolbox Column Now Online read more
Create custom LINQ providers fluently read more
September's Toolbox Column Now Online read more
What is Softwaremaker doing now ? read more
August's Toolbox Column Now Online read more
October's Toolbox Column Now Online read more
Converting LINQ queries from query syntax to method/operator syntax read more
An Overview of Wrox Series read more
Book review: ASP.NET MVC 1.0 Quickly read more
Top
 
 
 

Please login to rate or to leave a comment.