Skip to content

⭐This is boilerplate .net architecture using for all monolith project with .net core 3.1

Notifications You must be signed in to change notification settings

huynhquangvinh01121999/CleanArchitech.Solution.v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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.

Setup before build app

1. Open package manager console -> Update-database

2. Import data customer to test. Open file script in Application -> Scripts -> copy all text in QuerySample1kCustomers.sql

3. Paste text to excute query in sql server