Installing the Akismet Extension for BlogEngine.NET

by Justin Chase 15. July 2009 05:54

I have been getting a lot of spam lately and in order to curtail that I have been looking into captcha-alternative spam fighting tools. Nick Olson recommended that I check out Akismet which is a feature of WordPress but also has a free (and commercial) API for other blog engines.

After a little looking around I found an extension on the BlogEngine.NET website and figured out how to get it installed. It has yet to be seen if it works but I thought I’d lay out the steps since it wasn’t that intuitive to me at all.

Step 1 – Install the Extension

First download the Akismet Extension for BlogEnging.NET. I installed version 1.3 even though I have no idea what version of BlogEngine.NET I have and it seemed to work.

The extension is a zip file containing two C# code files, in order to get it installed you simply copy the code files using FTP (or whatever you use) to your website at [<web>\App_Code\Extensions\].

Using a browser simply navigate to your website, you’ll probably notice a delay of a few seconds as ASP.NET tries to recompile your website. The extension will now show up in your extension manager on the admin site under the Extensions tab.

image

Step 2 – Get your Akismet API key

This was the most confusing step for me. It turns out that you need to have a WordPress account to get this key and no where at word press is it actually called a Akismet API key. Either create an account at wordpress or log in using an existing account.

Once logged in look for the “My Account” button in the upper left and select Edit Profile.

image

At the top of your profile it should say “Your WordPress.com API key is: xxxxxxxxxx”. Copy that API key.

Step 3 – Configure BlogEngine.NET

Back in your extension manager from Step 1 click the “Edit” link for the AkismetExtension. Enter the API key copied in step two into the API key field and either the URL for your blog. That’s it!

image

I’ll let you know if I still get spam. I know it works because I intentionally entered an invalid API key and I could no longer submit comments at all but with the right API key I was able to submit a few test comments.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Misc | .NET

Comments

Comments are closed

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

Justin Chase

sweetest hat ever

I am a software developer from St. Paul MN and I work for Microsoft on the Expression team. This blog is about various technical topics I find myself encountering here and there. In addition to loving WPF and Xaml and Expression studio in general I have a special interest in DSLs, programming languages and games.

RecentComments

Comment RSS

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar