SyntaxHighlighter Build Test Page
Thoughts from a C# Developer

Archives / 2009

11-13 of 13
  • So you want to want HTTP Modules and Handlers working with Vista and IIS7, huh?

    Monday, February 16, 2009
    HTTP Handlers and modules are necessary components for any given web app. While it's conceivable that a developer may never develop a Handler/Module ever, there may be legacy handlers/modules that may exist or third party applications that requires to use them. More information on Handlers and Modules here. So recently, I ran into an issue where all of my old .ashx and custom handlers blew up when running under IIS. I had upgraded to Vista from XP and being that the web application was dependant upon alot of Handler calls, this proved to be the latest challenge in the life
    Filed under | 0 comments »
  • Dancing around with XQuery and SQL Server - Part 1

    Thursday, February 12, 2009
    What's XQuery? It's a language backed by the W3C to standardize querying XML. Why XQuery? Microsoft started offering support for it in SQL Server 2000 and in SQL Server 2005, extended it with more support with the introduction of the XML data type column. It's fast, it's compact, and you don't need to add 10 million trivial columns. You just add one XML column and stick raw XML in there. It's that easy, a caveman can do it. Here's more information about Microsoft and XQuery. So what's the bad news? It's yet another language to learn and the syntax is
    Filed under | 2 comments »
  • StringDictionary will lower your keys (and your expectations)

    Monday, February 02, 2009
    I needed to store a collection of key/value strings, so I turned to a familiar class I've used in the past: System.Collections.Specialized.StringDictionary. It's pretty straightforward to use, you construct it, then add your items one at a time. However, I ran into some pretty odd behavior where all the keys I injected came back out lower cased.. and subsequently, blew up into a nice error screen because some of the underlining code was dependant on specifically cased key strings. According to microsoft: The key is handled in a case-insensitive manner; it is translated to lowercase before it is used with
    Filed under | 0 comments »