Grpc-dotnet: gRPC + CORS

Created on 12 Feb 2019  路  6Comments  路  Source: grpc/grpc-dotnet

Is gRPC + CORS a thing in the real world? Do we need to test for it and support it?

Ideally we should be able to reuse existing ASP.NET Core CORS logic in routing and middleware.

needs design question

All 6 comments

This is the first time I'm hearing about it in the context of gRPC, so I'm assuming we don't need it.

This would only matter for something like grpc-Web I would imagine...

Yeah

Out of curiosity, has there been any planning regarding aspcore and gRPC-web? Seems like a middleware or similar could be added for gRPC-Web support.

Not yet, we're trying to get the basics working end to end first.

Closing because we don't support gRPC-Web. If that changes then this can be reopened/recreated

Was this page helpful?
0 / 5 - 0 ratings