WinFsp: helper to develop user mode file system in Windows

This project provides an infrastructure to build user mode file system:

  • A kernel mode file system driver is responsible of re-routing IRP to user mode code,
  • A library provide a low level abstraction to build user mode file system. This part make the glu with previous kernel driver. A FUSE compatible layer is also provided,
  • a sample fs, memfs: an in memory file system,
  • A Windows Service called WinFsp Launcher to launch multiple user mode file system.

Source: Main | WinFsp

EDIT: Yet another solution for developping user mode filesystem with FUSE support: https://github.com/dokan-dev/dokany.

combination-stream: Single stream representing multiple streams

From the author of the excellent SimpleJson, a single source file nuget package containing a combination stream:  support sync and async reading from multiple stream (facebook-csharp-sdk/combination-stream: Single stream representing multiple streams).

Streams should be provided in constructor as IList<Stream> and are automatically disposed unless using an overloaded constructor taken indexes to dispose.

Reading source code I was thinking to a more dynamic version using an IEnumerable<Stream> and a delagate responsible of the disposal part. The delegate could take an index and the Stream.

Searching for such an implementation, I’ve found this SO question where Jon Skeet propose similar specifications (at east for the IEnumerable part) and someone called prabirshrestha propose an implementation (without the IEnumarable part). The circle is complete: prabirshrestha is the author of facebook-csharp-sdk/combination-stream.

EDIT: More googling gives an implementation from Marc Gravell http://stackoverflow.com/a/3879231/231977 which is truly lazy (by far the better response of corresponding question).

 

Convert html/css to WPF/Xaml

Quite a bit old but target “legacy” WPF Xaml instead of new one: SocialStream/XAMLConverter at master · stimulant/SocialStream

Include html/css converters able to produce Xaml. In fact, I was searching for the new HtmlBlock which is supposed to come to Windows App Studio june upgrade and more precisely in Windows App Studio Libraries. Of course, It’s only UWP, but it can be a great source of inspiration:).