Skip to content

MitarBrankovic/.net8-angular17-template-cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.