On the road to breaking size limits, the futur of protobuf-net could be using Utf8String, Span<T>,ValueTask<T> when usefull and “Channels” (from corefxlab): Code, code and more code.: protobuf-net: large data, and the future
An interesting use of Expression Tree: fast deep copy (Fast Deep Copy by Expression Trees (C#) – CodeProject).
This project provides a wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization: Task Scheduler Managed Wrapper.
Interesting solution discovered when digging into SO questions: /DynamicExpresso.
Textual expressions are evaluated to lambda, global variables can be access from interpreter context, parameters can be set during lambda generation.
A Taste of Roselyn in only 58 KB!
In .Net [1.1 .. 4.6, Silverlight], each literal string value is garantee to exist only once in memory. Cache used to implement this can be access and used through String.Intern(String) static method (String.Intern Method (String) (System)).
A library/nuget package to simplify Win32 SendInput with smart helper methods: Windows Input Simulator.
Some tricks to control how many bytes are read from TCP/IP or how to read only 1000 bytes:
This post discusses relations between low level TCP/IP buffering and HttpCompletionOption.ResponseHeadersRead, request.AllowReadStreamBuffering/AllowWriteStreamBuffering, using TcpClient directly and range (httpclient.DefaultRequestHeaders.Range = new RangeHeaderValue(0, size);)
How to use FiddlerCore including a detailled explanation of how to register sticky certificates to be able to also capture https: Using FiddlerCore to capture HTTP Requests with .NET – Rick Strahl’s Web Log. Could be added into a logging solution.
All in one convenient place: Bizcoder – HttpClient, it lives, and it is glorious.