Skip to Main Content
Hands-On Microservices with C#
book

Hands-On Microservices with C#

by Matt Cole
June 2018
Intermediate to advanced content levelIntermediate to advanced
254 pages
6h 9m
English
Packt Publishing
Content preview from Hands-On Microservices with C#

Building your microservice – part one

In our first example, we are going to manually wrap the Windows FileSystemWatcher object to do what we want. This will give us ultimate control over the object and the process. This work was originally done by Mr. Peter Meinl, and a big thanks goes out to him to allow us to use his work in this book. You can check out his blog at https://petermeinl.wordpress.com/.

Here's what we hope to accomplish in this chapter:

Architecture of classes: Buffering and Recovering FSW

The first class we will provide is the BufferingFileSystemWatcher. This object:

  • Buffers FileSystemWatcher events in a BlockingCollection ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with ASP.NET Core

Building Microservices with ASP.NET Core

Kevin Hoffman
.NET Core Microservices

.NET Core Microservices

Piotr Gankiewicz
Microservices .NET Core Masterclass

Microservices .NET Core Masterclass

Piotr Gankiewicz, Dariusz Pawlukiewicz
Enterprise Application Architecture with .NET Core

Enterprise Application Architecture with .NET Core

Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi

Publisher Resources

ISBN: 9781789533682Supplemental Content