Getting Started Guide


To get started using Chargify.NET, you'll need a .NET v3.5 project (either ASP.NET Forms, ASP.NET MVC or Windows Azure-based). You now have the choice of either referencing the Chargify.NET library manually, or by using the new NuGet .NET package manager.

Manual reference

First, browse to here and click the download button. This download contains the files you will need to reference before you can begin to use Chargify.NET in any project. To add a reference, do the following:

  1. Right click on the project in the Solution Explorer
  2. Select "Add Reference..." which will pop open the "Add Reference" dialog.
  3. Select the "Browse" tab and, using the file-browser, find the ChargifyNET.dll file you wish to reference. This will be the one you extracted previously from the download from this site.
  4. Click "OK". This will add the reference to your project, allowing you to begin using it.

How to Add a "Package Reference" via NuGet

To get started with Chargify.NET using NuGet, you will need to install the NuGet Visual Studio extension. Please visit the NuGet "Getting Started" guide to learn how to install this extension, and using the package manager (UI or console) install a package. To add a package reference, do the following:

  1. Right click on the project in the Solution Explorer that you wish to add a package reference too.
  2. Select "Add Package Reference..." which will pop open the "Add Package Reference" dialog.
  3. Locate Chargify.NET in the list of packages available
  4. Click the "Install" button for the Chargify.NET entry in that list. This will cause NuGet to download the latest version and install it into your project. It will also attempt to modify your web.config to add the necessary entries to allow you to add the details of your Chargify account in order to begin using the library.

You can also install via the package manager console using the following command: Add-Package chargify


To begin using the Chargify.NET library into your application, you need to create an instance of the ChargifyConnect class. If you are using ASP.NET Web Forms, you can use the ChargifyPage class which exposes a property for a great way to start accessing your Chargify account quickly.

Last edited Nov 26, 2010 at 4:36 PM by djbyter, version 10


No comments yet.