How to take down a web site temporarily
Sunday, October 16, 2005
Usually I rename web.config to web.config.bak while I make major changes to a web site. This causes an error page to anyone hoping to visit the site that I am modifying. In ASP.NET 2.0 you can take your web site offline and redirect traffic to a page that you can control its content (i.e. not an ASP.NET error page) simply by adding a web page called App_Offline.htm. Thanks to Erik Porter’s Blog for pointing this out.…
MCMS Links
Saturday, October 8, 2005
It’s time for me to get ramped up on MCMS again as a big client wants their site written using that tool. I always get asked pretty much the same questions so I’m going to try to centralize all of the links to the answers. For the most part, the Microsoft public newsgroup is an amazing resource. Stefan Gossner from Microsoft answers so many questions, so fast, that I’m amazed that MVP’s even exist for MCMS.…
HTML Validation Choosing a DOCTYPE
Tuesday, September 13, 2005
A while back, I asked the question of what the XHTML 1.1 doctype is. The answer is found on the W3.org site here . It is this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> They suggest that the xmlns and xml:lang attributes be set for the html tag like this: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> Also, if you are up to it, add the xml declaration to it (<?xml version="1.0" encoding="UTF-8"?> at the top).…
Vista ❤ RSS... but hates developers
Monday, September 5, 2005
The RSS platform in Vista has three parts: Common Feed List Common Data Store Platform Sync Engine The data itself is structured like a directory structure. At the top is Feeds (a collection of feeds). Within Feeds there are a list of one or more folders. Each folder can contain zero or more folders and zero or more Feed. Each folder also has a folder properties…. er… properties. Each Feed has one or more Item and Feed Properties.…
.NET Maximum Request Length Exceeded
Saturday, June 11, 2005
On a day to day basis I develop in Microsoft Content Management Server (MCMS 2002 SP1a). For most of what I’ve done editing the Metabase.xml file takes care of the problems I’ve had in uploading large files. Until today. A co-worker was entering content into a site that we are currently working on and he came across the “System.Web.HttpException:Maximum request length exceeded.” error. After a brief look to ensure that I had made the changes to the metabase I was reminded that there is also a machine.…
1, 0, 0 in x seconds
Wednesday, April 13, 2005
I am fascinated with test driven development/design (TDD). I am reading everything I can get my hands on about the topic. I highly recommend a Microsoft Press book written by Ron Jeffries titled “Extreme Programming Adventures in C#”. TDD speaks to me as a developer in so many ways that I cannot even begin to explain. If I write a line of code, how do I know that line of code works?…