A very simple interface (IAsyncOptionsProvider<TOptions>) and IServiceCollection extension method (ConfigureAsyncOptions<TOptions>) for handling options that need to be populated asynchronously at runtime in Asp.Net's DI framework.
Info
Version: | 1.0.0 |
Author(s): | Brady Marston |
Last Update: | Wednesday, February 5, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/ShadySoft.AsyncOptions |
Install
Install-Package ShadySoft.AsyncOptions
dotnet add package ShadySoft.AsyncOptions
paket add ShadySoft.AsyncOptions
ShadySoft.AsyncOptions Download (Unzip the "nupkg" after downloading)