Our great sponsors
-
dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
protolock
Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Code-first grpc is awesome. Just check out this lib: https://github.com/protobuf-net/protobuf-net.Grpc
Think i agree that the tooling is a little behind for .net and gRPC but it isn't bad. Are you also cutting the monolith into smaller pieces you might want to look at https://dapr.io/
Who says you can't make json over http contract first? You can generate code in almost any language with json-schema. No idea why NSwag isn't mentioned here, it's definitely possible.
One tool we use to ensure proto wire compatibility is protolock.
Grpc Web with Blazor WASM is a really pleasant experience so far imo for my personal projects at home. You have strongly typed models and methods and you have choice on sharing the contract between client and server if you're using code first instead of proto IDL files (e.g. protobuf-net).
try look at https://masstransit-project.com/ 🙂
Related posts
- Walmart is migrating the remaining F# code into Java
- Delving Deeper: Enriching Microservices with Golang with CloudWeGo
- Convert complex YAML to .NET types with custom YamlDotNet type converters
- Should you use Newtonsoft.Json or System.Text.Json in 2023?
- Boosting Productivity with HangFire: Streamlining Background Job Processing