Skip to content

Blastmanager/Blastmanager

Repository files navigation

Blastmanager

Package for public APIs

Install

dotnet add package Blastmanager
dotnet add package Blastmanager.Contractor

Setup

Best way to setup the client is through the host builder. This way the client will configure its HttpClients from the IHttpClientFactory and add all the needed clients into the DI as scoped services.

Minimal setup of clients

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSwaggerGen();

builder.Host.AddBlastManager(configure =>
{
    configure.Username = builder.Configuration["BlastManager:Username"]!;
    configure.Password  = builder.Configuration["BlastManager:Password"]!;
});

var app = builder.Build();
app.Run();

About

Package for public APIs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages