Starter project for creating APIs built on ASP.NET Core using clean architecture based on this blog post.
- 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
Simply open the solution file CleanAspNetCoreWebAPI.sln
and build/run.
Open the src
folder and F5
to build/run.