Leveraging TaskCompletionSource

The TaskCompletionSource class is the means by which we can create and “manage” a Task ourselves.  By “manage” I mean implement the underlying mechanism that embodies the progression of an asynchronous activity including its completion or possible termination due to exceptions.

Continue reading

Robert Tinney

I feel rather fortunate to have developed interests in electronics and computing right at the beginning of the microprocessor era. Today’s generation are entering the technology, software and internet fields at a time when they are well established and the chaos, experimentation, excitement and optimism are somewhat less than they were forty years ago.

Continue reading

Introducing Imperia

Imperia is the name I’ve given to my UPnP Control Point API that supports Windows Desktop, Windows Surface (WinRT) and Windows Phone 8. This project arose because I was interested in leveraging my C# skills on a Windows Phone 8 project, I setup a developer account at Microsoft and installed the Phone SDK as part of Visual Studio 2012 on a Windows 8 machine that I have.

Continue reading

Pointers in C#

C# allows you to declare raw pointers to memory, such pointers can only be declared and manipulated if the project in which they appear has the “Allow unsafe code” option enabled and the code block has the “unsafe” keyword specified.

Continue reading