Skip to content

mmacneil/CleanAspNetCoreWebApi

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

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.