Skip to content

Commit 99a534c

Browse files
authored
Remove reference to old package in 3.0 section (#20094)
1 parent 173daad commit 99a534c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

aspnetcore/security/authentication/cookie.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ For demonstration purposes in the sample app, the user account for the hypotheti
2222

2323
## Configuration
2424

25-
If the app doesn't use the [Microsoft.AspNetCore.App metapackage](xref:fundamentals/metapackage-app), create a package reference in the project file for the [Microsoft.AspNetCore.Authentication.Cookies](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Cookies/) package.
26-
2725
In the `Startup.ConfigureServices` method, create the Authentication Middleware services with the <xref:Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions.AddAuthentication*> and <xref:Microsoft.Extensions.DependencyInjection.CookieExtensions.AddCookie*> methods:
2826

2927
[!code-csharp[](cookie/samples/3.x/CookieSample/Startup.cs?name=snippet1)]

0 commit comments

Comments
 (0)