Configuring a Sueetie Blog to Support Microsoft LiveWriter

Below is a copy of the latest Sueetie Wiki document, how to configure a Sueetie Blog to support Microsoft LiveWriter. The entire process consists of updating two properties in the BlogEngine.NET app.config file, so it’s super simple.

The properties we are updating are a password and Sueetie UserID. We’re entering a password because BlogEngine.NET is using ASP.NET Membership and a configurable app property is an easy bypass route. Sueetie UserID is required so the BlogEngine.NET Extensions I wrote can associate the blog content with the appropriate user when it is stored in the central Sueetie content table.

_________________

Update user password and userid in /blog/app.config

We need to provide a password and a Sueetie UserID so that LiveWriter can recognize the author of the post. We provide them in the blog app.config file located at /blog/app.config. Here is the default view of the two properties we will be changing, with descriptions.

<!– The SUEETIE.Password used for posting in ASPNET Membership environment –>
<add key="SUEETIE.Password" value="sueetie12345"/>
<!– The SUEETIE.DefaultUserID used for posting in Live Writer as there is no SueetieContext to obtain author info–>
<add key="SUEETIE.DefaultUserID" value="1"/>

  1. Change the SUEETIE.Password value to the password for the LiveWriter user. It doesn’t have to be the same as the user’s Sueetie site password.
  2. Enter the user’s Sueetie UserID for SUEETIE.DefaultUserID. You can obtain the Sueetie UserID when displaying the user info in the Sueetie Control Panel. Here’s a screenshot.

Image

LiveWriter Posting is Restricted to Single Author per blog

All Sueetie (BlogEngine.NET) blogs supports an unlimited number of authors, but currently only one recognized author for using LiveWriter. This can be accommodated through modifying the existing authentication logic slightly, so if there is demand for multiple LiveWriter author support, it’s definitely doable.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.