Тёмный

gRPC for ASP.NET Core, a new framework for high performance APIs - James Newton-King 

NDC Conferences
Подписаться 194 тыс.
Просмотров 38 тыс.
50% 1

gRPC is a modern high performance RPC (Remote Procedure Call) framework that can run in any environment. gRPC is based on HTTP/2, Protocol Buffers and other modern standard-based technologies. Together with excellent tooling, it helps you create high throughput, low latency, real-time services.
In this talk, I will introduce gRPC for ASP.NET Core, a new gRPC framework that Microsoft is contributing to the Cloud Native Computing Foundation. I will compare gRPC with familiar REST-based JSON APIs, and recommend scenarios for using gRPC over other technologies. You will see how to integrate gRPC services with existing ASP.NET Core technologies like dependency injection, logging, and authentication, as we use gRPC to create lightning fast microservices and frontend applications.
Check out more of our talks, courses, and conferences in the following links:
ndcsydney.com/
ndcconferences.com

Наука

Опубликовано:

 

15 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@praseeth
@praseeth 4 года назад
My WCF memories are coming back to me 😲
@gert-janvanderkamp3508
@gert-janvanderkamp3508 4 года назад
By James Newton-King no less! If you're drinking the coolaid I'm going to have me a sip too! And thanks for that thingy, still using that about a million times per day.
@maxclifford937
@maxclifford937 4 года назад
I never thought I'd get to see the legend:D
@maxclifford937
@maxclifford937 4 года назад
And also I send that thanks:)
@pradeep422
@pradeep422 3 года назад
the best grpc into ever....
@djchrisi
@djchrisi 4 года назад
16:35 Visual studio can launch mutliple projects.
@andresjimenez3140
@andresjimenez3140 3 года назад
Guys, would be great if you could load the video with higher resolution. Its hard to see the code that is being explained
@darren-lewis
@darren-lewis 4 года назад
"You know that thing everyone said was a bad idea 10 years ago...". How long before we get configurable bindings and the gRPCTestClient integrated into VS? :) FWIW, I see this as a welcome return of RPC application patterns to mainstream development. Hopefully it will reduce the number of application architectures that desparately try and make the square peg fit the round hole with "purely RESTful" services in the backend. Ignoring for now the lack of browser support I'm interested to see how this sits alongside websockets going forward.
@KieranDevvs
@KieranDevvs 4 года назад
What do you mean lack of browser support?
@darren-lewis
@darren-lewis 4 года назад
@@KieranDevvs 44:24 in the video. TLDW; gRPC requires HTTP/2 and whilst the browsers have good HTTP/2 support, their native javascript APIs don't.
@vikasdangwal3080
@vikasdangwal3080 4 года назад
I am just waiting to have proper support in Mac. 👍
@coder001
@coder001 4 года назад
7:22 he must have really liked vs2015
@Michael-London
@Michael-London 4 года назад
Exocomp yup why did he use vs2015!
@Michael-London
@Michael-London 4 года назад
Oh he is using vs2019 just the template is from 2015!
@coder001
@coder001 4 года назад
@@Michael-London Oh you misunderstood me, I was trying to make a joke, he is using vs2019. He just made a mistake and said 2015. The joke being that he must have liked vs2015 so much to make such a mistake.
@idgafa
@idgafa 4 года назад
He uses Mac, but the presentation is in Windows))
@cas818028
@cas818028 4 года назад
Congrats guys you just reinvented SOAP.
@zoran123456
@zoran123456 4 года назад
I don't understand honestly with this example, why is this different/better than using regular REST web api? What problems does it solves?
@MushokuThing
@MushokuThing 4 года назад
gRPC allows you to define the exact contract / interface that both the client and server interacts with. This basically creates a staticly typed link between your client and server as a result. Additionally, because gRPC works over HTTP/2, it by default supports streaming responses / requests, or both at the same time. This means you don't have to make a new request from scratch every time you need a neew resource. Obviously, this removes the connection delay and handshake time.
@Godrose
@Godrose 4 года назад
@kuro thing . You could use OpenApi/Swagger with mustache templates for this
@KieranDevvs
@KieranDevvs 4 года назад
Static types with low latency serialisation for faster throughput.
@djchrisi
@djchrisi 4 года назад
- Type safety - Some operations are not well abstracted by an rest-endpoint. - There is always the discussion how to communicate errors (via http status codes or in a response). - Grpc gets you really good generated code. Swagger and others don't generate as good code. But still, there is nothing wrong with REST. If it fits your needs, its totally great. I never liked it and am using grpc for many years.
@cynicalobserver8176
@cynicalobserver8176 4 года назад
Fast AF
@onemaninaboat
@onemaninaboat 4 года назад
It is hilarious to see how people reinvent the same wheel every 10-20 years or so. RPC and IDL existed 20 years ago. Now they heve been reinvented again, makes you wonder how ignorant of its own history the software industry is. I am now expecting someone to resurrect Corba over HTTP2 and give it some funky name 😀
@djchrisi
@djchrisi 4 года назад
I don't agree. It's not reinventing, it's progress and improvement. There is a reason why CORBA is totally dead and grpc is not. CORBA is over complicated (thousands of pages of spec). And good luck using CORBA for streams.I also find the tooling of grpc much nicer .
@Greenthum6
@Greenthum6 4 года назад
Yep it's called evolution. gRPC is my preference for internal server communication. For outside world some other technology maybe a better fit.
@mustafacinar9153
@mustafacinar9153 4 года назад
Can you guys just stop making new super duper fancy frameworks!!!
Далее
From WCF to gRPC - Mark Rendle
1:04:33
Просмотров 43 тыс.
🎙️А не СПЕТЬ ли мне ПЕСНЮ?
3:12:39
Clean Architecture with ASP.NET Core 2.1 | Jason Taylor
49:20
Blazor in more depth - Steve Sanderson & Ryan Nowak
1:03:04
Clean ASP.NET Core API using MediatR and CQRS | Setup
22:39
Design Microservice Architectures the Right Way
48:30
Просмотров 708 тыс.
Colorful Vulcan w rtx 4070ti Super
13:30
Просмотров 52 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,6 млн
iPhone 15 Pro в реальной жизни
24:07
Просмотров 314 тыс.