AspNetCore.Docs/aspnetcore/security/authentication/samples.md

3.5 KiB

title author description ms.author ms.date uid
Authentication samples for ASP.NET Core rick-anderson Provides links to the authentication samples in the ASP.NET Core repository. riande 01/31/2019 security/authentication/samples

Authentication samples for ASP.NET Core

By Rick Anderson

::: moniker range=">= aspnetcore-3.0"

The ASP.NET Core repository contains the following authentication samples in the AspNetCore/src/Security/samples folder:

Run the samples

  • Select a branch. For example, Tag:v3.0.0
  • Clone or download the ASP.NET Core repository.
  • Verify you have installed the .NET Core SDK version matching the clone of the ASP.NET Core repository.
  • Navigate to a sample in AspNetCore/src/Security/samples and run the sample with dotnet run.

::: moniker-end

::: moniker range="< aspnetcore-3.0"

The ASP.NET Core repository contains the following authentication samples in the AspNetCore/src/Security/samples folder:

Run the samples

  • Select a branch. For example, release/2.2
  • Clone or download the ASP.NET Core repository.
  • Verify you have installed the .NET Core SDK version matching the clone of the ASP.NET Core repository.
  • Navigate to a sample in AspNetCore/src/Security/samples and run the sample with dotnet run.

::: moniker-end