.Net Date Format Strings

I keep forgetting these and not being able to find them in the MSDN library without going through pages of locailzation jargon, so I’ve decided to reprint this list that I found on vb-helper.com. d – Short date %d – Day number M?d – Month and day number dd – Day number, two digits ddd […]

Posted in Uncategorized | Tagged , | Comments Off on .Net Date Format Strings

MSDN Library on Application Architecture

When I think of sources for information on application architecture, I rarely think MSDN Library, but I did find the article on Designing Data Tier Components and Passing Data Through Tiers for .Net applications to be full of useful information and design considerations.

Reverse DNS Lookup from ASP.Net

My client needs to be able to restrict page content based on the client machine name on their intranet site. I knew that you could get the IP address from the REMOTE_HOST HTTP header, and some exploration of the System.Net namespace revealed that you can use the System.Net.Dns.GetHostByAddress method to perform a reverse DNS look […]

Posted in Uncategorized | Tagged , , | Comments Off on Reverse DNS Lookup from ASP.Net

CanVS Macros Save You from Carpal Tunnel?

I am currently writing my ASP.Net pages in VB.Net since my client comes from the ASP/VBScript tradition and the VB syntax is more familiar to them. It hasn’t taken long for me to miss the terse syntax of C#, especially since I have mild tendonitus and typing all those End X is killing me. Properties […]

Failed to start monitoring [directory/file] changes

Trying to use Windows Authentication and all of the sudden you get this error after locking down the permissions on one of your web site’s secure directories? Take a look at: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q317955

Posted in Uncategorized | Tagged | Comments Off on Failed to start monitoring [directory/file] changes

"Tech" PodCasts

I’m surprised how hard it is to find a good tech PodCast that talks about coding and best practices. I stumbled upon Craig Shoemaker’s Polymorphic PodCast first, and haven’t found anything that comes close to the quality of its content since. I think his show should make it somewhere higher thank #27 on Podcast Alley’s […]

Trimming down that ViewState

I’m developing an ASP.Net site for a client that is very concerned about bandwidth. My first objective is to reduce the size of the hidden veiwstate data returned in the form. The worst culprits seem to be the data display controls, especially the DataGrid. I found that for displaying small amounts of data in a […]