- ASP.NET Core 3.1
- Entity Framework Core 3.1
- .NET Core SDK 3.1
- Git client
- Visual Studio 2019
- SQL Server 2019
- Clone code from Github: git clone https://github.com/manhuynh12345/phoneShop.git
- Open solution eShopSolution.sln in Visual Studio 2019
- Set startup project is eShopSolution.Data
- Change connection string in Appsetting.json in eShopSolution.Data project
- Open Tools --> Nuget Package Manager --> Package Manager Console in Visual Studio
- Run Update-database and Enter.
- After migrate database successful, set Startup Project is eShopSolution.WebApp
- Change database connection in appsettings.Development.json in eShopSolution.WebApp project.
- Choose profile to run or press F5