Basic setup

To setup the ImageVault client we need to go through the steps below

Requirements

The client API requires .net framework 4.0.

Download

To use the C# client API you need to download the ImageVault.Client NuGet package from NuGet.org. This package will install the needed assemblies and a sample configuration that is needed to connect to ImageVault Core.

Configuration

To connect to ImageVault core you need to supply a configuration to your application. The configuration is described in detail in the Configuration section but here follows an example.

<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="imagevault.client" type="ImageVault.Client.Configuration.ClientConfigurationSection, ImageVault.Client"/>
  </configSections>
  <imagevault.client>
    <authentication>
      <sdkIdentity key="demoSdkUser" secret="P@55w0rd!"/>
    </authentication>
    <imageVaultCore address="https://imagevault.se:9904/"/>
    <appSettings>
      <add key="enableClientCache" value="True"/>
      <add key="ImageVaultUiUrl" value="http://standalone.imagevault.se"/>
    </appSettings>
  </imagevault.client>
</configuration>
comments powered by Disqus