'How can I host a Asp.NET Core gRPC Service on IIS

I need to host my Asp.NET Core gRPC Service on IIS so that I can make it publicly available for others in my team so can you please provide a proper document or steps for hosting my gRPC service on IIS.



Solution 1:[1]

Hosting .net core application in IIS is not yet supported. For more details please go through link

Solution 2:[2]

This document states that ASP.NET Core gRPC can be hosted on IIS, but it carries extra requirements.

  • IIS requires .NET 5 and Windows 10 Build 20300.1000 or later.
  • HTTP.sys requires .NET 5 and Windows 10 Build 19529 or later.

So please check if it meets the requirements before trying to publish it on IIS:

Host ASP.NET Core on Windows with IIS.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rajendar Manda
Solution 2 InteXX