RTUR.NET

.NET and Open Source: better together

NAVIGATION - SEARCH

BlogEngine.net on GoDaddy with SQL provider

This weekend I worked on incorporating one of the patches uploaded by Phil Garcia (thanks Phil!) that added SQL Server support to Extension Manager. Now you can pick your provider as usual and, if MS SQL Server is your provider, Extension Manager will persist settings to the database rather than XML file as it does by default. Personally, I don't use SQL provider for my blog; I'm totally satisfied with XML here. But I realize there are lot of people who feel differently about it and for whom database is a must. So I used this occasion as an opportunity to add test site to my hosting account and set it up to use SQL instead of XML to be able to try it in hosting environment. More...

Download Counter Extension

Last two weeks I’ve been nailed to my workstation almost 24x7 as we were on the finish line going live with large (6+ month in development) project. It’s over – I’m a free man again! That means, hopefully, that I’ll be able to spend a lot more time working on BlogEngine and blogging about .NET, BlogeEngine, extensions and all stuff related. More...

Sorted GridView

Did it ever happened to you? You have a problem and, after research and brainstorming, finally come up with this nice elegant solution. Two month (and hundred problems) later, you are staring at the screen with basically the same task in front of you. And trying to figure out - how the hell did you do it in the first place? Yes, I'm talking knowledge base - not an original idea and lots of people use their blogs exactly for this reason. I'm joining the crowd and will publish here code snippets under "code snippets" category. Here is the first one. More...

Documentation on Extension Manager

I planned to update documentation on WIKI site to include section on Extension Manager, but for some reason site was down this weekend. So I decided to publish it here for everybody who are interested to be able to take a look before I move it under WIKI when WIKI will return back in business. There four major classes that together represent Extension Manager API and extension writers can leverage these classes in many ways in their code. More...

Mp3Player updated for BlogEngine 1.3

There is a new version of Mp3 flash audio player extension for BlogEngine 1.3 available for download. Please note that it will not work with BE 1.2 because it uses Extension Manager. The new in this version is an admin page that will let you to change how player looks. You’ll be able to change colors and sizes through the settings interface. I did this as an exercise to show how you can use your own admin page AND still take advantage of some of the Extension Manager features. More...

Quick update on 1.3 release

BlogEngine 1.3 has been released this weekend, so now I can take a deep breath and relax a little. Last couple of weeks I've been torn between two deadlines, one on Extension Manager rushing into 1.3 and another on my day job. One down, one to go... Last night I upgraded my blog to 1.3, so now it runs on latest and greatest code base. Not sure if I followed best practises, but it did work so for those curious these are the steps I followed: More...

Extension Manager 101

As APIs for Extension Manager finalized, I decided to put together a few simple examples explaining how you can take advantage of them. Consider situation when you have an extension that uses couple user specific variables. For instance, Akismet extension by Justin Etheredge needs to know API key and URL that specific for each blogger who uses extension. Currently, blogger has to enter this information by hand in the source code or extension author has to craft his own admin UI. Chunk of code below shows how Extension Manager can make life easier. All you need is to specify parameters you want blogger to be able to maintain and let Manager know about it. More...

How extensions can use Extension Manager (beta)

It is subject to change based on input I’ll get, but here is how you can use Extension Manager that is in the BlogEngine build 8474 when you write extension. To utilize manager functionality you first of all need an extension that requires some kind of customization, probably you want users be able to change values set by you as defaults. If so, you can use manager to create default property page for your extension, save default values and let user change them later on. Here is how you save list of default parameters to Extension Manager using BBCode as example: More...

State of Extension Manager

First of all, Mads asked me to join BlogEngine team and contribute by implementing Extension Manager as a part of BE core functionality, and I’ve agreed. If you downloaded latest bits you’ve probably noticed that it already has Extension Manager in it, although you might run into issues using it. It is very early in development and there been lots of small changes and playing around at this stage. One issue Mads pointed at was the fact that, when edit source code, IIS also reloads worker process, not only the application. More...