Video description
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
A clear presentation of the latest best practices. A highly recommended read.
David Paccoud, Bioclinica
In Microservices in .NET, Second Edition you will learn how to:
- Build scalable microservices that are reliable in production
- Optimize microservices for continuous delivery
- Design event-based collaboration between microservices
- Deploy microservices to Kubernetes
- Set up Kubernetes in Azure
Microservices in .NET, Second Edition is a comprehensive guide to building microservice applications using the .NET stack. After a crystal-clear introduction to the microservices architectural style, it teaches you practical microservices development skills using ASP.NET. This second edition of the bestselling original has been revised with up-to-date tools for the .NET ecosystem, and more new coverage of scoping microservices and deploying to Kubernetes.
about the technology
Microservice architectures connect independent components that must work together as a system. Integrating new technologies like Docker and Kubernetes with Microsoft’s familiar ASP.NET framework and Azure cloud platform enables .NET developers to create and manage microservices efficiently.
about the book
Microservices in .NET, Second Edition teaches you to build and deploy microservices using ASP.NET and Azure services. It lays out microservice architecture simply, and then guides you through several real-world projects, such as building an ecommerce shopping cart. In this fully revised edition, you’ll learn about scoping microservices, deploying to Kubernetes, and operations concerns like monitoring, logging, and security.
about the audience
For C# developers. No experience with microservices required.
about the author
Christian Horsdal is an independent consultant with more than 20 years of experience building projects from large-scale microservice systems to tiny embedded systems.
Recommended for all developers and software architects looking to jump into the microservices world.
Emanuele Origgi, Datlas
This book is the best guide to learn about microservices and how to implement on .NET framework.
Jeff Smith, Agilify Automation
Well-written, concise, and comprehensive. I could not put it down and would definitely recommend it.
Tanya Wilke, Sanlam
NARRATED BY DEREK DYSART
Table of Contents
Part 1. Getting started with microservices
Chapter 1. Microservices at a glance
Chapter 1. Microservice characteristics
Chapter 1. Why microservices?
Chapter 1. Costs and downsides of microservices
Chapter 1. Serving a user request: An example of how microservices work in concert
Chapter 1. A .NET microservices technology stack
Chapter 1. Adding ASP.NET MVC to the project
Chapter 2. A basic shopping cart microservice
Chapter 2. Implementing the Shopping Cart microservice
Chapter 2. The Shopping Cart microservice’s API for other services
Chapter 2. Fetching product information
Chapter 2. Implementing a basic event feed
Chapter 3. Deploying a microservice to Kubernetes
Chapter 3. Putting the Shopping Cart microservice in a container
Chapter 3. Running the shopping cart container in Kubernetes
Chapter 3. Running the shopping cart container on Azure Kubernetes Service
Chapter 3. Running the shopping cart in AKS
Part 2. Building microservices
Chapter 4. Identifying and scoping microservices
Chapter 4. Example: Point-of-sale system
Chapter 4. The secondary driver for scoping microservices: Supporting technical capabilities
Chapter 4. Identifying technical capabilities
Chapter 4. What to do when the correct scope isn’t clear
Chapter 4. Planning to carve out new microservices later
Chapter 5. Microservice collaboration
Chapter 5. Events: Asynchronous collaboration
Chapter 5. Implementing collaboration
Chapter 5. Implementing an event-based collaboration
Chapter 5. Building a Docker container special offers microservice
Chapter 6. Data ownership and data storage
Chapter 6. Rule 2: Replicate for speed and robustness
Chapter 6. Where does a microservice store its data?
Chapter 6. Implementing data storage in a microservice
Chapter 6. Storing events raised by a microservice
Chapter 6. Setting cache headers in HTTP responses
Chapter 7. Designing for robustness
Chapter 7. Using trace IDs
Chapter 7. The client side’s responsibility for robustness
Chapter 7. Implementing robustness patterns
Chapter 7. Implementing a circuit breaker with Polly
Chapter 8. Writing tests for microservices
Chapter 8. Service-level tests: Testing a microservice from outside its process
Chapter 8. Testing libraries: Microsoft.AspNetCore.TestHost and xUnit
Chapter 8. Writing unit tests using Microsoft.AspNetCore.TestHost
Chapter 8. Writing service-level tests
Part 3. Handling cross-cutting concerns: Building a reusable microservice platform
Chapter 9. Cross-cutting concerns: Monitoring and logging
Chapter 9. Tracing requests across microservices
Chapter 9. Implementing the monitoring endpoints
Chapter 9. Adding a trace ID to all log messages
Chapter 10. Securing microservice-to-microservice communication
Chapter 10. Authorizing users in microservices
Chapter 10. Limiting which microservices can communicate
Chapter 11. Building a reusable microservice platform
Chapter 11. Packaging and sharing cross-cutting code with NuGet
Chapter 11. The ASP.NET pipeline
Chapter 11. Writing middleware
Part 4. Building applications
Chapter 12. Creating applications over microservices
Chapter 12. Patterns for building applications over microservices
Chapter 12. Backend for frontend (BFF) pattern
Chapter 12. Example: A shopping cart and a product list
Chapter 12. Creating the shopping cart GUI