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

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 30

  • @praseeth
    @praseeth 4 роки тому +6

    My WCF memories are coming back to me 😲

  • @gert-janvanderkamp3508
    @gert-janvanderkamp3508 4 роки тому +13

    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.

  • @pradeep422
    @pradeep422 3 роки тому

    the best grpc into ever....

  • @darren-lewis
    @darren-lewis 4 роки тому +2

    "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 роки тому +1

      @@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.

  • @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

  • @djchrisi
    @djchrisi 4 роки тому +2

    16:35 Visual studio can launch mutliple projects.

  • @vikasdangwal3080
    @vikasdangwal3080 4 роки тому +2

    I am just waiting to have proper support in Mac. 👍

  • @coder001
    @coder001 4 роки тому +1

    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.

  • @cas818028
    @cas818028 4 роки тому

    Congrats guys you just reinvented SOAP.

  • @idgafa
    @idgafa 4 роки тому +2

    He uses Mac, but the presentation is in Windows))

  • @zoran123456
    @zoran123456 4 роки тому +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 роки тому +3

      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 роки тому +1

      Static types with low latency serialisation for faster throughput.

    • @djchrisi
      @djchrisi 4 роки тому +3

      - 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 роки тому +1

      Fast AF

  • @onemaninaboat
    @onemaninaboat 4 роки тому +1

    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 роки тому +2

      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 роки тому +1

      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 роки тому +2

    Can you guys just stop making new super duper fancy frameworks!!!