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...
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...