I have questions about gRPC - my questions are based on coming from experience with IIS creating an application and then assigning an application pool. 1. if deployed on a windows server - how is that done ?, its not ASP web, and its not a windows
service either. How is it started and stopped ??? these installation details I cannot find or didnt look in right places. 2. Does it run continually or just spool up when called ? How would it be called - I see in the run on local host ) - so that makes
me feel like I would configure it under IIS and give it a app name. But its not supposed to normally run under IIS or ???? so how does that happen ?? Thanks
static async Task Main(string[] args) { var httpClient = new HttpClient(); httpClient.BaseAddress = new Uri("https://localhost:50051"); var client = GrpcClient.Create<Greeter.GreeterClient>(httpClient); var reply = await client.SayHelloAsync( new HelloRequest { Name = "GreeterClient" }); Console.WriteLine("Greeting: " + reply.Message); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); }
andrew