-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABP gRPC Integration #2882
Comments
https://github.com/Cysharp/MagicOnion Looks like a good class library. |
Thanks @maliming it seems a very good library. However it seems a real-time communication system. With this issue, we only want a standard gRPC implementation. |
This library using without .proto files and only use .net apps beetwen. See this issue Cysharp/MagicOnion#159 (comment) |
No meaning to implement it if it is not supported by Azure and IIS. We are planning to implement Blazor UI to server communication via gRPC but this is a huge restriction. |
We are deferring this issue. We were planning to use the gRPC endpoints with the Blazor UI, so wanted to work on this first. However, I see that gRPC with AspNet Core & Blazor is not so production ready. Here, the reasons: Warning at https://docs.microsoft.com/en-us/aspnet/core/grpc/basics Warning/Information at https://docs.microsoft.com/en-us/aspnet/core/grpc/browser And some others... So, instead of using gRPC endpoints, we will try to use the existing REST endpoints with the Blazor UI. This will speed up our development for the Blazor UI. Anyone wants to use gRPC in their applications, want to create gRPC endpoints for their microservices, they can still use it. We've prepared a sample application: https://github.com/abpframework/abp-samples/tree/master/GrpcDemo |
gRPC-Web for .NET now available https://devblogs.microsoft.com/aspnet/grpc-web-for-net-now-available/ |
@geffzhang that's great! As I can see, it solves most of the problems. We will check it deeply after v3.0. |
https://github.com/protobuf-net/protobuf-net.Grpc |
+1 |
1 similar comment
+1 |
Is there any news?😀 |
Microsoft switched from ocelot to envoy because of the grpc feature.. see here: https://docs.microsoft.com/de-de/dotnet/architecture/microservices/multi-container-microservice-net-applications/implement-api-gateways-with-ocelot |
@hikalkan any updates on this topic? |
+1 |
any updates on this topic? |
There is already a gRPC integration demo that you can check. However if you want to use gRPC instead of http within the framework; that'll take some more time. We've implemented Static Client Proxy generation so that microservice gateways are no longer referencing Http.Api layers of other microservices to locate endpoints. This will allow us using any other gateway (like envoy etc). With this feature enabled, we've also plans for sample microservices communicating with each other using gRPC so that we can check if we need to make improvements in framework for it. TLDR: It is in our backlog, we are moving slowly but steadily :) |
Looks better. |
Hi all, I've created two articles for ABP & gRPC:
I see that using gRPC in an ABP-based solution is straightforward. Currently, we don't think to implement any specific integration package. However, I've taken a lot of notes while investigating .NET's gRPC integration and preparing these articles. In the future, we will probably make some built-in integrations to make it even easier. Some of my notes:
However, all these are additional ABP benefits and currently there is no difference of using gRPC in ABP by comparing in with a .NET solution without ABP. |
The text was updated successfully, but these errors were encountered: