Microservices in .NET, Second Edition, Video Edition

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


Table of contents

  1. Part 1. Getting started with microservices
  2. Chapter 1. Microservices at a glance
  3. Chapter 1. Microservice characteristics
  4. Chapter 1. Why microservices?
  5. Chapter 1. Costs and downsides of microservices
  6. Chapter 1. Serving a user request: An example of how microservices work in concert
  7. Chapter 1. A .NET microservices technology stack
  8. Chapter 1. Adding ASP.NET MVC to the project
  9. Chapter 2. A basic shopping cart microservice
  10. Chapter 2. Implementing the Shopping Cart microservice
  11. Chapter 2. The Shopping Cart microservice’s API for other services
  12. Chapter 2. Fetching product information
  13. Chapter 2. Implementing a basic event feed
  14. Chapter 3. Deploying a microservice to Kubernetes
  15. Chapter 3. Putting the Shopping Cart microservice in a container
  16. Chapter 3. Running the shopping cart container in Kubernetes
  17. Chapter 3. Running the shopping cart container on Azure Kubernetes Service
  18. Chapter 3. Running the shopping cart in AKS
  19. Part 2. Building microservices
  20. Chapter 4. Identifying and scoping microservices
  21. Chapter 4. Example: Point-of-sale system
  22. Chapter 4. The secondary driver for scoping microservices: Supporting technical capabilities
  23. Chapter 4. Identifying technical capabilities
  24. Chapter 4. What to do when the correct scope isn’t clear
  25. Chapter 4. Planning to carve out new microservices later
  26. Chapter 5. Microservice collaboration
  27. Chapter 5. Events: Asynchronous collaboration
  28. Chapter 5. Implementing collaboration
  29. Chapter 5. Implementing an event-based collaboration
  30. Chapter 5. Building a Docker container special offers microservice
  31. Chapter 6. Data ownership and data storage
  32. Chapter 6. Rule 2: Replicate for speed and robustness
  33. Chapter 6. Where does a microservice store its data?
  34. Chapter 6. Implementing data storage in a microservice
  35. Chapter 6. Storing events raised by a microservice
  36. Chapter 6. Setting cache headers in HTTP responses
  37. Chapter 7. Designing for robustness
  38. Chapter 7. Using trace IDs
  39. Chapter 7. The client side’s responsibility for robustness
  40. Chapter 7. Implementing robustness patterns
  41. Chapter 7. Implementing a circuit breaker with Polly
  42. Chapter 8. Writing tests for microservices
  43. Chapter 8. Service-level tests: Testing a microservice from outside its process
  44. Chapter 8. Testing libraries: Microsoft.AspNetCore.TestHost and xUnit
  45. Chapter 8. Writing unit tests using Microsoft.AspNetCore.TestHost
  46. Chapter 8. Writing service-level tests
  47. Part 3. Handling cross-cutting concerns: Building a reusable microservice platform
  48. Chapter 9. Cross-cutting concerns: Monitoring and logging
  49. Chapter 9. Tracing requests across microservices
  50. Chapter 9. Implementing the monitoring endpoints
  51. Chapter 9. Adding a trace ID to all log messages
  52. Chapter 10. Securing microservice-to-microservice communication
  53. Chapter 10. Authorizing users in microservices
  54. Chapter 10. Limiting which microservices can communicate
  55. Chapter 11. Building a reusable microservice platform
  56. Chapter 11. Packaging and sharing cross-cutting code with NuGet
  57. Chapter 11. The ASP.NET pipeline
  58. Chapter 11. Writing middleware
  59. Part 4. Building applications
  60. Chapter 12. Creating applications over microservices
  61. Chapter 12. Patterns for building applications over microservices
  62. Chapter 12. Backend for frontend (BFF) pattern
  63. Chapter 12. Example: A shopping cart and a product list
  64. Chapter 12. Creating the shopping cart GUI

Product information

  • Title: Microservices in .NET, Second Edition, Video Edition
  • Author(s): Christian Horsdal Gammelgaard
  • Release date: October 2021
  • Publisher(s): Manning Publications
  • ISBN: None