Skip to content

6. DasBlog architecture

Mark Downie edited this page Mar 15, 2021 · 5 revisions

One of the primary goals of this project is to preserve the essence of the original DasBlog Blogging Engine while taking advantage of the modern cross platform goodness of ASP.NET Core.

The folder structure of the site remains consists with the DasBlog classic consisting of Content, Config and Themes folders.

"Content" folder

The Content folder contains all the files necessary for your blog posts this includes XML files, with the content and attributes of the blog post. The XML name file format are named as follows "2019-08-15.dayentry.xml". It also contains all the images uploaded with the blog post during creation and editing in a binary sub folder.

The Content folder structure is compatible with the original dasBlog Engine and any files can be directly copied in place.

"Config" folder

The original dasBlog Engine had three configuration files and we have emulated the essence, however, they may not be fully compatible.

  • site.{Environment}.config
  • meta.{Environment}.config
  • siteSecurity.{Environment}.config

For convenience during deployment files are named based on the environment, for example, for a "Production" environment dasBlog core looks for "site.Production.config".

We have also added a configuration file designed to redirect from old dasblog URLs (.aspx), so if you are coming from old dasBlog URLs you automatically get redirected (HTTP 301) to the new URL format.

  • IISUrlRewrite.{Environment}.config

"Themes" folder

Sub folders in the Themes folder each represents the name and the content of a theme. The default distribution of dasBlog core comes with five themes (darkly, dasblog, fulcrum, journal and median) but you can always add more. In order to switch themes you will need to modify the Theme setting in the admin/settings page element.

Additional information on how to create and configure themes can be found here.

Additional questions?

If you have additional questions or concerns please submit an issue.