Chapter 1. Microservices at a glance

This chapter covers

  • Understanding microservices and their core characteristics
  • Examining the benefits and drawbacks of microservices
  • An example of microservices working in concert to serve a user request
  • Using the Nancy web framework for a simple application

In this chapter, I’ll explain what microservices are and demonstrate why they’re interesting. We’ll also look at the six characteristics of a microservice. Finally, I’ll introduce you to the two most important technologies we’ll use in this book: the .NET-based Nancy web framework and the OWIN middleware pipeline.

1.1. What is a microservice?

A microservice is a service with one, and only one, very narrowly focused capability that a remote API ...

Get Microservices in .NET Core: with examples in Nancy now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.