Dataverse API Client
dotnet add package GarageGroup.Infra.Dataverse.Api
dotnet add package GarageGroup.Infra.Http.SocketsHandlerProvider
{
"Dataverse": {
"ServiceUrl": "",
"AuthTenantId": "",
"AuthClientId": "",
"AuthClientSecret": ""
}
}
public static Dependency<IDataverseApiClient> UseDataverseApiHandler()
=>
PrimaryHandler.UseStandardSocketsHttpHandler()
.UseLogging("DataverseApiHandler")
.UseDataverseApiClient("Dataverse");