September 2007 Entries

Subtext Admin Rss Feeds

I just committed the changes to provide 3 administrative rss feeds: Comments Needing Moderation Referrals Errors The change also uses the HttpModule that will convert forms authentication into basic authentication so that the feeds can be viewed in an Rss reader. After seeing http://msdn2.microsoft.com/en-us/library/Aa479391.aspx I had thought about changing over to use it instead of the simple module I wrote. I decided not to however because it would have meshed well with Subtexts security model. This was one of the more interesting things I have worked on in a while, though I am already thinking of several improvements that...

HttpHandlers and web.config settings

I figured out what was happening in my previous post. It makes a bit more sense now that I have seen it, being able to just stop working on something is handy, basically the Rss feeds don't do URL rewriting. So the call to /test1/Admin/ModeratedCommentRss.aspx uses the /web.config and would use the /test1/Admin/web.config, but it has no reason to look at the /Admin/web.config. Not completely sure how I should change this. Right now I have the ModeratedCommentRss.aspx checking to see if the requestor is an Admin, and if not it calls FormsAuthentication.RedirectToLoginPage(). This works, but I would rather a solution that didn't...

HttpHandlers and directory authentication/HttpModules

I decided to implement  Admin Rss Feeds after a particularly draining Friday. For the most part it went pretty smoothly, and learned something about working with a different team too ;). I Implemented an HttpModule that looked for FormsAuthentication redirects for rss feeds and changed it over to use basic authentication so rss readers could authenticate. And for a while all was good. In fact other then unit tests I had thought I was done. Then just to be thorough I set up several subfolder blogs off of localhost, and everything stopped working. Apparently something in the way that the rss HttpHandlers...

Blue screen in stereo

Had my first ever blue screen on my computer at work. Unfortunately, I think this may be foretelling a problem with the machine, since its my first blue screen since I started running XP that wasn't related to video drivers.   The picture really doesn't do it justice, but there really was something impressive and humorous (coworkers really liked it) about seeing this.  Update: Turned out to be bad memory, so now Im running on 1GB at work (with a fix in the works).

Blog Alias Recap

Well the blog alias feature is in, and the self spam in my referral section has reduced significantly since I started using it last night. Its also nice not seeing Google and Yahoo spidering my blog on 4 different domains (still don't know how they got 2 of them). How To Use Blog edit screen has a list all the domain aliases, and a button to add a new alias. If an alias is found, redirects request to the associated blog. Aliases can be at both the host and subfolder level.Note: Requests are validated against blogs...

Committing to subtext, blog/domain aliases

Well, I got my first major feature for Subtext done, blog/domain aliases for the blog, but I find myself hesitant to click commit. Its not that I doubt it works, it is currently running on my blog right now. I just don't feel comfortable checking in code that I can't respond to problems with for about 19 hours, and would hate to really foobar stuff so soon after getting commit access ;). After I do check it in, something along the lines this will be showing in the host admin: This works a lot like the www prefix currently does. So I've decided to wait...

I wish C# 3.0 was here already

I was reading IHttpContext And Other Interfaces For Your Duck Typing Benefit over on Haacked. It reminded my of something I did Thursday, which made me wish that .Net 3.5 was already usable. I actually finally convinced my boss to let me try to automate at least some of the testing. So first order of business, change our the SQL installer program we use to allow it run without user interaction. After a good amount of refactoring of the monolithic control function, I get that part working. It can now do everything it needs to do by passing in all...

I think reading is ruining my job

Back in May I decided that I was going to start reading more. Admittedly my dedication to this has been nowhere near what Justice Gray's. Since that first post I have: Read 3 and 8/3rds tech related books Listened to almost every .NET Rocks! (which I had already been listening to for a few years) and many of RunAs Radio shows Skimming the MSDN main feed  for things that looked interesting. Reading 25 or so mostly development blogs, thankfully Ayende is the only one who averages more then one post per day or I would never get anything done. Reading through...

Copyright © Sean Lynch

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski