Archive for the '.NET Framework' Category

Simplify CSS and Javascript Compression In Visual Studio

February 23 2010   Leave a Comment   

I’ve released a new open source tool that performs design-time compression of your CSS and Javascript files in Visual Studio projects.  This can be a big help, since it allows you to easily do it in your project rather than as part of your build/publish process.  And, since it leaves both the compressed and uncompressed [...]

Leave a Comment

Create A Self-Signed SSL Certificate In .NET

May 8 2009   1 Comment   

A problem that I have commonly run into is trying to secure communications using SSL or other encryption for a intranet application. In this scenario, it is unnecessary to have a secure certificate signed by an expensive Internet authority. And often it is intended for deployment in a small-scale scenario where there might not be [...]

1 Comment

Using Enumerations For Columns With LINQ

August 5 2008   Leave a Comment   

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 writing and working with your code a lot easier. This is accomplished by manually setting the Type of the column to the type of the enumeration in the [...]

Leave a Comment

Event Handlers That Do Thread-Safe Invokes

July 11 2008   Leave a Comment   Tags:

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 it to fire an event back to the Windows form. The complication was that the SerialPort class provided by .NET 2.0 fires the DataReceived event [...]

Leave a Comment

Forcing 32-bit Execution in .NET

June 3 2008   1 Comment   

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 I’ve run into is when you’re using Crystal Reports embedded in the application. I’m not sure about newer versions, but for Crystal Reports XI R2 it won’t work in 64-bit [...]

1 Comment
 
     
Copyright © 2009 All Rights Reserved. Powered by WordPress 2.7 Subscribe to RSS