gRPC Setup - NeoSOFT-Technologies/rest-dot-net-core GitHub Wiki
Description
You can create clean architecture project with gRPC either by using CLI or Visual Studio 2022
First We need to install clean architecture template using CLI and the command for the same is
dotnet new --install Neosoft.Technologies.Templates::1.1.3
The template is successfully installed.
Creating project using CLI
-
In the command prompt head over to the folder where you want to create project and enter the following command =>
dotnet new neotech-ca -db MSSQL -com GRPC
Your project is created successfully.
By using Visual Studio 2022
- In the visual studio select Neosoft Technologies Clean Architecture (Neosoft Technologies) template and click next
-
Give a name to your project and click next
-
Now select GRPC from Communication Protocol dropdown and click create
Your project is created successfully.
Code
The changes are reflected in the following files-
-
Added GRPC Project