Skip to content

Commit 50de228

Browse files
authored
Update browser.md (#17636)
1 parent 11224e6 commit 50de228

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

aspnetcore/grpc/browser.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ Alternatively, configure all services to support gRPC-Web by adding `services.Ad
4343

4444
[!code-csharp[](~/grpc/browser/sample/AllServicesSupportExample_Startup.cs?name=snippet_1&highlight=6,13)]
4545

46+
> [!NOTE]
47+
> There is a known issue that causes gRPC-Web to fail when [hosted by Http.sys](xref:fundamentals/servers/httpsys) in .NET Core 3.x.
48+
>
49+
> A workaround to get gRPC-Web working on Http.sys is available [here](https://github.com/grpc/grpc-dotnet/issues/853#issuecomment-610078202).
50+
4651
### gRPC-Web and CORS
4752

4853
Browser security prevents a web page from making requests to a different domain than the one that served the web page. This restriction applies to making gRPC-Web calls with browser apps. For example, a browser app served by `https://www.contoso.com` is blocked from calling gRPC-Web services hosted on `https://services.contoso.com`. Cross Origin Resource Sharing (CORS) can be used to relax this restriction.

0 commit comments

Comments
 (0)