In Android adapters are used sometimes to provide objects for a spinner. The following example shows how to extend that mechanism to add a null…
The error happens when the REST methods (POST, PUT, DELETE, etc). are already registered by another application. The following entries in the web.config helped me…
This post explains in detail the steps necessary to use the jQuery DatePicker with the ASP.NET MVC Framework to enter dates, instead of the standard…
The Unix calendar starts at 01/01/1970. This post will show you how to convert any DateTime value into a Unix time stamp. private const string…
When you use the Entity Framework to query data from a database, you often have to load detail data related to a database entry. Child…
There is no built-in way to discover the MAC address of your network adapter in .NET. Using the following function the MAC address that belongs…
The following code contains extension methods for the random class. One method will create random dates between a given minimum and maximum. The second method…
There is a bug in WPF that leads to a very strange behavior: A style that is defined in the resources is not applied to…
There is a new blog post about this topic with a new improved version of the AutoGrayableImage: https://www.engineeringsolutions.de/wp-admin/post.php?post=663 The following class is a WPF image…
This can be used to choose the line type from a ComboBox, for example in a drawing application. The first entry is a solid line,…