myesn

myEsn2E9

hi
github

Autofac: Inject dependencies from ServiceCollection

var services = new ServiceCollection();
services.AddHttpApi<ILaborApi>(options =>
{
    options.UseLogging = true;
    options.HttpHost = new Uri("http://zg.zhgdi.com:10000/");
});
autofac.Populate(services);
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.