I am trying to accomplish the following: I have a asp.net core 3.1 running a gRPC service.
During the lifetime of the application I want to be able to Pause/Stop the endpoint/Server from listening/accepting requests and after a while resuming it.
Just to clarify I don't want to stop the process
I couldn't find any Kestrel commands relating to it, any help will be appreciated