Building Microservices with .NET Core.
Architect your .NET applications by breaking them into really small pieces--microservices--using this practical, example-based guideAbout This Book* Start your microservices journey and understand a broader perspective of microservices development* Build, deploy, and test microservices using ASP.Net...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2017.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover ; Copyright ; Credits; Foreword; About the Authors; About the Reviewers; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: What Are Microservices? ; Origin of microservices; Discussing microservices; Monolithic architecture; Service-oriented architecture; What is service?; Understanding the microservice architecture; Messaging in microservices; Synchronous messaging; Asynchronous messaging; Message formats; Why should we use microservices?; How does the microservice architecture work?; Advantages of microservices; SOA versus microservices.
- Prerequisites of the microservice architectureUnderstanding problems with the monolithic architecture style; Challenges in standardizing a .NET stack; Fault tolerance; Scaling; Vertical scaling or scale up; Horizontal scaling or scale out; Deployment challenges; Organizational alignment; Modularity; Big database; Prerequisites for microservices; Functional overview of the application; Solutions for current challenges; Handling deployment problems; Making much better monolithic applications; Introducing dependency injections; Database refactoring; Database sharding and partitioning.
- DevOps cultureAutomation; Testing; Versioning; Deployment; Identifying decomposition candidates within monolithic; Important microservices advantages; Technology independence; Interdependency removal; Alignment with business goals; Cost benefits; Easy scalability; Security; Data management; Integrating monolithic; Summary; Chapter 2: Building Microservices ; Size of microservices; What makes a good service?; DDD and its importance for microservices; Domain model design; Importance for microservices; The concept of Seam; Module interdependency; Technology; Team structure; Database; Master data.
- TransactionCommunication between microservices; Benefits of the API gateway for microservices; API gateway versus API management; Revisiting the case study
- Flix One; Prerequisites; Transitioning to our product service; Migrations; Code migration; Creating our project; Adding the model; Adding a repository; Registering the repositories; Adding a product controller; The ProductService API; Adding EF core support; EF Core DbContext; EF Core migrations; Database migration; Revisiting repositories and the controller; Introducing ViewModel; Revisiting the product controller; Summary.
- Chapter 3: Integration Techniques Communication between services; Styles of collaborations; Integration patterns; The API gateway; The event-driven pattern; Event sourcing; Eventual consistency; Compensating Transaction; Competing Consumers; Azure Service Bus queues; Implementation of an Azure Service Bus queue; Prerequisites; Sending messages to the queue; Receiving messages from the queue; Summary; Chapter 4: Testing Strategies ; How to test microservices; Handling challenges; Testing strategies (testing approach); Testing pyramid; Types of microservice tests; Unit testing.