Skip to content

mmacneil/CleanAspNetCoreWebApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CleanAspNetCoreWebApi

Starter project for creating APIs built on ASP.NET Core using clean architecture based on this blog post.

Setup

  • Uses Sql Server Express LocalDB (If using Visual Studio install it under Individual Components in the Visual Studio installer or install separately using this link.
  • Apply database migrations to create the db. From a command line within the Web.Api.Infrastructure project folder use the dotnet CLI to run : Web.Api.Infrastructure>dotnet ef database update

Visual Studio

Simply open the solution file CleanAspNetCoreWebAPI.sln and build/run.

Visual Studio Code

Open the src folder and F5 to build/run.