Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[assembly: FunctionsStartup(typeof(UserApi.Startup))]
namespace UserApi
{
public class Startup : IWebJobsStartup
{
// public override void Configure(IFunctionsHostBuilder builder)
// {
// builder.Services.AddTransient<IDataProvider, MongoDataProvider>();
// }
public void Configure(IWebJobsBuilder builder)
{
builder.Services.RegisterDependencies();
builder.AddExtension<UserTokenExtensionProvider>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.