Created
June 9, 2019 11:39
-
-
Save kasunkv/1dfb21cf79c383ca98af909e2071d25d to your computer and use it in GitHub Desktop.
Azure Functions V2 Startup Class
This file contains hidden or 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(Startup))] | |
namespace Function.DependencyInjection.Timer | |
{ | |
public class Startup : FunctionsStartup | |
{ | |
public override void Configure(IFunctionsHostBuilder builder) | |
{ | |
builder.Services.AddScoped<IHelloService, HelloService>(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment