Quick Start¶
This is a quick Guide to get started quickly.
Dotnet Console App¶
- Install Nuget Package: “AllSafe.Client”
- Register “IAllSafe” Interface
1 2 3 4 5 | var section = this.Configuration.GetSection("yourSection");
var cfg = section.Get<ApiConfiguration>();
services.AddSingleton<IAllSafeConfig>(cfg);
services.AddScoped<IAllSafe, AllSafeClient>();
|