Saturday, February 26, 2005
by Nik Kalyani
Saturday, February 26, 2005 10:47:53 PM (Pacific Standard Time, UTC-08:00)

Making progress. I now have DasBlog running as an app but in the same app space as DNN 3. I put it into ~/DesktopModules/DasBlog.

Most of the work today was in getting the VS.Net solution setup so file and assembly references work correctly. The result is a VS.Net solution called DasBlogDNN. I can build it and all the assemblies get correctly deposited into the DNN bin folder.

I am particularly excited by the shared app working correctly. As you may already know, it is a pain to get another ASP.net app to work in a DNN sub-folder. That's because of the HttpModules referenced in the DNN web.config. Because of how ASP.Net manages child apps, in order to get an ASP.Net app to work as a DNN child app, you have to do two things:

1) add a <clear /> element in the <httpModules> section

2) add all the DNN HttpModule assemblies (and referenced assemblies) into the bin folder of the child app.

This sounds counter-intuitive, but that's what has to be done to make it work. Basically, when ASP.Net starts initializing a child app, it first attempts to load all HttpModules declared in a parent app. This is why you need the assemblies in the child app bin folder. Once it encounters <clear /> those assemblies become irrelevant.

Anyway, because of all this craziness, to setup DasBlog as a child app, I would have had to copy all the DNN HttpModules into the DasBlog bin folder. Ugly any way you look at it.

After examining both web.configs (DNN and DasBlog), I managed to get all the relevant DasBlog items ported over to the DNN web.config. Then I had to change a boat-load of relative paths (in script and code-behind) to account for the new app root. Now I have DasBlog running inside the DNN folder.

Next step: integrated authentication.

 

Tuesday, July 05, 2005 8:19:10 PM (Pacific Standard Time, UTC-08:00)
Hi, Nik -

Great info here. I'll be RSS'ing you soon enough. :)

I'm curious how you are coming woth the dasBlog integration.

I wanted to run it off of a root/blog folder, but of course that doesn't work. Before I started to see if I could get DNN 3.1 to let those requests pass, I came across your articles here.

If you've stalled (completely understandable, you are busier than a one-armed paper hanger in a wind storm, it would appear) can I help?

If not, can I get instructions on how to get where you are with it so I don't have to re-invent the wheel?

Thanks!
-Joel
Joel Donelson
Friday, August 26, 2005 8:49:30 AM (Pacific Standard Time, UTC-08:00)
How are things looking with the dasBlog integration. I am currently using a newBlog which I like ok, but definitely needs enhancing.

Thanks
Greg
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, i, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
RSS feed
Search and Links
Bling

View Nik Kalyani's profile on LinkedIn

Contact me: nik*kalyani.com (replace "*")

TechBubble
www.flickr.com
This is a Flickr badge showing public photos from techbubble. Make your own badge here.
Statistics
Total Posts: 213
This Year: 31
This Month: 8
This Week: 0
Comments: 235
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Nik Kalyani
Sign In
All Content © 2008, Nik Kalyani