From ce17d2831bc54dcdda01f66e06baad4d4d844868 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:02:31 -1000 Subject: [PATCH] Update identity.md --- aspnetcore/security/authentication/identity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/security/authentication/identity.md b/aspnetcore/security/authentication/identity.md index b43d289abe..439b1dd63c 100644 --- a/aspnetcore/security/authentication/identity.md +++ b/aspnetcore/security/authentication/identity.md @@ -106,7 +106,7 @@ Run the app and register a user. Depending on your screen size, you might need t Services are added in `Program.cs`. The typical pattern is to call methods in the following order: 1. `Add{Service}` -1. `Services.Configure{Service}` +1. `builder.Services.Configure{Service}` [!code-csharp[](identity/sample/WebApp6x/Program.cs?name=snippet_)]