SC.Microservice.Template
1.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install SC.Microservice.Template::1.1.1
This package contains a .NET Template Package you can call from the shell/command line.
SC.Microservice.Template
The application is written in the .Net - using .NET 6
Installation
Install the latest .NET 6 SDK
Install the dotnet new template:
dotnet new install SC.Microservice.Template::1.1.1
Create new project:
dotnet new sc-micro-sln -n MyProjectName
Database :
Db type support SQLServer or MariaDB or PostgerSQL.
Clean.API:
- Change ConnectionStrings in appsettings.json
Clean.Infrastructure:
- Change ServiceCollection in ConfigureServices
- Create local database
- Open View : Package Manager Console (Visual Studio). Change Default project to "microservices\Application\Clean.Infrastructure"
- Run command:
PM> Update-database
Inventory.API:
- Change ConnectionStrings in appsettings.json
Inventory.Infrastructure:
- Change ServiceCollection in ConfigureServices
- Create local database
- Open View : Package Manager Console (Visual Studio). Change Default project to "microservices\Inventory\Inventory.Infrastructure"
- Run command:
PM> Update-database
License
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.