Obtaining and Referencing Vizit.API and Vizit.API.Interfaces

Obtaining the DLLs

Almost all of Vizit's custom APIs require you to reference the Vizit.API and Vizit.API.Interfaces DLLs in your project. The easiest way to do this is to download the DLLs from the below links. Use the appropriate version of the DLLs for your production environment: 

6.1, 2010http://files.vizit.com/public/CodeSamples/6.1%20DLLs%202010.zip

6.1, 2013http://files.vizit.com/public/CodeSamples/6.1%20DLLs%202013.zip

6.2, 2010http://files.vizit.com/public/CodeSamples/6.2%20DLLs%202010.zip

6.2, 2013http://files.vizit.com/public/CodeSamples/6.2%20DLLs%202013.zip

 

If you need to use DLLs from an older version of Vizit though, follow the instructions below to extract them:

Follow these instructions to extract the assemblies from the Vizit solution:

  1. Run the Vizit installer on a non-SharePoint machine. The installer will prompt for a location to place the contained WSP file. Save it to a known location.
  2. Change the extension of the WSP file to ".cab".
  3. Double click on the .cab file to open it.
  4. Locate the Vizit.API.dll and Vizit.API.Interfaces.dll files and save them to a known location.
  5. You can now make a reference to these assemblies in projects. Vizit.API makes direct calls to other Vizit assemblies which, in turn, make direct calls to Microsoft.SharePoint assemblies. Any code that makes calls to Vizit.API must be run on a SharePoint server with a licensed copy of Vizit installed.

Referencing the DLLs

Extract and save the DLLs to a known location. You can now make a reference to these assemblies in your project. Vizit.API makes direct calls to other Vizit assemblies which, in turn, make direct calls to Microsoft.SharePoint assemblies. Any code that makes calls to Vizit.API must be run on a SharePoint server with a licensed copy of Vizit installed. You can write your custom code in any environment, but to test it, you must run it on the aforementioned Sharepoint server with a licensed copy of Vizit.

A Note on Deployment

Just like with Microsoft.SharePoint assemblies, the Vizit.API and Vizit.API.Interfaces assemblies should not be included in your deployment. The code making calls to Vizit.API must be run on a SharePoint server with Vizit installed. The Vizit.API and Vizit.API.Interfaces assemblies that correspond with the currently installed release will be deployed through Vizit's solution file. The version number of the Vizit.API and Vizit.API.Interfaces assemblies will remain 1.0.0.0.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk