A copy to Cliboard library using Selection API to select text and execCommand to interact with Clipborad (only available with Chrome 42+, Edge 12+, Firefox 41+, IE 9+, Opera 29+ and Safari 10+). On unsupported browser, a message can conduct user to use standard system shortcut on an already selected text (nice failover).
.NET Standard, the futur of .Net is here: dotnet/standard. I have great expectation of what should have be part of .Net core from the begining.
Everything happens just like when .Net 1.0 was released. A non finished version quickly followed by a short term 1.1 (mainly bug fix). Then there were many blunders around a 1.2 version, before it was abandoned in favor of a much better designed 2.0. And this 2.0 version was so succesfull that each version up to 4.6.2 have been on top. But certain inconsistencies remained (for example, BCL did not make complete transition to generics).
Let that be a lesson. A great foundation is better than compatibility to a (very?) small codebase.
using Serilog; using Serilog.Exceptions; ILogger logger = new LoggerConfiguration() .Enrich.WithExceptionDetails() .WriteTo.Sink(new RollingFileSink( @"C:\logs", new JsonFormatter(renderMessage: true)) .CreateLogger();
C# Websocket server implementation: statianzo/Fleck: C# Websocket Implementation
A small validation library for .NET that uses a fluent interface and lambda expressions for building validation rules: GitHub – JeremySkinner/FluentValidation. Seems easy to use.
I was realy annoyed by too frequent Windows 10 reboot. Found this really easy way to disable them: How Easily Disable The Automatic Forced Reboot after Windows 10 has done an Update Four easy… – justpaste.it
Image manipulation for .Net core: ImageProcessor Core – James Jackson-South