Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started with gRPC-Web & Blazor

Getting Started with gRPC-Web & Blazor

Baris Ceviz

August 12, 2020
Tweet

More Decks by Baris Ceviz

Other Decks in Programming

Transcript

  1. Microsoft Learn Student Ambassador Program 12.08.2020 Getting Started gRPC Web

    & Blazor Baris Ceviz - Jedi Software Engineer @Trendyol Microsoft Learn Student Ambassador Beta
  2. Confidential Customized for Lorem Ipsum LLC Version 1.0 Agenda •

    What’s gRPC Web • How it works on .NET Core • Create sample project with gRPC Web & Blazor Webassembly
  3. What’s gRPC Web gRPC is a modern high-performance RPC (Remote

    Procedure Call) framework. gRPC is based on HTTP/2, Protocol Buffers and other modern standard-based technologies. gRPC is an open standard and is supported by many programming languages, including .NET.
  4. New opportunities with gRPC-Web 1 gRPC cannot support Browser API

    but gRPC Web can work with SPA or Webassembly applications 2 gRPC-Web works on every environment. IIS and Azure Web Services cannot host gRPC Services but they can host gRPC Web 3 HTTP/2 is not supported by HttpClient on all .NET Platforms but gRPC Web can works with HttpClientHnadler
  5. Mark Rendle Potentially in any audience I've been talking about

    WCF and gRPC for about a year now, and I ask the question "Who's using WCF?", and no hands go up. And then I ask "Who has legacy systems in their organization that are built with WCF?", and around 25% of the hands in the room go up. They've got these legacy systems. And so I want to talk a little bit about migration strategies to get from one thing to the other as well and to not get stuck with systems based on very old solutions.
  6. Default gRPC Web • Supporting both HTTP/1.1 and HTTP/2 •

    A mandatory proxy for translating between gRPC-web requests and gRPC HTTP/2 responses. • gRPC-Web is not compatible with client-side and bi-directional streaming. It’s compatible with unary and server-side streaming CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer
  7. .NET gRPC Web • No needed proxy like envoy •

    Implement easily and support IIS and Azure App Services • TLS & HTTP/2 with ALPN cannot support on mac OS .Net Core CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer