Blog Logo
TAGS

Using Service Invocation from Dapr .NET SDK

In this post, Laurent Kempé explains how to invoke services using the Dapr .NET SDK. He compares two methods of invoking services - one using a simple .NET HttpClient and another using the Dapr .NET SDK. While the simple HttpClient method has the advantage of not depending on any third-party dependencies, the Dapr .NET SDK method provides more help when building the URI to call the service. Kempé demonstrates both methods by calling a fictional Weather Forecast service and shows how they produce the same output result.