Cargando…

Building Microservices with ASP.NET Core : develop, test, and deploy cross-platform services in the cloud /

Chapter 7. Building an ASP.NET Core Web Application; ASP.NET Core Basics; Adding ASP.NET MVC Middleware; Adding a Controller; Adding a Model; Adding a View; Invoking REST APIs from JavaScript; Building Cloud-Native Web Applications; API First; Configuration; Logging; Session State; Data Protection;...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hoffman, Kevin
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, Inc., 2017.
Edición:First edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Copyright; Table of Contents; Preface; What You'll Build; Why You're Building Services; What You'll Need to Build Services; Online Resources; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Chapter 1. ASP.NET Core Primer; Distilling the Core; CoreCLR; CoreFX; .NET Platform Standard; ASP.NET Core; Installing .NET Core; Building a Console App; Building Your First ASP.NET Core App; Adding ASP.NET Packages to the Project; Adding the Kestrel Server; Adding a Startup Class and Middleware; Running the App; Summary
  • Chapter 2. Delivering ContinuouslyIntroducing Docker; Installing Docker; Running Docker Images; Continuous Integration with Wercker; Building Services with Wercker; Installing the Wercker CLI; Adding the wercker.yml Configuration File; Running a Wercker Build; Continuous Integration with CircleCI; Deploying to Docker Hub; Summary; Chapter 3. Building a Microservice with ASP.NET Core; Microservices Defined; Introducing the Team Service; API First Development; Why API First?; The Team Service API; Test-First Controller Development; Injecting a Mock Repository; Completing the Unit Test Suite
  • Creating a CI PipelineIntegration Testing; Running the Team Service Docker Image; Summary; Chapter 4. Backing Services; Microservice Ecosystems; Bound Resources; Strategies for Sharing Models Between Services; Building the Location Service; Enhancing the Team Service; Configuring Service URLs with Environment Variables; Consuming a RESTful Service; Running the Services; Summary; Chapter 5. Creating a Data Service; Choosing a Data Store; Building a Postgres Repository; Creating a Database Context; Implementing the Location Record Repository Interface
  • Testing with the Entity Framework Core In-Memory ProviderDatabases Are Backing Services; Configuring a Postgres Database Context; Integration Testing Real Repositories; Exercising the Data Service; Summary; Chapter 6. Event Sourcing and CQRS; Introducing Event Sourcing; Reality Is Event Sourced; Event Sourcing Defined; Learning to Love Eventual Consistency; The CQRS Pattern; Event Sourcing and CQRS in Action-Team Proximity Sample; The Location Reporter Service; The Event Processor; The Reality Service; The Proximity Monitor; Running the Samples; Starting the Services; Submitting Sample Data