Scott Hanselman

Free eBook: How to use Dapr for .NET Developers

February 16, 2021 Comment on this post [1] Posted in DotNetCore | Open Source
Sponsored By

According to the Dapr open source website:

"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."

Dapr free eBookI'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.

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!

Dapr Architecture for eShop

eShopOnDapr runs in containers and requires Docker to run. There are various ways to start the application:

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.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
February 23, 2021 15:01
Thank you Scott! Really nice looking book. How is DAPR related to project Tye? Somehow is difficult to keep with all the different projects. I didn't yet read the book, so maybe the answer is there :-)

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.