KeyLocks: Lock .NET/C#-code on Specific Values 2017-11-30 16:07 UTC .NET C# Locking Projects If you've ever needed to ensure that multiple threads are not running the same code, you've probably used a lock-statement in your .NET/C#-code. Sometimes a...
C# DateTime to RFC3339/ISO 8601 2017-11-28 08:02 UTC .NET C# Formatting According to Wikipedia the date and time-format RFC3339/ISO 8601 usages includes: On the Internet, the World Wide Web Consortium (W3C) uses ISO 8601 in...
Convert C# URI/URL to Absolute or Relative 2017-11-24 07:56 UTC .NET C# Formatting URI There are many situations when you handle URLs or URIs in applications today, no matter if it's a web-application or not. Often you need to handle absolute...
Registering Autofac & AutoMapper Circularly 2017-11-20 08:08 UTC .NET Autofac AutoMapper C# Dependency Injection Have you ever wanted to register Autofac and AutoMapper circularly? By this I mean to do the inception of these two things, at the same time, in the same...
C# Clamp: Limit IComparable Between Two Values 2017-11-15 08:41 UTC .NET C# If you've ever needed to limit a value between two known limits of values, then you have been looking for Clamping. Sometimes when you do calculations on...