Skip to Content
Microservices in .NET Core
book

Microservices in .NET Core

by Christian Horsdal Gammelgaard
January 2017
Beginner to intermediate
344 pages
10h 58m
English
Manning Publications
Content preview from Microservices in .NET Core

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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with .NET Core 2.0 - Second Edition

Building Microservices with .NET Core 2.0 - Second Edition

Gaurav Aroraa

Publisher Resources

ISBN: 9781617293375Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link