更新时间:2021-07-23 17:26:00
封面
Title Page
Copyright and Credits
Hands-On Microservices with C#
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Let's Talk Microservices Messages and Tools
What is a microservice?
Service-Oriented Architecture
Microservice architecture
Pros and cons
Pros
Cons
Case study
Messaging concepts
Message queues
Producer consumer queue
Creating common messages
Message subscriptions
The subscription ID that you pass to subscribe is important
Considerations when writing the subscribe callback delegate
Using SubscribeAsync
Canceling subscriptions
Versioning messages
How does message versioning work?
Message versioning guidance
Message publishing
Message flow
Exchanges
Direct exchange
Default exchange
Topic exchange
Fanout exchange
Headers exchange
Common messages
Summary
ReflectInsight – Microservice Logging Redefined
Router
Log Viewer
Live Viewer
Message navigation
Message properties
Watches
Bookmarks
Call Stack
Advanced Search
Quick Search
Time zone formatting
Auto Save/Purge
Auto Save
Auto Purge
Configuration Editor
Overview
XML configuration
Dynamic configuration
Exercises
Creating a Base Microservice and Interface
Classes versus interfaces
Creating our base project
Creating a base interface
Creating our base microservice class
Variables
Base microservice constructor
Implementing our interface
Publishing a memory update message
Minimal microservice
Designing a Memory Management Microservice
Creating our microservice
Our code
Reclaiming memory
Dynamically creating an exchange
Dynamically creating a queue
Publishing a message
Designing a Deployment Monitor Microservice
Deployment issues
Installation
Our messages
Deployment start message
Deployment stop message
Our program