Wyam is a static content generator and can be used to generate web sites, produce documentation, create ebooks, and much more: Wyam (seen on Wyam – StaticGen).
Month: February 2016
Async-friendly format for stack traces and exceptions
AsyncFriendlyStackTrace try to remove async related stuff from stack traces generated by async code: aelij/AsyncFriendlyStackTrace.
Task Scheduler Managed Wrapper
Easy to use wrapper arround Task Scheduler: Task Scheduler Managed Wrapper – Home (samples here). You can create, delete, modify, list tasks on local machine or remote one.
Tasks are made of:
a trigger:
- BootTrigger,
- IdleTrigger,
- LogonTrigger (can include a specific user by name or SID),
- RegistrationTrigger (auto trigger after self regsitration),
- SessionStateChangeTrigger (“connecting or disconnecting locally or remotely, or locking or unlocking the session”)
- and every time specific triggers.
an action:
- ExecAction,
- EmailAction,
- ShowMessageAction,
- ComHandlerAction (“It allows the task to execute and In-Proc COM server object that implements the ITaskHandler interface”).
The Reactive Manifesto
I agree upon The Reactive Manifesto.
The Bait and Switch PCL Trick
Source: The Bait and Switch PCL Trick
I was sure I’ve already blog about it but, apparently, it’s not the case. This post is about a trick to use PCL: you provides a fake implementation in PCL and real implementations, using platform dependent code, for each supported platforms. Then you combine all this implementations in one nuget package.
Doing this way, this nuget package is usable in PCL but fake implementation will never be used. This trick is based on the fact that final application is never PCL and that nuget rules will provides the more specific variant.
DWM – Desktop Windows Manager
Best source of information on DWM: Browse by Tags – Greg Schechter’s Blog – Site Home – MSDN Blogs.
When TPL Task continuations are inlined and how to prevent inlining
News from my corner of the Visual Studio Project & Build team, programming tips, and solutions to common programming issues.
Source: When TPL Task continuations are inlined | Andrew Arnott
CalcBinding: what WPF binding should have been
I was searching SO for just invert boolean property in Binding. Converter solution often seems overwhelming.
CalcBinding project provides calculated binding based on DynamicExpresso library (blogged here).
This remind me an old promising project: pybinding (already blogged here in 2011). But pybinding was heavyly based on ironPython. A must in term of possibilities but linked to a dead project.
DynamicExpresso: a C# expressions interpreter
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!