by William Forney | Sep 27, 2020 | Development
Here is a simple disposable wait cursor class to simplify your mouse display needs… /// <summary> /// The WaitCursor class. Implements the <see cref=”IDisposable” /> /// </summary> /// <seealso cref=”IDisposable” /> public...
by William Forney | Sep 27, 2020 | Development
When encountering issues with async/await while building a Windows Forms application recently I came across this helpful class that allows you to await returning to the initial (usually UI) thread… public struct SynchronizationContextAwaiter : INotifyCompletion,...
by William Forney | Sep 27, 2020 | Development
Recently I had a need to map an IDataRecord to an entity class object in C#. Here is the code for reference… First, we need the method that generates a function to map the properties while handling DBNull. private static Func<IDataReader, T>...
by William Forney | Sep 12, 2020 | Computers and Internet
A while ago I swapped my blog to BlogEngine.NET, then to MiniBlog, then to Ghost, then back to MiniBlog. Now I’m going back to WordPress again after a decade or so. The other platforms were nice, and some were integrated well, but nobody has kept them up, or...
by William Forney | Aug 19, 2018 | Computers and Internet, Development
Recently I updated the blog to MiniBlog.Core on ASP.NET Core. So far it seems pretty fast. I’m working on a new engine for it in my spare time using Azure Functions and blob storage. More to come when I find some time to update this. Technorati Tags: ASP.NET...