
Building Microservices with ASP.NET Core
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Weitere Details
Weitere Ausgaben
Andere Ausgaben

Inhalt
- Intro
- 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 Continuously
- Introducing 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 Pipeline
- Integration 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 Provider
- Databases 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
- Summary
- 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
- Backing Services
- Environment Parity
- Port Binding
- Telemetry
- Authentication and Authorization
- Summary
- Chapter 8. Service Discovery
- Refresher on Cloud-Native Factors
- External Configuration
- Backing Services
- Introducing Netflix Eureka
- Discovering and Advertising ASP.NET Core Services
- Registering a Service
- Discovering and Consuming Services
- DNS and Platform Supported Discovery
- Summary
- Chapter 9. Configuring Microservice Ecosystems
- Using Environment Variables with Docker
- Using Spring Cloud Config Server
- Configuring Microservices with etcd
- Creating an etcd Configuration Provider
- Summary
- Chapter 10. Securing Applications and Microservices
- Security in the Cloud
- Intranet Applications
- Cookie and Forms Authentication
- Encryption for Apps in the Cloud
- Bearer Tokens
- Securing ASP.NET Core Web Apps
- OpenID Connect Primer
- Securing an ASP.NET Core App with OIDC
- OIDC Middleware and Cloud Native
- Securing ASP.NET Core Microservices
- Securing a Service with the Full OIDC Security Flow
- Securing a Service with Client Credentials
- Securing a Service with Bearer Tokens
- Summary
- Chapter 11. Building Real-Time Apps and Services
- Real-Time Applications Defined
- Websockets in the Cloud
- The WebSocket Protocol
- Deployment Models
- Using a Cloud Messaging Provider
- Building the Proximity Monitor
- Creating a Proximity Monitor Service
- Creating a Real-Time Proximity Monitor UI
- Summary
- Chapter 12. Putting It All Together
- Identifying and Fixing Anti-Patterns
- Cleaning Up the Team Monitor Sample
- Continuing the Debate over Composite Microservices
- Mitigating Risk with Circuit Breakers
- Eliminating the Synchronous Composite Pattern
- What Next?
- Index
- About the Author
- Colophon
Systemvoraussetzungen
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.