Skip to content

About

A simple ASP.NET Core Web API & MVC starter with MVC Based Authentication.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

MVCWebApiStarter

A simple ASP.NET Core Web API & MVC starter with MVC Based Authentication.


Prerequisites

  1. dotnet sdk v2.2
  2. Your favorite editor / IDE (I prefer Visual Studio Code & Visual Studio 2019)

Get Started

  1. Download the template (MVCWebApiStarter.zip)
  2. Install it
  3. Set these environment variables using user-secrets:
dotnet user-secrets set "ConnectionStrings:DefaultConn" "Data Source=App.db"
dotnet user-secrets set "Jwt:Issuer" "https://example.com"
dotnet user-secrets set "Jwt:Audience" "https://example.com"
dotnet user-secrets set "Jwt:SigningKey" "SUPERSECRETLONGSIGNINGKEY"
  1. Now, issue these commands in the project directory:
dotnet restore
dotnet build
dotnet ef database update
dotnet run
  1. Build amazing apps.
  2. Profit.

About

A simple ASP.NET Core Web API & MVC starter with MVC Based Authentication.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages