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 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.