View Code? Open in Web Editor
NEW
A project to start working with Dot Net Core 3.1
foodautomation's Introduction
A project to start working with Dot Net Core 3.1
Follow these instructions:
- dotnet new webapi
- rm WeatherForecast.cs
- rm Controllers/WeatherForecastController.cs
- dotnet add package Microsoft.EntityFrameworkCore.SqlServer
- dotnet add package Microsoft.AspNetCore.Mvc.NewtonsoftJson
create .gitignore file and add :
- bin/
- obj/
- FoodAutomation.csproj
- appsettings.json
- appsettings.Development.json
- Properties
- dotnet tool install --global dotnet-ef
- dotnet-ef dotnet add package Microsoft.EntityFrameworkCore.Design
- dotnet ef migrations add InitialCreate
- dotnet ef database update
and customize DBstring in the ./DBContext.cs
foodautomation's People
Contributors
Stargazers
Watchers