|By Aaron Brethorst||
|June 29, 2005 04:00 PM EDT||
The Visual Studio 2005 Beta 2 SDK allows you to build rich, deeply integrated new features into Visual Studio. The functionality you have access to through the SDK is identical to the functionality used by many teams within the Visual Studio organization here in Microsoft to develop new features for Visual Studio. Essentially, using our SDK will give you the same access to the Visual Studio Platform that is used to build in the majority of cool new features you'll find in Visual Studio 2005.
Have you ever thought of a killer feature you would love to see in Visual Studio? Maybe you want to add support for a new programming language, or you have an idea for a new GUI designer tool. You can add support for virtually anything to Visual Studio through the SDK.
This article will get you up to speed on downloading, installing, and familiarizing yourself with the Visual Studio SDK. We will walk through the fundamental parts of the SDK, and then build our first Package, which will be a customized version of the Visual Studio Task List.
The Task List (see Figure 1) stores several types of data. First, it stores tasks you create, like Outlook. Second, it parses your solution's source code for special tokens in comments like "TODO," "HACK," "UNDONE," and "UnresolvedMergeConflict," and dynamically adds these to its list.
The Visual Studio SDK provides deep, feature-rich access to virtually every part of Visual Studio. This includes all of the data used by the Task List, which we will end up using later on.
To get started you will need the Visual Studio 2005 Beta 2 SDK. Go to http://msdn.microsoft.com/vstudio/extend/ and look for the link entitled Download Visual Studio 2005 SDK 2005 Beta 2. Once you have downloaded the SDK, go ahead and install it.
The SDK installer will add several new components to Visual Studio. A new SDK help collection will be added to Visual Studio's Help System to provide you with conceptual information and specific technical details on using all of the functionality in the SDK. Several new project templates will be added to Visual Studio; these can be accessed through the New Project Dialog's Project Types tree under Other Project Types:Extensibility. Finally, a new entry will be added to the Start Menu.
After installing the SDK, the Start Menu will have two shortcuts to Visual Studio. One is entitled Visual Studio 2005 Beta 2, and the other is Microsoft Visual Studio 2005 Experimental. The normal version - the same one you use for Winforms and ASP.Net apps - is where you will write your extensions to Visual Studio. The Experimental version is where you will go to test them.
The Experimental version isolates its Registry data from the rest of Visual Studio 2005. If you examine the Registry hive HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio you will find a hive for 8.0 and one for 8.0Exp, an exact clone used for VS SDK development. This "sandbox" gives you the freedom to experiment without worrying about destroying your normal VS installation.
You can launch the Experimental version of Visual Studio in three different ways. First, by running Visual Studio with the command line switch "/RootSuffix Exp," like this: Devenv /RootSuffix Exp. Second, when you debug an SDK Project it will load up under the Experimental version by default. Third, you can choose the Start Menu link to Visual Studio 2005 Experimental.
Visual Studio Extensibility Methods
There are three means by which you can extend Visual Studio. The first is by writing a Macro. They are created through the Macros IDE, which is available under the Tools menu inside Visual Studio. Macros are written in Visual Basic.
Second, you can write an Add-in. These are built as DLLs, and can be written in several different languages, including C#, Visual Basic, and native C++. You can create a new Add-in by choosing the Visual Studio Add-in project type in the New Project Dialog.
Both Macros and Add-ins use Visual Studio's Automation Object Model to customize Visual Studio. The Automation system can be used to add new commands to toolbars and menus, create new tool windows, or automate certain tasks that you perform regularly in Visual Studio.
The third way in which you can extend Visual Studio is by creating a Visual Studio Package. The Package approach allows you to integrate far more deeply into Visual Studio. For example, it gives you the ability to add new programming languages to Visual Studio. For our purposes here we will be working at the Package level.
Creating Your Package
Launch the normal, non-Experi-mental, version of Visual Studio 2005. First, you will want to create a new Visual Studio Package. Open the New Project Dialog (File -> New -> New Project). Drill down into the Project Types tree view by expanding the Other Project Types node and selecting Extensibility. You will find four Project Templates available in this category:
- Visual Studio Add-in lets you create an Add-in for Visual Studio, as discussed above
- Shared Add-in lets you create an Add-in that usable inside of Microsoft Office
- Visual Studio Language Package gives you the ability to integrate new languages into Visual Studio
- Visual Studio Integration Package creates a new Package in either native C++ or managed C# that can be used to build custom editors, tool windows, or anything else that you can imagine adding to Visual Studio.
Next we'll walk through the Visual Studio Integration Package wizard. The first page of the Wizard introduces you to the SDK development experience; press Next. The Wizard's second page asks you to choose the programming language you want to use for development. Select C# here. The default options for assembly signing are sufficient (see Figure 3).
The third page will ask you for detailed information about your project. Enter an appropriate company name in the provided field. Under VSPackage name, enter "Tasklist Sample." VSPackage version can be left at 1.0. Minimum Visual Studio edition allows you to choose which editions of Visual Studio your Package will work under. For our purposes, this should be set to Standard, but if your project depended on functionality only available in certain editions, you would be able to set this restriction here. Finally, enter some descriptive text in the Detailed information textbox, which will be shown in the Help.About dialog. Press Next.
Container technology is shaping the future of DevOps and it’s also changing the way organizations think about application development. With the rise of mobile applications in the enterprise, businesses are abandoning year-long development cycles and embracing technologies that enable rapid development and continuous deployment of apps. In his session at DevOps Summit, Kurt Collins, Developer Evangelist at Built.io, examined how Docker has evolved into a highly effective tool for application delivery by allowing increasingly popular Mobile Backend-as-a-Service (mBaaS) platforms to quickly crea...
Nov. 30, 2015 06:00 AM EST Reads: 382
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound effect on the world, and what should we expect to see over the next couple of years.
Nov. 30, 2015 05:30 AM EST Reads: 493
Growth hacking is common for startups to make unheard-of progress in building their business. Career Hacks can help Geek Girls and those who support them (yes, that's you too, Dad!) to excel in this typically male-dominated world. Get ready to learn the facts: Is there a bias against women in the tech / developer communities? Why are women 50% of the workforce, but hold only 24% of the STEM or IT positions? Some beginnings of what to do about it! In her Day 2 Keynote at 17th Cloud Expo, Sandy Carter, IBM General Manager Cloud Ecosystem and Developers, and a Social Business Evangelist, wil...
Nov. 30, 2015 04:00 AM EST Reads: 606
PubNub has announced the release of BLOCKS, a set of customizable microservices that give developers a simple way to add code and deploy features for realtime apps.PubNub BLOCKS executes business logic directly on the data streaming through PubNub’s network without splitting it off to an intermediary server controlled by the customer. This revolutionary approach streamlines app development, reduces endpoint-to-endpoint latency, and allows apps to better leverage the enormous scalability of PubNub’s Data Stream Network.
Nov. 30, 2015 04:00 AM EST Reads: 347
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user experience, both offline and online. The focus of this talk was on IBM Cloudant, Apache CouchDB, and ...
Nov. 30, 2015 03:45 AM EST Reads: 435
I recently attended and was a speaker at the 4th International Internet of @ThingsExpo at the Santa Clara Convention Center. I also had the opportunity to attend this event last year and I wrote a blog from that show talking about how the “Enterprise Impact of IoT” was a key theme of last year’s show. I was curious to see if the same theme would still resonate 365 days later and what, if any, changes I would see in the content presented.
Nov. 30, 2015 02:00 AM EST Reads: 448
Today air travel is a minefield of delays, hassles and customer disappointment. Airlines struggle to revitalize the experience. GE and M2Mi will demonstrate practical examples of how IoT solutions are helping airlines bring back personalization, reduce trip time and improve reliability. In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect with GE, and Dr. Sarah Cooper, M2Mi’s VP Business Development and Engineering, explored the IoT cloud-based platform technologies driving this change including privacy controls, data transparency and integration of real time context with p...
Nov. 30, 2015 02:00 AM EST Reads: 446
Cloud computing delivers on-demand resources that provide businesses with flexibility and cost-savings. The challenge in moving workloads to the cloud has been the cost and complexity of ensuring the initial and ongoing security and regulatory (PCI, HIPAA, FFIEC) compliance across private and public clouds. Manual security compliance is slow, prone to human error, and represents over 50% of the cost of managing cloud applications. Determining how to automate cloud security compliance is critical to maintaining positive ROI. Raxak Protect is an automated security compliance SaaS platform and ma...
Nov. 30, 2015 12:00 AM EST Reads: 449
The Internet of Things (IoT) is growing rapidly by extending current technologies, products and networks. By 2020, Cisco estimates there will be 50 billion connected devices. Gartner has forecast revenues of over $300 billion, just to IoT suppliers. Now is the time to figure out how you’ll make money – not just create innovative products. With hundreds of new products and companies jumping into the IoT fray every month, there’s no shortage of innovation. Despite this, McKinsey/VisionMobile data shows "less than 10 percent of IoT developers are making enough to support a reasonably sized team....
Nov. 29, 2015 02:00 PM EST Reads: 488
Just over a week ago I received a long and loud sustained applause for a presentation I delivered at this year’s Cloud Expo in Santa Clara. I was extremely pleased with the turnout and had some very good conversations with many of the attendees. Over the next few days I had many more meaningful conversations and was not only happy with the results but also learned a few new things. Here is everything I learned in those three days distilled into three short points.
Nov. 29, 2015 01:00 PM EST Reads: 358
DevOps is about increasing efficiency, but nothing is more inefficient than building the same application twice. However, this is a routine occurrence with enterprise applications that need both a rich desktop web interface and strong mobile support. With recent technological advances from Isomorphic Software and others, rich desktop and tuned mobile experiences can now be created with a single codebase – without compromising functionality, performance or usability. In his session at DevOps Summit, Charles Kendrick, CTO and Chief Architect at Isomorphic Software, demonstrated examples of com...
Nov. 29, 2015 12:45 PM EST Reads: 423
As organizations realize the scope of the Internet of Things, gaining key insights from Big Data, through the use of advanced analytics, becomes crucial. However, IoT also creates the need for petabyte scale storage of data from millions of devices. A new type of Storage is required which seamlessly integrates robust data analytics with massive scale. These storage systems will act as “smart systems” provide in-place analytics that speed discovery and enable businesses to quickly derive meaningful and actionable insights. In his session at @ThingsExpo, Paul Turner, Chief Marketing Officer at...
Nov. 29, 2015 12:30 PM EST Reads: 428
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Nov. 29, 2015 12:00 PM EST Reads: 530
In his General Session at 17th Cloud Expo, Bruce Swann, Senior Product Marketing Manager for Adobe Campaign, explored the key ingredients of cross-channel marketing in a digital world. Learn how the Adobe Marketing Cloud can help marketers embrace opportunities for personalized, relevant and real-time customer engagement across offline (direct mail, point of sale, call center) and digital (email, website, SMS, mobile apps, social networks, connected objects).
Nov. 29, 2015 11:45 AM EST Reads: 334
The Internet of Everything is re-shaping technology trends–moving away from “request/response” architecture to an “always-on” Streaming Web where data is in constant motion and secure, reliable communication is an absolute necessity. As more and more THINGS go online, the challenges that developers will need to address will only increase exponentially. In his session at @ThingsExpo, Todd Greene, Founder & CEO of PubNub, exploreed the current state of IoT connectivity and review key trends and technology requirements that will drive the Internet of Things from hype to reality.
Nov. 29, 2015 09:45 AM EST Reads: 455
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessions, I wanted to share some of my observations on emerging trends. As cyber security serves as a fou...
Nov. 29, 2015 09:15 AM EST Reads: 347
We all know that data growth is exploding and storage budgets are shrinking. Instead of showing you charts on about how much data there is, in his General Session at 17th Cloud Expo, Scott Cleland, Senior Director of Product Marketing at HGST, showed how to capture all of your data in one place. After you have your data under control, you can then analyze it in one place, saving time and resources.
Nov. 29, 2015 08:45 AM EST Reads: 234
With all the incredible momentum behind the Internet of Things (IoT) industry, it is easy to forget that not a single CEO wakes up and wonders if “my IoT is broken.” What they wonder is if they are making the right decisions to do all they can to increase revenue, decrease costs, and improve customer experience – effectively the same challenges they have always had in growing their business. The exciting thing about the IoT industry is now these decisions can be better, faster, and smarter. Now all corporate assets – people, objects, and spaces – can share information about themselves and thei...
Nov. 29, 2015 08:00 AM EST Reads: 284
The cloud. Like a comic book superhero, there seems to be no problem it can’t fix or cost it can’t slash. Yet making the transition is not always easy and production environments are still largely on premise. Taking some practical and sensible steps to reduce risk can also help provide a basis for a successful cloud transition. A plethora of surveys from the likes of IDG and Gartner show that more than 70 percent of enterprises have deployed at least one or more cloud application or workload. Yet a closer inspection at the data reveals less than half of these cloud projects involve production...
Nov. 29, 2015 07:00 AM EST Reads: 503
Continuous processes around the development and deployment of applications are both impacted by -- and a benefit to -- the Internet of Things trend. To help better understand the relationship between DevOps and a plethora of new end-devices and data please welcome Gary Gruver, consultant, author and a former IT executive who has led many large-scale IT transformation projects, and John Jeremiah, Technology Evangelist at Hewlett Packard Enterprise (HPE), on Twitter at @j_jeremiah. The discussion is moderated by me, Dana Gardner, Principal Analyst at Interarbor Solutions.
Nov. 29, 2015 06:45 AM EST Reads: 746