This template is an ASP.NET API (.NET 7), ASP.NET Identity with cookies authentication, and it includes a React project. It is based on the ASP.NET Core with React.JS
(option without authentication) template available in Visual Studio SPA templates, but with the following additions:
- Entity Framework.
- ASP.NET Identity, along with scaffolded ASP.NET Identity UI pages and Razor Pages support.
- Configuration of cookies with
SameSite Strict
andHttpOnly
attributes. Auth
controller (optional).LoginMenu.js
component in React (optional).
Note: Another Visual Studio template is available here, which supports authentication through Duende Identity Server for implementing OpenID Connect.