KenHaggerty.Com.SingleUser.Net6 1.0.2

.NET 6.0
Install-Package KenHaggerty.Com.SingleUser.Net6 -Version 1.0.2
dotnet add package KenHaggerty.Com.SingleUser.Net6 --version 1.0.2
<PackageReference Include="KenHaggerty.Com.SingleUser.Net6" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KenHaggerty.Com.SingleUser.Net6 --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KenHaggerty.Com.SingleUser.Net6, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install KenHaggerty.Com.SingleUser.Net6 as a Cake Addin
#addin nuget:?package=KenHaggerty.Com.SingleUser.Net6&version=1.0.2

// Install KenHaggerty.Com.SingleUser.Net6 as a Cake Tool
#tool nuget:?package=KenHaggerty.Com.SingleUser.Net6&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

An ASP.NET Core 6.0 Razor Class Library which provides cookie authentication for a single user to an ASP.NET Core Web Application. Implements Log In, Log Out, and Admin/Index pages. An optional password and page title class can be set in the host web app's appsettings.json.

Features

  • A ServiceExtension which adds cookie authentication.
  • Middleware which adds authentication to the ApplicationBuilder.
  • Supports Bootstrap V5 and V4.
  • Log In and Log Out pages reference the host's Shared/_Layout.cshtml.
  • A default Admin/Index page.
  • An optional password.
  • An optional SingleUserPageTitleClass.
  • A _SingleUserLoginPartial.cshtml and SingleUserLoginPartialModel.
  • A SingleUserLoginPartialModel NavLinkClass property.

See ASP.NET Core 6.0 - SingleUser NuGet Package

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 192 11/9/2021
1.0.1-rc 160 11/2/2021
1.0.0-rc 142 10/29/2021

v1.0.2 - 2021-11-08
-- General Availability - NET 6.0