How to launch Razor pages + using protoBuf + .Net Core3 (unstable at this moment)
- Open the project
- Build the project (you need to install Core3.0 sdk)
Download via this link
- https://dotnet.microsoft.com/download/dotnet-core/3.0
- Restart Visual Studio 2019
- Activate checkbox "Use preview of the .Net Coe SDK"
Go to the menu-bar:
Tools - Options - Projects and Solutions - .Net Core
or
Tools - Options - Preview Features
- Open cmd and go to this path where is your project located
c:\> g:
g:\> cd grpc.Server
g:\grpc.Server > dotnet build
g:\grpc.Server > dotnet run -f netcoreapp3.0
- Open gRPC.Server project - Properties - launchSetting.json
- Remember gRPC.Server - applicationUrl
(at the first glance it seems ridiculous, but Windows wishes you all the best). Every time, when you restart Visual Studio/Restart Windows, applicationUrl changes. So do not worry if your application does not work by chance.
- Open gRPC.Client - Pages - Index.razor