.Text blogging tool is not easy to set up.

 

The first big difficultly I had was with the web.config file, choosing the right one is very import, yet there very little explination of the differnce between the configuration files. The configuration files rely heavily on the "HandlerConfiguration" node, this node and it's children provides a bunch of regualar expressions that match agaist the url and redirect you to the apporate places. I choose to use "Single1_Web.config" this was a big mistake as the regualar expression in this file are only suitable this is only sutiable if you intend to run you blog in the root of your web site. If you want to run you're blog in a sub dir then you need "Single2_Web.config".

The second problem I had is that .Text requires you to host it in an IIS application. Not a huge problem if you can do that but my ISP don’t give enough control of IIS to create a sub directory in its own application. After a lot of head scratching I started thinking like this: What exactly does .Text uses the IIS application for? Well it used for two things, to read the user settings out of the sql server database and to decided whether the URL being requested is part of a blog. Neither of these things are exactly require there own application, so I when thought the source searching for .ApplicationFolder and replaced it with the name of the dir I wanted. Yes this was morally wrong to hard code it like that and I felt dirty afterwards but after a little rogering of the vs projects it worked exactly how I wanted it to work, no changes to IIS required.

Having said all that now I have it set up and working the way I want, I do like it, alot.

 

Bookmark
dotnetkicks+, digg+, reddit+, del.icio.us+, dzone+, facebook+

Print | posted @ Friday, May 28, 2004 10:53 AM

Comments on this entry:

No comments posted yet.

Your comment:

(Note: all comments are moderated so it may take sometime to appear)

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink
 
 
Please add 7 and 3 and type the answer here:
 

 Subscribe in a reader

Links

CVMy CV
stackoverflowMy Stack Overflow CV
Twitter Follow me on Twitter
FaceBook View my Facebook
LinkedIn View my LinkedIn Profile
Viadeo Viadeo Profile (Fran�ais)

Conferences/Workshops

Robert Pickering:Robert Pickering's Beginning F# Workshop,  Robert Pickering's Beginning F# Workshop
2 DAY COURSE. Featuring Robert Pickering
London, Monday, May 10th
Progressive .NET Tutorials, Progressive .NET Tutorials
CONFERENCE (3 DAYS)
London, Wednesday, May 12th BOOK NOW!

Badges


Progressive .NET Tutorials 2009

Disclaimer

The views expressed on this weblog are mine and do not necessarily reflect the views of my employer.

All postings are provided "AS IS" with no warranties, and confer no rights.

www.flickr.com
This is a Flickr badge showing public photos and videos from Robert Pickering. Make your own badge here.