How to run simple C# server that expose gRPC communication

ronil21 0 Reputation points
2023-09-16T13:41:11.0066667+00:00

I am new to cloud computing and Azure,
I've developed a basic .NET Core server that contains gRPC communication.
My objective now is to determine the most cost-effective approach to deploy and run this server on Azure,
given the limited expected usage – approximately 50 requests per week.
Additionally, the server includes a PostgreSQL database that won't store a substantial amount of data.

any suggestion on how to host it on azure?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
Developer technologies .NET Other
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2023-09-18T06:36:02.9766667+00:00

    Hi ronil21,

    As per your requirements mentioned in the question, I recommend to use App Service in Microsoft Azure to host your gRPC application. I recommend you to read the following article to understand how can you consider various appservice plan and cost optimizations.

    https://learn.microsoft.com/en-us/azure/well-architected/services/compute/azure-app-service/cost-optimization

    Now the support to host gRPC in Azure App Service, the gRPC support is announced September 2022.

    https://azure.microsoft.com/en-us/updates/public-preview-grpc-support-in-azure-app-service/

    and refer the following link to learn how to publish .Net 6 gRPC application to Azure App Service.

    Hope this helps

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.