Created
December 28, 2019 23:57
-
-
Save xximjasonxx/43d45d05da2602bdc2995a031e6df8ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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