O'Reilly logo

Microservices in .NET Core: with examples in Nancy by Christian Horsdal Gammelgaard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Introducing OWIN: writing and testing OWIN middleware

This chapter covers

  • Handling concerns that cut across several microservices
  • Understanding OWIN, OWIN middleware, and OWIN pipelines
  • Writing OWIN middleware
  • Testing OWIN middleware and an OWIN pipeline

When you’re implementing a system of microservices, some concerns cut across the entire system. These are the things you need every microservice to do, and they’re often related to keeping the system healthy in production:

  • Monitoring
  • Logging errors, requests, performance, and so on
  • Security
  • Policies related to technologies you use in many microservices—for example, handling database connections

All of these lend themselves well to being implemented as OWIN middleware. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required