Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the cover illustration

1. Getting started with microservices

Chapter 1. Microservices at a glance

1.1. What is a microservice?

1.1.1. What is a microservices architecture?

1.1.2. Microservice characteristics

1.2. Why microservices?

1.2.1. Enabling continuous delivery

1.2.2. High level of maintainability

1.2.3. Robust and scalable

1.3. Costs and downsides of microservices

1.4. Greenfield vs. brownfield

1.5. Code reuse

1.6. Serving a user request: an example of how microservices work in concert

1.6.1. Main handling of the user request

1.6.2. Side effects of the user request

1.6.3. The complete picture

1.7. A .NET microservices technology stack

1.7.1. Nancy

1.7.2. OWIN

1.7.3. Setting up a development environment

1.8. A simple microservices example

1.8.1. Creating an empty ASP.NET Core application

1.8.2. Adding Nancy to the project

1.8.3. Adding a Nancy module with an implementation of the endpoint

1.8.4. Adding OWIN middleware

1.9. Summary

Chapter 2. A basic shopping cart microservice