
Building Microservices with ASP.NET Core
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- 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
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.