This is the code repository for Practical Microservices with Dapr and .NET - Second Edition, published by Packt.
A developer's guide to building cloud-native applications using the event-driven runtime
Dapr offers platform-agnostic features for running your applications anywhere, from the public cloud to edge deployments.
This book covers the following exciting features:
- Use Dapr to create services, invoking them directly and via pub/sub
- Discover best practices for working with microservice architectures
- Leverage the actor model to orchestrate data and behavior
- Expose API built with Dapr applications via NGINX and Azure API Management
- Use Azure Kubernetes Service to deploy a sample application
- Monitor Dapr applications using Zipkin, Prometheus, and Grafana
- Scale and load test Dapr applications on Kubernetes
- Get to grips with Azure Container Apps as you combine Dapr with a serverless platform
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
"compounds":
[
{
"name": "webApi + webApi2 w/Dapr",
"configurations": [".NET Core Launch w/Dapr (webapi)", ".NET Core Launch w/Dapr (webapi2)"]
}
]
Following is what you need for this book: This book is for developers looking to explore and implement microservices architectures in Dapr applications using .NET examples. Whether you are new to microservices or have knowledge of this architectural approach and want to get hands-on experience using Dapr, you’ll find this book useful. Familiarity with .NET will help you to understand the C# samples and code snippets used in the book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1-13 | Docker Engine – latest version | Windows, any version supporting .NET 6 |
1-13 | .NET 6 | Windows, any version supporting .NET 6 |
1-13 | Dapr 1.8 or later | Windows, any version supporting .NET 6 |
1-13 | VS Code – latest version | Windows, any version supporting .NET 6 |
1-13 | Azure CLI – latest version | Windows, any version supporting .NET 6 |
1-13 | Python 3.8 or later | Windows, any version supporting .NET 6 |
1-13 | Locust 2.10 or later | Windows, any version supporting .NET 6 |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
-
Microservices Communication in .NET Using gRPC [Packt] [Amazon]
-
High-Performance Programming in C# and .NET [Packt] [Amazon]
Davide Bedin is a cloud-native architecture enthusiast, with strong and relevant experience with cloud platforms. As CTO of an ISV, Davide led its transformational process with the objective of creating new solutions based on the Microsoft Azure cloud. Davide particularly focused on the evolution of distributed computing to service-oriented architectures, and ultimately microservices, spending most of his developer career creating web services. As a Senior Cloud Solution Architect at Microsoft, Davide is responsible for the guidance and support of enterprise customers in embracing the cloud paradigm, a key enabler of their digital transformation; lately, he also plays with Dapr.
Practical Microservices with Dapr and .NET
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.