Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Using the NuGet Service Bus Package

Updated: June 12, 2015

The Microsoft Azure Service Bus NuGet package is the easiest way to reference Service Bus APIs and to configure your application with all of the Service Bus dependencies.

NuGet is a Visual Studio extension that makes it easy to install and update libraries and tools in Visual Studio and Visual Studio Express. To install NuGet, visit http://www.nuget.org, and click Install NuGet. You are directed to the latest download for the NuGet Package Manager. Click the appropriate link for the version you want to download, and when prompted, click Open. This installs the Visual Studio extension. If you have Visual Studio or Visual Studio Express running, you are prompted to restart the application in order to complete the installation.

The Service Bus libraries are bundled into a NuGet package. When you add the NuGet package to a project within Visual Studio, it adds the latest version of the Service Bus libraries to your project, adds the necessary assembly references, and modifies your configuration file (or adds one if it did not previously exist) to add all known Service Bus extensions. Complete the following steps to add the Service Bus NuGet package to your project:

  1. In Solution Explorer, right-click on the References directory and click Manage NuGet Packages.

  2. In the Manage NuGet Packages dialog, click the Online tab.

  3. In the search query box, type Service Bus and then click Enter.

  4. In the results list, select Microsoft Azure Service Bus and click the Install button. The package will be added to your project.

  5. Click the Close button to close the Manage NuGet Packages dialog.

If your Visual Studio solution includes multiple projects, you must add the package to each project separately.

Show:
© 2015 Microsoft