Free eBook: How to use Dapr for .NET Developers
According to the Dapr open source website:
I've had Mark Russinovich on my podcast recently to talk about Dapr which is now at version 1.0. Dapr is platform agnostic, and you can use Dapr with your language of choice by leveraging an SDK or making simple HTTP or gRPC calls. Dapr is language agnostic and can run on any hosting environment including local development machines, Kubernetes, and public clouds such as AWS, Azure and GCP. The Dapr sidecar container collects traces so your application is instrumented with no additional code."Dapr helps developers build event-driven, resilient distributed applications. Whether on-premises, in the cloud, or on an edge device, Dapr helps you tackle the challenges that come with building microservices and keeps your code platform agnostic."
Since a lot of folks who read my blog use .NET, I wanted to let you know there's a free eBook on how to use Dapr with .NET available now.
You can download the free eBook "Dapr for .NET Developers" here now! It's available as a PDF and it's being actively improved so can offer feedback to the authors directly via GitHub issue.
Congrats to Rob Vetter, Sander Molenkamp, and Edwin van Wijk and for their hard work on this book!
This free book covers common needs for complex cloud apps and how to make it happen with Dapr and .NET, including:
- State management
- Service invocation
- Pub/sub
- Bindings
- Observability
- Secrets
- Dapr .NET SDK
- and more.
Dapr enables developers using any language or framework to easily write microservices. It addresses many of the challenges found that come along with distributed applications, such as:
- How can distributed services discover each other and communicate synchronously?
- How can they implement asynchronous messaging?
- How can they maintain contextual information across a transaction?
- How can they become resilient to failure?
- How can they scale to meet fluctuating demand?
- How are they monitored and observed?
There's also a project at the dotnet-architecture GitHub that includes a complete sample app (go give them a GitHub star, please, for their hard work!) that takes the eShopOnContainers project and instruments it with Dapr!
eShopOnDapr runs in containers and requires Docker to run. There are various ways to start the application:
- Run eShopOnDapr from the CLI
- Run eShopOnDapr from Visual Studio (best F5 debugging experience)
- Run eShopOnDapr from Visual Studio Code (allows you to debug individual containers))
- Run eShopOnDapr in Kubernetes
Hope you enjoy it! The team would really hard on making it happen.
Sponsor: Have what it takes to code securely? Select from dozens of complimentary interactive secure coding labs, test your skills, and earn a badge. Learn more!
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter