Azure / Azure/app-service-linux-docs
Deploy gRPC app on App Service with Rest api endpoint
- Dominant language
- Java
- Stars
- 150
- Forks
- 90
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
I have been following [How-to deploy a .NET 6 gRPC app on App Service](https://github.com/Azure/app-service-linux-docs/blob/master/HowTo/gRPC/use_gRPC_with_dotnet.md)
When I add this to my project it breaks everything else in the project, swagger wont even load anymore let alone all of the other rest api endpoints, everything is returning connection refused.
```
builder.WebHost.ConfigureKestrel(options =>
{
options.ListenAnyIP(8080);
options.ListenAnyIP(8585, listenOptions =>
{
listenOptions.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2;
});
});
```
Is it possible to mix gRPC and rest api end points in the same project?
Stackoverflow: [Mixing Rest api endpoints with grpc on azure app services in the same project. ECONNREFUSED](https://stackoverflow.com/q/74377941/1841839)
Issue forum: [Deploy gRPC app on App Service with Rest api endpoint](https://github.com/Azure/app-service-linux-docs/issues/144)
Microsofft: [deploy a .NET 6 gRPC app on App Service -Error starting gRPC call](https://learn.microsoft.com/en-us/answers/questions/1083369/deploy-a-net-6-grpc-app-on-app-service-error-start.html)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.