Cargando…

Hands-On Microservices with C# : Designing a Real-Worl, Enterprise-grade Microservice Ecosystem with the Efficiency of C# 7.

In this book, we will show you how to report and reclaim memory, how to send and receive messages, and how to report and monitor the health of your entire microservice ecosystem. By the end of this book, you will be confident enough to develop a sturdy microservice architecture that works in a produ...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: R. Cole, Matt
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: 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; Chapter 2: ReflectInsight
  • Microservice Logging Redefined; Router; Log Viewer; Live Viewer; Message navigation; Message properties; Watches; Bookmarks; Call Stack; Advanced Search; Quick Search; Advanced Search; Time zone formatting; Auto Save/Purge; Auto Save; Auto Purge; Configuration Editor; Overview; XML configuration; Dynamic configuration; Configuration Editor; Summary.
  • ExercisesChapter 3: 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; Summary; Chapter 4: Designing a Memory Management Microservice; Creating our microservice; Our code; Reclaiming memory; Dynamically creating an exchange; Dynamically creating a queue; Publishing a message; Summary; Exercises; Chapter 5: Designing a Deployment Monitor Microservice.
  • Deployment issuesInstallation; Our messages; Deployment start message; Deployment stop message; Our program; Subscribing to messages; Processing messages; Publishing health status messages; Summary; Exercises; Chapter 6: Designing a Scheduling Microservice; Installation; Installing Quartz.NET; What is Quartz.NET?; Runtime environments; Job scheduling; Job execution; Job persistence; Clustering; Listeners and plugins; Installing Quartz.NET server as a service; Our program; OnStart; Scheduling multiple jobs; Running our microservice; Summary; Exercises.
  • Chapter 7: Designing an Email MicroserviceInstallation; Our program; OnStart; Subscribing to messages; Processing messages; Finding DNS servers; Subscribing to email requests; Summary; Exercises; Chapter 8: Designing a File Monitoring Microservice; Overview of FileSystemWatcher; Internal buffer; Building your microservice
  • part one; Making sure our message queue and exchange are created; Running the recovery filewatcher; Building your microservice
  • part two; Our message; Building our main program; Notes on events; Summary; Exercises; Chapter 9: Creating a Machine Learning Microservice.