About Author. 3
Table of Contents. 4
Preface. 7
What this book covers. 8
What you need for this book. 9
Who this book is for. 10
Section 1: The Concept. 11
Chapter 1: What are Microservices?. 12
Chapter 2: Microservices Architecture. 14
Chapter 3: Monolithic vs Microservices Architecture. 18
Section 2: Docker. 23
Chapter 1: Docker Installation. 24
Docker and Containers. 24
Docker for windows installation. 25
Section 3: Microservice using ASP.NET Core. 34
Chapter 1: Creating an Asp.NET Core Microservice. 35
Adding Models. 40
Enabling EF Core. 46
Adding EF Core DbContext. 50
Adding Repository. 57
Adding Controller. 65
Chapter 2: Entity Framework Core Migrations. 74
Chapter 3: Run and Test the Service. 82
Run the Product Microservice. 82
Via IIS Express. 82
POST. 85
GET. 92
DELETE. 94
PUT. 96
Via Docker Containers. 98
Conclusion. 122
Index. 123