View Post

Updated dot net groups

A quick note to say I updated the groups archives a bit. Hopefully the changes are welcome. A test link or two: one and two

Continue Reading
Written by Ben Strackany -- January 1, 2005
View Post

Blog test for <pre> vs <code> tag

I put a lot of code snippets into my blogs, so I’ve been using <pre> a lot, but I was wondering if I should use <code> instead (or in addition […]

Continue Reading
Written by Ben Strackany -- December 30, 2004
View Post

HtmlEncode data in your ASP.NET DataGrid

OK, I didn’t know this, but I found out that a DataGrid BoundColumn will not automatically HtmlEncode your data. So if the data contains HTML entities (e.g. “hello this is […]

Continue Reading
Written by Ben Strackany -- December 29, 2004
View Post

Recursively List Virtual Directories in IIS with C# and DirectoryServices

You’ve probably seen a lot of VBScript scripts that manage IIS via ADSI objects, but let’s say you want to write something in .NET. Maybe C#? Maybe compiled code, with […]

Continue Reading
Written by Ben Strackany -- December 29, 2004
View Post

Reducing the .net WinForms memory footprint

WinForms applications sometimes take up a lot of memory for JIT, memory that isn’t needed once your application gets going. You can reduce the amount of memory being used by […]

Continue Reading
Written by Ben Strackany -- December 27, 2004
View Post

Search and Replace with Perl

A quick update to my older blog about using Perl to do a very very fast find & replace on files. for /R c:path %i in (*.htm *.gif) do @c:perlperl.exe […]

Continue Reading
Written by Ben Strackany -- December 24, 2004
View Post

Programatically configure Windows Processor Scheduling for Applications or Background Services

Sometimes you might want to programmatically switch processor priority for applications vs services. You can do it via the Control Panel applet (System->Advanced->Performance Tab->Settings->Advanced Tab->Processor Scheduling). Or, do it in […]

Continue Reading
Written by Ben Strackany -- December 23, 2004