<p>I know I've seen this in the past, but I can't seem to find it now.</p>

<p>Basically I want to create a page that I can host on a <a href="http://www.codeplex.com/dasblog" rel="nofollow noreferrer">dasBlog</a> instance that contains the layout from my theme, but the content of the page I control.</p>

<p>Ideally the content is a user control or ASPX that I write.  Anybody know how I can accomplish this?</p>

[{'answer_id': 49973, 'author': 'Joel Coehoorn', 'author_id': 3043, 'author_profile': 'https://Stackoverflow.com/users/3043', 'pm_score': 1, 'selected': False, 'text': "<p>I did something similar setting up a handler to stream video files from the blog on my home server.  I ended up ditching it because it killed my bandwidth whenever someone would view a video, but I did have it up and working for a while.</p>\n\n<p>To get it to work I had to check dasBlog out from source control and open it in visual studio.  I had VS2008 and it was built using VS2005, so it took some work to get everything to build.  Once I could get the unaltered solution to build I added a new class library project to hold my code.  This is to make sure my code stays separate across dasBlog updates.</p>\n\n<p>I don't have access to the code here at work so I can't tell you exact names right now, but if you want your pages to be able to use the themes then they need to inherit from a class in the newtelligence.dasBlog.Web namespace, and I believe also implement an interface.  A good place to look is in FormatPage and FormatControl.</p>\n"}, {'answer_id': 172280, 'author': 'Nick', 'author_id': 22407, 'author_profile': 'https://Stackoverflow.com/users/22407', 'pm_score': 3, 'selected': True, 'text': '<p>The easist way to do this is to "hijack" the FormatPage functionality.</p>\n\n<p>First add the following to your web.config in the newtelligence.DasBlog.UrlMapper section:</p>\n\n<pre><code>&lt;add matchExpression="(?&amp;lt;basedir&amp;gt;.*?)/Static\\.aspx\\?=(?&amp;lt;value&amp;gt;.+)" mapTo="{basedir}/FormatPage.aspx?path=content/static/{value}.format.html" /&gt;\n</code></pre>\n\n<p>Now you can create a directory in your content directory called static.  From there, you can create html files and the file name will map to the url like this:</p>\n\n<p><a href="http://BASEURL/Static.aspx?=FILENAME" rel="nofollow noreferrer">http://BASEURL/Static.aspx?=FILENAME</a></p>\n\n<p>will map to a file called:</p>\n\n<p>/content/static/FILENAME.format.html</p>\n\n<p>You can place anything in that file that you would normally place in itemTemplate.blogtemplate, except it obviously won\'t have any post data.  But you can essentially use this to put other macros, and still have it use the hometemplate.blogtemplate to keep the rest of your theme wrapped around the page.</p>\n'}]
['https://Stackoverflow.com/questions/49908', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3381/']