Click here to Skip to main content
15,910,234 members
Articles / Programming Languages / Javascript

gRPC, .NET 8.0 and Kestrel in Easy Samples

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
8 May 2024MIT22 min read 9.1K   17  
I demonstrate the samples adding gRPC capabilities to Kestrel ASP.NET server and testing gRPC services with various clients.
This article demonstrates running gRPC functionality within ASP.NET Kestrel server and using various gRPC clients to access it. In particular, I describe using a multiplatform C# Console client, HTML/JavaScript in-browser client and non-Blazor WebAssembly C# client. The examples cover all gRPC paradigms including Single Request/Single Response, Single Request/Server Streaming, Client Streaming/Single Response and bi-directional Streaming.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Architect AWebPros
United States United States
I am a software architect and a developer with great passion for new engineering solutions and finding and applying design patterns.

I am passionate about learning new ways of building software and sharing my knowledge with others.

I worked with many various languages including C#, Java and C++.

I fell in love with WPF (and later Silverlight) at first sight. After Microsoft killed Silverlight, I was distraught until I found Avalonia - a great multiplatform package for building UI on Windows, Linux, Mac as well as within browsers (using WASM) and for mobile platforms.

I have my Ph.D. from RPI.

here is my linkedin profile

Comments and Discussions