ASP.NET Core 6.0 - Hosted SingleUser Class Lib Project
This solution has 2 projects, a web app host and the KenHaggerty.Com.SingleUser.Net6 Razor Class Library. The web app host project has been upgraded to ASP.NET Core 6.0 with Visual Studio 2022 from the ASP.NET Core 5.0 project. I migrated the Startup.cs to top-level statements in Program.cs. I also implemented global usings and file scoped namespaces. I have enabled the nullable context and mitigated all warnings and issues. I have updated the project with Twitter Bootstrap v5. See ASP.NET Core 5.0 - Migrate To Bootstrap v5. This project implements Bootstrap Native. Registered users on KenHaggerty.Com can download the source code for free at Manage > Assets.
The .Net 5.0 RCL project, KenHaggerty.Com.SingleUser Razor Class Library is the result of a web app I developed. It was a simple web app which had Log In, Log Out, and Admin pages. I used a hard-coded user and cookie authentication to restrict access to Admin pages. Copying the pages into new projects was easier than copying the project and renaming the namespaces. I realized implementing authentication for a single user was the perfect candidate for my first NuGet package.
The .Net 6.0 RCL project, KenHaggerty.Com.SingleUser.Net6 Razor Class Library has been upgraded to ASP.NET Core 6.0 with Visual Studio 2022 from the ASP.NET Core 5.0 project. I implemented global usings and file scoped namespaces. I have enabled the nullable context and mitigated all warnings and issues. I also implemented an optional SingleUserPageTitleClass and a SingleUserLoginPartialModel with a NavLinkClass property. The RCL project is a copy of the source code used to publish the NuGet package at KenHaggerty. Com. SingleUser. Net6. See the article, ASP.NET Core 6.0 - SingleUser NuGet Package.
V1.0.3 - MIT License - Free Access Fee - HostedSingleUserClassLibNet6Project@1.0.3.zip - 609,812 bytes
Not accepting new comments.
Your comment has been submitted.
You will be emailed when approved.
Submit your comment. Comments are moderated.
DisplayedName - Member Since ?
Change Log
v1.0.2 - 2021-11-08
-- General Availability - NET 6.0
v1.0.1-rc - 2021-11-01
-- Updated UI
-- Updated NuGet Listing
v1.0.0-rc - 2021-10-27
-- Release Canidate - NET 6.0.RC3
-- Migrated from .Net 5.0
-- Implemented Page Title css class
-- Implemented SingleUserLoginPartialModel
-- Implemented GlobalUsings
-- Implemented File Scoped Namespaces
Web Host
v1.0.3 - 2021-12-24
-- Updated Bootstrap-Native@4.0.7
-- Continuity and bug fixes
v1.0.2 - 2021-11-08
-- General Availability - NET 6.0
-- Verified KenHaggerty.Com.SingleUser.Net6@v1.0.2
-- Updated Sample Privacy Page
-- Continuity and bug fixes
v1.0.1 - 2021-11-01
-- Verified KenHaggerty.Com.SingleUser.Net6@v1.0.1-rc
-- Updated Check For Update
v1.0.0 - 2021-10-27
-- Release Canidate - NET 6.0.RC3
-- Implemented KenHaggerty.Com.SingleUser.Net6
-- Implemented GlobalUsings
-- Implemented File Scoped Namespaces
Comments(0)