Skip to content

alirizaadiyahsi/AspNetCoreStarterKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asp Net Core Starter Kit

Modular monolithic Web API startup template.

Requirements

  • Visual Studio 2019 v16.3 or later for Windows.
  • Visual Studio 2019 for Mac v8.3 or later for macOS.

How to Start?

Local Environment

  • Select AspNetCoreStarterKit.WebApi project "Set as Startup Project"
  • Open "Package Manager Console" and select default project as src/AspNetCoreStarterKit.EntityFramework
  • Run update-database command to create database.
  • Run(F5 or CTRL+F5) Web API project first
  • Admin user name and password : admin/123qwe

Swagger UI Authorize

You can login on swagger ui by using a bearer token. So you can make requests to authorized end-points. Check the following steps.

  • In swagger ui, execute api/login to get a bearer token.
  • Copy bearer token that is in api/login response.
  • Click Authorize button in swagger ui page.
  • Enter the token like Bearer <token> and click Authorize.
  • Now you can make requests to authorized end-points.

Tags & Technologies

Lincense

MIT License

Releases

No releases published

Packages

No packages published

Languages