Learn Microservices - ASP.NET Core and Docker

Learn Microservices - ASP.NET Core and Docker

Arnaud Weil
This is a sample of the book's content.Buy on Leanpub

Table of Contents

Learn Microservices - ASP.NET Core and Docker

  • Introduction
    • What this book is not
    • Prerequisites
    • How to read this book
    • Tools you need
    • Source code
  • 1. Why microservices?
    • 1.1 What are they?
    • 1.2 Microservices induce complexity
  • 2. Microservices as seen from the client
    • 2.1 HTTP
    • 2.2 Payloads
    • 2.3 Do you speak JSON
    • 2.4 Client types
    • 2.5 Manual testing
    • 2.6 Exercise - Invoke a microservice manually
    • 2.7 Exercise solution
  • 3. Microservices server-side
    • 3.1 About coding the server
    • 3.2 There comes .NET Core
    • 3.3 Introduction to ASP.NET Core
    • 3.4 ASP.NET Core Web API
    • 3.5 Exercise - Create a train scheduling service
    • 3.6 Exercise solution
  • 4. Database access using Entity Framework Core
    • 4.1 Introduction to Entity Framework Core
    • 4.2 Scaffold your code and save time
    • 4.3 Exercise - Extend the train scheduling service
    • 4.4 Exercise solution
  • 5. Adding UI server-side
    • 5.1 To UI or not to UI
    • 5.2 UI scaffolding with Visual Studio
    • 5.3 Exercise - Add a UI to the train scheduling service
    • 5.4 Exercise solution
  • 6. Invoking a service from .NET and .NET Core
    • 6.1 .NET Clients
    • 6.2 Demo: consume the microservice from a WPF client
  • 7. Invoking a service from another service
    • 7.1 Same but different but same
    • 7.2 Exercise - Create a ticketing service
    • 7.3 Exercise solution
    • 7.4 Exercise - Consume the scheduling service from the ticketing service
    • 7.5 Exercise solution
    • 7.6 Integration testing of the microservices created
  • 8. Introduction to containers and Docker
    • 8.1 Why do we need containers?
    • 8.2 Virtualization could have been the panacea
    • 8.3 Why containers perform better
    • 8.4 Containers in practice
    • 8.5 How containers solve problems
    • 8.6 Containers as microservice hosts
    • 8.7 Exercise - Run a Docker container
    • 8.8 Exercise solution
  • 9. Creating and running Docker images
    • 9.1 How images are built
    • 9.2 An ASP.NET Core Dockerfile
    • 9.3 Multi-stage Dockerfiles
    • 9.4 Exercise - Build and run your own Docker image
    • 9.5 Exercise solution
  • 10. Publishing images to Docker registries
    • 10.1 Why bother with Registries?
    • 10.2 Available Registries
    • 10.3 Publishing an image
    • 10.4 Exercise - Publish your services on Docker Hub
    • 10.5 Exercise solution
  • 11. Executing linked microservice containers in a Docker Swarm
    • 11.1 The need for orchestrators
    • 11.2 Orchestrators commonly used with Docker
    • 11.3 Docker Swarm concepts
    • 11.4 Creating a swarm
    • 11.5 Configuring a stack
    • 11.6 Deploying and managing a stack on a swarm
    • 11.7 Exercise - Run the two services in a Docker Swarm
    • 11.8 Exercise solution
    • 11.9 Integration testing of the stack created
  • 12. Microservice clusters using Docker Swarm
    • 12.1 Demo: load-balancing the stack
  • The Learn collection
Learn Microservices - ASP.NET Core and Docker/overview

Learn Microservices - ASP.NET Core and Docker

course_overview

Fast self-teaching Microservices with ASP.NET Core and Docker in a week.

count_chapters
begin_reading
download
p_implied_book_part_name

Learn Microservices - ASP.NET Core and Docker14 chapters

Begin ›
  1. Introduction

  2. 1. Why microservices?

  3. 2. Microservices as seen from the client

  4. 3. Microservices server-side

  5. 4. Database access using Entity Framework Core

  6. 5. Adding UI server-side

  7. 6. Invoking a service from .NET and .NET Core

  8. 7. Invoking a service from another service

  9. 8. Introduction to containers and Docker

  10. 9. Creating and running Docker images

  11. 10. Publishing images to Docker registries

  12. 11. Executing linked microservice containers in a Docker Swarm

  13. 12. Microservice clusters using Docker Swarm

  14. The Learn collection