Skip to content

How to launch Razor pages + using protoBuf + .Net Core3 (unstable at this moment)

License

Notifications You must be signed in to change notification settings

MishaVernik/gRPC-Core3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC-Core3

How to launch Razor pages + using protoBuf + .Net Core3 (unstable at this moment)

Rules to launch on Windows

Step 1

  • Open the project

Step 2

  • Build the project (you need to install Core3.0 sdk)

How to install .net core 3.0

Download via this link

  1. https://dotnet.microsoft.com/download/dotnet-core/3.0
  2. Restart Visual Studio 2019
  3. Activate checkbox "Use preview of the .Net Coe SDK" Blazor gRPC - Microsoft Visual Studio 7_14_2019 11_26_46 AM

Go to the menu-bar:

Tools - Options - Projects and Solutions - .Net Core
or
Tools - Options - Preview Features 

Step 3

  • Open cmd and go to this path where is your project located
example:
 c:\> g:
 g:\> cd grpc.Server
 g:\grpc.Server > dotnet build
 g:\grpc.Server > dotnet run -f netcoreapp3.0

rule3

By the way, you can use "Multiple start" in the Visual Studio

  1. Right-click on the Soluion
  2. Set StartUp Projects
  3. Use start in each drop list Blazor gRPC - Microsoft Visual Studio 7_13_2019 7_27_06 PM

Step 4

  • Open gRPC.Server project - Properties - launchSetting.json

Step 5

  • 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.
Blazor gRPC - Microsoft Visual Studio 7_13_2019 7_42_35 PM (2)

Step 6

  • Open gRPC.Client - Pages - Index.razor
Change to the remebmbered applicationUrl

Blazor gRPC - Microsoft Visual Studio 7_13_2019 7_45_39 PM (2)

Step 7

  • Run gRPC.Client gRPC Client - Google Chrome 7_13_2019 7_51_19 PM

That's all

But with the following updates you need to do some changes in the project file

Blazor gRPC - Microsoft Visual Studio 7_13_2019 7_54_37 PM (2)

About

How to launch Razor pages + using protoBuf + .Net Core3 (unstable at this moment)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published