Skip to content

Getting Started

Getting started is very easy, especially if you are using an ASP.Net application.

  1. Add the Nuget package.

    dotnet add package Imprevis.Dataverse.Service
    
  2. Register the service.

    If you are using an ASP.Net application, register the service in your Startup class.

    services.AddDataverseServices();
    

  3. Configure the service.

    Update your appsettings.json, secrets.json, etc.

    {
      "Dataverse": {
        "Services": [
          {
            "Name": "<ORGANIZATION_NAME>",
            "Id": "<ORGANIZATION_ID>",
            "Url": "<URL>",
            "ClientId": "<CLIENT_ID>",
            "ClientSecret": "<CLIENT_SECRET>"
          }
        ]
      }
    }