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...
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,...
Recently I had a need to map an IDataRecord to an entity class object in C# without using reflection for performance reasons, and because I can. Here is the code for reference… First we need the method that generates a function to map the properties while...
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...
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...
Aurelia, one of the leading JavaScript client frameworks for single page applications (SPAs), has been around for a while now and there are a number of resources for getting started with it. Rather than try to make yet another demo, I thought it might be fun to create...
I’ve been tracking the ASP.NET betas and release candidates over the past year or more and it’s coming along nicely. I like the separation of client side and server side in the new folder structure and the unification of the MVC and WebAPI controllers. For...
Amusingly today I’m looking at new cars, hence the blue and new, but that’s not all that’s going on. Today I am starting something new that will change hopefully not just my perception of the world, but others as well. It’s time for change. Let’s do this. Technorati...
I had to dig a little bit to find this. Since not all form factors support multiple windows and tablet mode generally discourages floating windows this is probably buried for a reason, but I wanted to do it anyway so here it is: var viewId = 0; var newView =...
There are a lot of tools out there and others have posted lists that are handy. I’m going to put my list of common tools here and try to keep it updated every now and then for my own use as well as anyone else who may like to reference it. Feel free to send me more to...