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.
- Host: GitHub
- URL: https://github.com/mmacneil/CleanAspNetCoreWebApi
- Owner: mmacneil
- License: mit
- Created: 2018-09-21T16:39:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T07:56:56.000Z (over 1 year ago)
- Last Synced: 2024-11-08T02:53:31.352Z (8 months ago)
- Topics: architecture, aspnet-core, aspnet-web-api, c-sharp, clean-architecture, clean-code
- Language: C#
- Homepage: https://fullstackmark.com/post/18/building-aspnet-core-web-apis-with-clean-architecture
- Size: 86.9 KB
- Stars: 475
- Watchers: 29
- Forks: 158
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 fileCleanAspNetCoreWebAPI.sln
and build/run.# Visual Studio Code
Open thesrc
folder andF5
to build/run.