MitarBrankovic / .net8-angular17-template-cookie

.net8-angular17-template-cookie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASP.NET Core 8.0 and Angular 17 project template

This template is simplified version of Jason-Taylor template. ASP.NET Identity library is used for authorization and authentification via cookie.

How to use it?

  • clone / download
  • rename solution (optional)
  • change connection string in appsettings.json
  • add APIs for google and facebook login in appsettings.json (optional)
  • start TemplateBackend.Web for .Net application
  • npm i --> npm start for Angular application

Rename solution

  • rename solution in Visual studio
  • close solution
  • rename folder
  • right click on sln file in file explorer --> Edit in notepad --> change folder names of projects
  • change all namespaces in project with Visual studio using replace all

More info at link1 and link2.

Certificate development expiration

  • go to $\"%APPDATA%\\ASP.NET\\https\" on windows or $\"$HOME/.aspnet/https/ on linux and delete all certificates (key and pem files)
  • restart computer
  • start application - certificates will be generated again

More info at link.

About

.net8-angular17-template-cookie


Languages

Language:C# 67.3%Language:TypeScript 10.4%Language:HTML 9.8%Language:PowerShell 6.2%Language:Bicep 4.8%Language:SCSS 0.9%Language:JavaScript 0.7%