From WCF to gRPC - Mark Rendle
HTML-код
- Опубликовано: 7 сен 2024
- gRPC is a high-performance messaging protocol that is ideal for communication between microservices and other clients on internal networks. It's the ideal replacement for WCF or .NET Remoting, which are not supported on .NET Core.
In this talk, I'll explain the different models that gRPC enables, from Request/Response to full bi-directional streaming, and how they map to various WCF models. I'll show how to create gRPC services and clients using the dotnet CLI, and share best practices for using them in the real world.
Check out more of our talks, courses, and conferences in the following links:
ndcconferences...
ndc-london.com/
Looks very efficient and simple to use. Very cool.
6 google ads in 12 minutes.... WTF I Never had this in any Video before
I just watched 3 ads in 6 minutes. I stopped the video.
it's great but, if we need that this gRPC Service have a discovery system like WCF, how we do it?
Very nice, but how can implement our self system discovery service?
The WS-Discovery protocol is used to locate services on a local network. gRPC services are generally located through DNS or a service registry such as Consul or ZooKeeper.
3 ads in 6 minutes. The adds are distracting during a tech talk. Is NDC Conferences placing all these ads are is it google? I can't watch this.
Install AdBlock Plus and you will see no ads on youtube.
When to use web api and when grpc? What's the difference between human readable and machine code except speed.
Depends which web API. If it's CRUD, use REST, if it's mostly actions use gRPC.
where is the git hub repo for the code shown in the video
26,934 People have this problem!!! Don't understand why Microsoft won't port out WCF Servicehost!
Where can get solutions shown in video?
15:24 no javascript from browser support, no deal
Unfortunatelly protobuf, or any other serializer simply capitulated just from the idea of serializing our circular referenced EF objects. They are no problem for DatacontractSerializer.
Why isn't compressed json the answer? That's the real question.
Json format contains field names to do deserialization propertly, protobuf contains only the number of the field, so, even compressed Json would be bigger than protobuf binary. And HTTP2. It allows you to create multiple bidirectional streams in single TCP connection....
There's also overhead of compressing and decompressing.
@@AndiRadyKurniawan That's true but I bet it's small compared to sending less data over the network
It probably depends on the size of the document.
Its January 2020 and there are people coughing back in the conference room.. :S
Soap is entrenched in big corporations for a long decade or two now and it's terribly shortsighted from microsoft to skip soap. Big organizations will not switch overnight. Grpc is dead on birth if no direct from browser javascript support.
Why not compared to BSON?
BSON is not a huge improvement over JSON.
Anybody knows what font is he using in his editor?
At a guess, I'd say it is Consolas. (I think that's the default for VS Code)
Looks like Consolas to me.
How do I write an API with gRPC for my .NET 4.6 code base (ADO.NET 4.6, not compatible with .NET Core 3, a.f.a.i.k.)? Write a service in ASP.NET MVC5?
Google is the new Microsoft.
And for every WCF project, what will happen? Throw away?
Indeed)
not really they just work fine, this is for new projects
You just add an gRPC endpoint once you move to .net core :D
I work for a big corporation as an architect. Soap 1.1 is the backbone it stays so for a number of years. We simply ignore .net and move over to java which still has excellent support for soap. We dont care wcf, soap is what important.
CoreWCF is OS port
Good presentation. Except "Inglish Humar"
You can skip past the 9 minutes of bad jokes to when he gets to gRPC...
Thanks NDC for for the 800 million adds giving me the motivation to unsubscribe