Category Archives: Code Examples

SQL Server Dependency Query

You’ve been staring at the SQL Server view vwCustomersGH for the past hour.  The view is part of a project you just started maintaining and like many views and stored procedures in the project you are sure it’s not being … Continue reading

Posted in Code Examples | Tagged , | Comments Off on SQL Server Dependency Query

NUnit Error “Attempted to access an unloaded AppDomain”

I was plagued by the above error but found a workaround, at least one that worked for me.  It’s a one line change to the NUnit config file.  Note, this the actual NUnit config file that is installed in C:Program … Continue reading

Posted in Code Examples | Tagged , | Comments Off on NUnit Error “Attempted to access an unloaded AppDomain”

Upgrading Mini-Compressor to .NET 4.0 Notes Addendum

You can read part one at Upgrading Mini-Compressor to .NET 4.0 Notes post. One item that I feel has been neglected by Visual Studio is the Setup & Deployment projects.  There has been little improvements to them since Visual Studio … Continue reading

Posted in Code Examples | Tagged , , , | Comments Off on Upgrading Mini-Compressor to .NET 4.0 Notes Addendum

Starting Any Method in a New Thread Using .NET

The main problem I encountered was creating a function to accept any function pointer along with an unknown number of arguments.  I got around this problem using the ThreadStart and delegate() features in C# (.NET 3.5).  First off create your … Continue reading

Posted in Code Examples | Tagged , | Comments Off on Starting Any Method in a New Thread Using .NET