C# Client

The C# client is compatible with .NET Framework version 4.0 and above.

Configure the project

In a Visual Studio project, it is necessary to include the DLL files available in the NuGet website.

To configure the project with DLLs from NuGet, follow these steps:

  1. Open the project.

  2. Open the Solution Explorer.

  3. Find the References node in the project tree.

  4. Click right and choose Manage NuGet Packages....

  5. In the Search field, type: "neotys design".

  6. Select dependency name: "NeotysRestDesignAPI".

  7. Click the Install button.

Create the C# Design API client

Copy
using Neotys.DesignAPI.Client;
namespace Design
{
    class CreateClient
    {
        static void Main(string[] args)
        {
            string url = "http://localhost:7400/Design/v1/Service.svc/";
            IDesignAPIClient client = DesignAPIClientFactory.NewClient(url);
        }
    }
}