An open API service indexing awesome lists of open source software.

https://github.com/mmacneil/CleanAspNetCoreWebApi

Starter project for creating APIs built on ASP.NET Core using clean architecture.
https://github.com/mmacneil/CleanAspNetCoreWebApi

architecture aspnet-core aspnet-web-api c-sharp clean-architecture clean-code

Last synced: 2 months ago
JSON representation

Starter project for creating APIs built on ASP.NET Core using clean architecture.

Awesome Lists containing this project

README

        

# CleanAspNetCoreWebApi
Starter project for creating APIs built on ASP.NET Core using clean architecture based on [this blog post](https://fullstackmark.com/post/18/building-aspnet-core-web-apis-with-clean-architecture).

# 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](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-2016-express-localdb?view=sql-server-2017).
- 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.