diff --git a/aspnetcore/fundamentals/configuration/options.md b/aspnetcore/fundamentals/configuration/options.md index ed4bdcdc25..a231f1abe7 100644 --- a/aspnetcore/fundamentals/configuration/options.md +++ b/aspnetcore/fundamentals/configuration/options.md @@ -172,7 +172,7 @@ Named options support with [IConfigureNamedOptions](/dotnet/api/microsoft.extens *Requires ASP.NET Core 2.0 or later.* -*Named options* support allows the app to distinguish between named options configurations. In the sample app, named options are declared with the [ConfigureNamedOptions<TOptions>.Configure](/dotnet/api/microsoft.extensions.options.configurenamedoptions-1.configure) method: +*Named options* support allows the app to distinguish between named options configurations. In the sample app, named options are declared with the [OptionsServiceCollectionExtensions.Configure<TOptions>(IServiceCollection, String, Action<TOptions>)](/dotnet/api/microsoft.extensions.dependencyinjection.optionsservicecollectionextensions.configure) which in turn calls the extension method [ConfigureNamedOptions<TOptions>.Configure](/dotnet/api/microsoft.extensions.options.configurenamedoptions-1.configure) method: [!code-csharp[](options/sample/Startup.cs?name=snippet_Example6)]