One of the great new features now available to try out in the latest ASP.NET Core updates in .NET 7 RC1 is experimental OpenAPI support for gRPC JSON transcoding which allows you to create OAS (Swagger) compliant APIs for gRPC services by just adding a Nugget package and a few lines of code.
In this video we briefly explore how to create a simple gRPC service in ASP.NET Core, and making it possible to call it from the browser (or any HTTP client) as a JSON REST API, before adding OpenAPI capabilities to the service.
Protobuf files for JSON transcoding: https://rynd.rs/json-grpc
ASP.NET Core updates in .NET 7 RC1 blog post:
https://devblogs.microsoft.com/dotnet...
gRPC JSON transcoding for .NET
https://devblogs.microsoft.com/dotnet...
00:00 - Introduction
00:56 - What is gRPC
01:43 - Creating a simple gRPC service
04:48 - Creating a gRPC client
10:35 - Adding JSON transcoding
14:15 - gRPC JSON encoding vs gRPC Web
14:55 - Adding OpenAPI capabilities to gRPC service
Watch video OpenAPI support for gRPC JSON transcoding in ASP.NET Core online, duration hours minute second in high quality that is uploaded to the channel Fanie Reynders 30 September 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,589 times and liked it 85 visitors.