ArcDb.Client
0.1.1
dotnet add package ArcDb.Client --version 0.1.1
NuGet\Install-Package ArcDb.Client -Version 0.1.1
<PackageReference Include="ArcDb.Client" Version="0.1.1" />
<PackageVersion Include="ArcDb.Client" Version="0.1.1" />
<PackageReference Include="ArcDb.Client" />
paket add ArcDb.Client --version 0.1.1
#r "nuget: ArcDb.Client, 0.1.1"
#:package ArcDb.Client@0.1.1
#addin nuget:?package=ArcDb.Client&version=0.1.1
#tool nuget:?package=ArcDb.Client&version=0.1.1
ArcDB Client
A client for interacting with Arc (ArcDB) instances.
Getting Started
To use the Arc client, first install the package via NuGet:
dotnet add package ArcDb.Client
The client can be configured either via dependency injection or direct instantiation, depending on your application.
Using Dependency Injection
If your application uses dependency injection, register the client using the AddArcClient extension method:
services.AddArcClient( options =>
{
options.Url = "https://your-arcdb-instance";
options.Token = "your-access-token";
} );
You can then inject IArcClient wherever it’s needed:
public class MyService
{
public MyService( IArcClient arcClient )
{
}
}
Dependency injection support is optional and provided as a convenience.
Direct Instantiation
If you’re not using dependency injection (for example, in a console app or script), you can create the client directly:
var options = new ArcClientOptions
{
Url = "https://your-arcdb-instance",
Token = "your-access-token"
};
IArcClient client = new ArcClient( options );
ArcClient is safe to reuse and is intended to be long-lived (singleton).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Google.Protobuf (>= 3.34.1)
- Grpc.Net.Client (>= 2.80.0)
- Microsoft.Extensions.Options (>= 10.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.