.NET Framework

Monitoring a WCF Service Host

2 minute read

One problem I’ve been running into is my ServiceHosts failing out in my long running background services. I’ve written the following class to help monitor th...

Using Enumerations For Columns With LINQ

1 minute read

One of the great features of LINQ that DataSets didn’t support well is the ability to use enumerations for your columns instead of integers. It can make writ...

Event Handlers That Do Thread-Safe Invokes

1 minute read

I recently ran into a scenario where I wanted to write a class to do a low-level serial interface to a barcode scanner. When the barcode is scanned I wanted ...

Forcing 32-bit Execution in .NET

1 minute read

Sometimes when developing .NET applications it becomes necessary to force an application to run in 32-bit mode, even on a 64-bit processor. One scenario that...

Odd WSHttpBinding Scenario

1 minute read

I was having lots of trouble recently with a WCF WSHttpBinding scenario on a server. It had been working, and the only thing I had changed recently was to th...

Using Transactions With DataSets

1 minute read

One of the major shortcomings of the ADO.NET dataset system, in my opinion, is the lack of support for transactions. In .NET 2.0 this situation was somewhat ...