CHAN - Bloat free ASP.Net

Introduction | About | Roadmap | Changelog | Licensing | Reference | Download | Guides: Windows , Linux/Mono , Building

Windows 2000/XP Installation Guide

The first thing you need to do is download the latest version of Chan_Clean or Chan_Demo. The latter includes a couple of test and example pages to help you configure your server. The former is a "raw" cut of just the bare framework - you should be able to unzip this over an existing (development!) site to upgrade it's Chan version.

Let's assume you're going with the Demo suite, and that you're hosting it on a Windows box with IIS running from C:\inetpub\wwwroot. The first thing you need to do is unzip everything into there - it will create its own chan_demo subfolder.

Next you need to configure a few things, first create a temp folder for Chan to work from , let's assume that's going to be C:\temp\chan. The Chan file upload control inparticular uses this to store uploaded files. So make sure you give SYSTEM full control over this temp dir.

Now you can start up the IIS management console - either right-click on My Computer and select Manage - you'll find it in the "Services" section. Or find it in Control Panel - Administrative Tools. Expand the tree and right-click on the "Default Web Site" then select properties.

In the Home Directory tab you'll need to select the "chan_demo" folder and click "Create" in the bottom application section to create the "Default Application".

In the Documents tab set the default document list to show Default.aspx as the default document.

In the ASP.Net tab you'll need to select .Net version 2.0.xxx

Still in the ASP.Net tab click "Edit Configuration" to get to the config window, ignore the top half, the bottom is where all the Chan goodness lies. It should look like the following, each of the "Root" settings needs to end without a trailing slash. Here you can set your site title as well as the meta description and keywords.

If you managed to do the above you should now be able to open a browser and type http://localhost/ to get to the Chan_Demo site. If it comes up - and doesnt look like total garbage - then you're nearly there. All that remains to do is click on the "Self Test" link to check that you got the "Edit Configuration" part right. Once you're happy you can then move on to Buidling the source.