Part 2. Building microservices
In this part of the book, you’ll learn how to design and code a microservice. The assorted diverse topics all go into designing and coding good, maintainable, reliable microservices:
- Chapter 3 explains how to slice and dice a system into a cohesive set of microservices.
- Chapter 4 shows you how microservices can collaborate to provide functionality for end users. You’ll also be introduced to three categories of collaboration and when to use each of them.
- Chapter 5 explores where the data goes in a microservice system and which microservices should take responsibility for which data.
- Chapter 6 teaches you some simple techniques to make a microservice system more robust than it would otherwise be. Using these techniques, you can create a system that keeps running in the face of network failures and individual microservice crashes.
- Chapter 7 turns to testing. You’ll learn how to create an effective automated test suite for a microservice system, all the way from broad system-level tests to narrowly focused unit tests.
By the end of part 2, you’ll know how to design microservices and how to use .NET Core and Nancy to code them.