April 2003 - Posts

Article on Agile Requirements Modeling.

Great debugging faq list from ISerializable.

WOOHOOOOOOOOOO!.
[Sean 'Early' Campbell & Scott 'Adopter' Swigart's Radio Weblog]

Sweet...

I've written some sample code to generate a RSS feed from the Windows Event Logs. This is very handy for monitoring servers - perhaps a poor man's SNMP monitor. :-)
[Greg Reinacker's Weblog]

Sweet....

Today I needed the ASP.NET Panel web control to render as a html div element in Netscape 7.0 and Mozilla 1.0 (as opposed to a html table) for several different reasons that would take too long to detail here. Awhile back I found the following code snippet but unfortunately I can't recall exactly where I found it so I can't give due credit. Anywho, place the following snippet inside the <system.web></system.web> section of your web.config file. This will cause these browsers to essentially be treated as 'uplevel' browsers, thus rendering panels as div. On a related note, I thought that I had heard that the browserCaps would be updated periodically. Does anyone know how often this occurs and where I might be able to find an updated version?

<browserCaps>
  <case match="Gecko/[-\d]+">
     
browser=Netscape
     
frames=true
      tables=true
      cookies=true
      javascript=true
      javaapplets=true
      ecmascriptversion=1.5
      w3cdomversion=1.0
      css1=true
      css2=true
      xml=true
      tagwriter=System.Web.UI.HtmlTextWriter
     
<case match="rv:1.0[^\.](?'letters'\w*)">
         
version=6.0
          majorversion=6
          minorversion=0
         
<case match="^b" with="${letters}">
             
beta=true
          
</case>
     
</case>
     
<case match="rv:1(\.\d+)(\.\d)?(?'letters'\w*)">
         
version=7.0
          majorversion=7
          minorversion=0
          
<case match="^b" with="${letters}">
              
beta=true
         
</case>
     
</case>
  </case>
</browserCaps>

If you've ever seen the web.config file that ASP.NET uses, and thought, "Wow, I'm so glad they configure things that way, in this nice, easy-to-use XML file. Wish I could do that!" then you should check out the System.Configuration namespace. There's an interface called IConfigurationSectionHandler that lets you write your own parsers for your application configuration file, letting you put whatever you want in there. [CraigBlog]

I used Craig's XmlSerializerSectionHandler today to set up a custom configuration settings section for one of my ASP.NET assemblies. Kudos to Craig for the very simple and elegant solution.

Listed on BlogShares

Our first RSS feeds are now live...[Pushing the Envelope ]

This is great guys. Thanks! One more tool to make my job easier...

More Posts