From 22dfea41d2d1bdeae3876028cf7b7200911e3ddb Mon Sep 17 00:00:00 2001 From: Christopher House Date: Mon, 11 May 2020 14:01:52 -0500 Subject: [PATCH] Updated README sample code to show base class for Startup (#5) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f9cf7f..c407426 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ The `IServiceProvider` will automatically be created for you, so there's nothing ```C# +using Microsoft.Azure.Functions.Extensions.DependencyInjection; + [assembly: FunctionsStartup(typeof(Startup))] -public class Startup +public class Startup : FunctionsStartup { public override void Configure(IFunctionsHostBuilder builder) {