Allen Zaudtke

Camp Counselor

gRPC on .NET – Going Beyond Greeter.SayHello

Event Logo

Tuesday, July 27, 2021 - 7:30 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: 4 & 5

gRPC
gRPC.NET
proto
Web Services

If you’re interested in gRPC on .NET, then undoubtably you found most walkthroughs start with the Greeter.SayHello example. I did, and I was disappointed. It helped in getting a project setup, but that was it. Everything else you wanted to know, meant going through the documentation (with few examples), random blogs, or ending up on GitHub. Well I did that, and I want to share with you what I found. This session isn’t meant to convince you to use gRPC, it’s meant to help you move forward with your decision to dig deeper. We’ll explore what default values for scalar values means, and how to use their Nullable counterparts. Dates, yes, they still are a problem no matter the tech, so we’ll look at those as well. Validation errors have multiple ways of being done, so exploring the options will help you make the best decision for you. Finally, I’ll show you how I wired up my unit tests so they run through the entire pipeline.

Prerequisites

Basic understanding of what gRPC is.

Take Aways

  • Scalar Defaults and their Nullable counterparts
  • Dates
  • Returning Errors to the client
  • Unit Testing the pipeline.

Supporting Resources

favorited by:
Dustin Ewers Ross Larson Cameron Lengerich Rebecca Von Ruden Dan Wasmer Mike Acord Ryan Holmes Timothy Tyson Michael Acord Ken Samson Dennis Moon Jeff Jones Joe Forsythe Barry Stahl