BlogEngine recently released version 2.6 (May the 14th). My blog was running 2.5 from 27th of July 2011. So it was time to update.

The 2.6 new feature list has several great things on it, but a lot of features are for the administration dashboard. I use Windows Live Writer to prepare and publish posts. So I only use the dashboard to manage comments and sometimes settings. So the main reason for me to upgrade, is for all the minor bug fixes and improvements and the JavaScript and cascading style sheet minification and bundling which is available from Asp.Net 4 and above. Scott Guthrie has written about Bundling and Minification Support in November 2011.

There is a good upgrade guide available online which I used, but since the upgrade path might differ from user to user, I have decided to blog mine:

First of all: know your blogs storage method, mine is XML. I know because I have not configured any database in a web.config file. So here are my steps:

1. Backup current BlogEngine 2.5 installation by FTP it to a local folder
2. Download BlogEngine 2.6 (web install)
3. I have compared web.config of 2.5 to 2.6 with Beyond Compare

4. Delete everything from FTP web root, except `googleverification.html`, my nibbler html (to claim my website ownership) and robot.txt and dotnettechy.html except app_data
5. upload everything from 2.6 except app_data content
6. upload themes/jphellemons folder
7. upload widgets - buy me a beer, cumulus, syndication, tagcanvas, twitterfeed

twitterfeed missed some .cs files in app_code
8. upload pictures and custom favicon blogengine.ico, android market button,
9. upload socialbe folder

and I tested it… but it didn’t work. Seems to have lost everything, admin login didn't work. requesting password. no e-mail received.
10. downloaded logger.txt from app_data folder, spotted that SMTP does not work out of the box on this webhost. So I had to modify the web.config so that asp.net can send mails with the web.config settings. I used this blogpost as reference: http://dotnetblogengine.net/post/The-Next-Chapter-of-BlogEngineNET-Version-26.aspx And I tried to open my upgraded blog again and noticed that twitterfeed widget had some .cs classes that required a manual upload in the App_Code folder.

So now I am running version 2.6 of BlogEngine.Net Glimlach

Good luck upgrading!

kick it on DotNetKicks.com Shout it

Post on LinkedIn

Google announced Tuesday the 24th of April that they have updated the Google algorithm and named it Penguin. It focuses on keyword stuffing and grey hat link schemes. More about the update from Google can be found on the official Google webmaster blog. This blog has been affected by the penguin update as you can see here from my Google Analytics Screenshot:

Screenshot from normal week Google analytics

The first dot is a Saturday and the last dot is also a Saturday. This is a normal week for my blog. The most visitors hit my blog during the work week. Since the audience is spread across several countries, it’s not 9am to 5pm traffic.

But here is a week later when penguin kicks in:

Google analytics screenshot when penguin start

The first dot is again a Saturday and the last dot is also a Saturday. The week starts normal at Monday. Tuesday is still okay, but then penguin kicks in. It seems a rule of thumb that for my quantity of visitors this means minus 25 percent! To prove it, here is 25th of April compared to “the day before”:

Another Google Analytics screenshot to prove it´s just Google causing a visitor drop

Because this penguin update does need some tweaking, Matt Cutts tweeted about a feedback form:


Matt Cutts admits that penguin might affect innocent websites

I have used the form, because this website is running BlogEngine.net (2.5 at the moment) and has a custom theme (made by me) but no SEO add-ons and/or hacks or tweaks.

More information can be found on the website searchenginewatch.com

I have included some nice graphics to make the Penguin update less painful. I wish everyone that is affected good luck and let´s hope that there will be an update soon!

Google Penguin chainsaw

Google Penguin Webspam sheriff

Google Penguin Samurai

Post on LinkedIn

The BlogEngine team has released BlogEngine 2.5 last 27th of June. I postponed it for a while but you have to keep your Online Software up to date! So I decided to give it a try. The migration from 1.x to 2.0 was almost painless, so moving to 2.5 should work out fine too. My installation as no database, but stores stuff in the App_Data folder. I followed this guide:  http://blogengine.codeplex.com/wikipage?title=Upgrading%20to%20BlogEngine.NET%202.5

my 8 easy steps: (maybe you only need 4) [more]

1) download current 2.0 installation as backup

2) download 2.5 web version

3) removed everything in the 2.5 App_Data folder except: blogs folder and blogs.xml file

4) copied the App_Data from 2.0 local backup to the 2.5 local folder and uploaded everything to the online version with overwriting enabled. (I recommend FileZilla for everything FTP related)

5) go to your online URL (mine crashed)

6) I received ‘Unrecognized configuration section system.web.extensions’ So I had to ask the hosting company to migrate my site from an Asp.Net 2.0 application pool to 4.0

7) After that I received another crash in imaginary.twitterfeed.cs (rule 21) and imaginary.twittersearch.cs (rule 22) on almost the same line:

private string _dataFileName = HostingEnvironment.MapPath(
Path.Combine(BlogSettings.Instance.StorageLocation, TWITTERFEED_DATA_FILENAME));

change it to:

private string _dataFileName = HostingEnvironment.MapPath(
Path.Combine(Blog.CurrentInstance.StorageLocation, TWITTERFEED_DATA_FILENAME));


8) The next crash was in admin/extension manager/extensions.ascx.cs from line 202 after some research that was because according to this thread http://blogengine.codeplex.com/discussions/252979

You should remove the directory of admin/extension manager because that is renamed to admin/extensions from version

My blog worked after these 8 easy steps! The following steps are optional:

in app_code/extensions/sentcommentmail.cs (rule 95) and contact.aspx.cs (rule 100) there was some obsolete use of replyto. So I changed it to:

var mail = new MailMessage
   From = new MailAddress(BlogSettings.Instance.Email),
   Subject = BlogSettings.Instance.EmailSubjectPrefix + subject + post.Title
mail.ReplyToList.Add(new MailAddress(replyTo, HttpUtility.HtmlDecode(comment.Author)));

and in contact.aspx.cs:

mail.ReplyTo = new MailAddress(email, name);


mail.ReplyToList.Add(new MailAddress(email, name));


So everybody should update their BlogEngine installation Glimlach because of all the nice features!

kick it on DotNetKicks.com Shout it

Post on LinkedIn

bmabAs a big fan of beer (and coffee) and BlogEngine.net, I decided to combine these two things and write a simple widget. You probably know the ‘buy me a beer’ feature from Wordpress but there is none for BlogEngine.net. My version is very simple and have almost no features but it saves you a couple of minutes making your own ‘buy me a beer’-link.

The image is stored in the ‘pics’ directory and is borrowed from a website I can’t remember. The archive can be downloaded here » bmab-widget.zip (9.81 kb) and suggestions are always welcome!




kick it on DotNetKicks.com Shout it

Post on LinkedIn

I have just installed the Youtube extension for BlogEngine.net. It was very easy to setup. just ftp some files and you are ready!

futhermore i've installed the syntax highlighting extension so that i can easily copy paste my C# or HTML code in blogposts.



Post on LinkedIn