Category Archives: Programming

.Net Sockets and You

IBM Server

Writing a socket server in .Net is one of the most rewarding things you can do in .Net. Unfortunately at the same time there is a lot of pre-requisite knowledge – and the knowledge isn’t easy to find online (in fact it is very easy to examples and tutorials that are blatantly wrong). After reading [...]

Also posted in Best Practices, Networking | 4 Comments

Cross-AppDomain Singleton in C#

How create a cross-AppDomain singleton in C# without using interop calls to the runtime.

Also posted in Best Practices, C#, Tricks | 4 Comments

WCF and Windows/Custom Auth

Allowing a WCF web client (hosted in IIS) to send either Windows Authentication or Custom Authentication.

Also posted in C#, WCF | Leave a comment

WinDBG not Resolving Method Names: Resolution

How to fix stack traces that only contain HelperMethodFrame and GCFrame when using SOS.dll.

Also posted in Debugging | 2 Comments

Android: Emulator Can’t Find Images

Fix the ‘could not find virtual device named’ error with Android Emulator.

Also posted in Android, Top Hacks | Leave a comment

Code Contracts

I recently started using CodeContracts and have a few tips.

Also posted in Best Practices, C#, Short, XMPP Server 2010 | 2 Comments

Code Block Toggler

Handy snippet to switch between two code blocks.

Also posted in Top Hacks, Tricks | Leave a comment

Automatically Wrap BeginInvoke (dispatch)

Easily handle multi-threaded events in .Net WinForms.

Also posted in C#, Tricks | Leave a comment

SSRS Timeout on SSL 443 – Resolved

If you are getting either a ‘The underlying connection was closed’ or ‘The operation has timed-out’ error when deploying reports manually (add reference to web service) to SSRS via SSL on port 443 this fix may work for you.

Also posted in C#, SSRS | 2 Comments

Direct to MSDN Chrome Search Tag

lo-band and high-band views easy in chrome.

Also posted in Chrome, Short, Tricks | 2 Comments

Switch to our mobile site