.NET and Open Source: better together

RTur.net

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

Data Store Release Candidate

For BlogEngine enthusiasts who like live dangerously and always update their sites with latest code from repository, in the latest build Extension Manager set to use generic data store layer instead of doing it's own thing as it did previously. The story behind it is that in the next release we adding Widgets and customizable Themes, and it makes sense to unify data storage for any kind of "extensions" to avoid headaches in the future. For Extension Manager, it means a bit of redesign. Most of it transparent to the users, but some requires your attention. More...

Office Live Workspace

I have Windows Live account and, when I’ve read about new Office Live offering, it got me exited and I went to try it out. What a cool idea: you install little add-in for office and, when you need to save a file, instead of your hard drive you save it in the cloud. Work from home, save, go to your job and just pull your excel spreadsheet or word document and you pick from where you left. And you always have full power of office and all resources of your desktop machine. This is way cooler then Google Docs! That is – when it works. More...

Strategy pattern in C#

dp-3

Do you use design patterns in your daily development? You probably should, and if you don't you might start with reading some books on the subject. I would suggest one from Head First series, although not everybody is a big fan of this book. But I found it fun and easy reading that can trigger your curiosity and encourage you to dig dipper. It is written for Java developers, but language samples presented in the book are minimal and, if you don't understand Java, you can refer to this project for C# translation. More...

Using multiple settings in Extension Manager

One of the limitations in the Extension Manager is that extension can handle only one settings object. In most cases, for simple extensions, that is enough. But sometimes you need to let blogger maintain multiple set of settings. Common scenario would be when you want to set some parameters and then maintain list of data. For example, in download counter I might want to have settings for kind of files or directories to watch for or ignore, and then I want to save download log into table structure. Currently – can’t do it without custom admin page. More...

You've got Paint

When I first tried Paint.net a year or so back, I wasn’t that much impressed. It looked a bit heavy for small feature set and fallen lightning years behind Photoshop. I tried to use it, but soon it ended up in the dusty corner of my toolbox. Right next to the Santa costume and DOS 5.0 set. I was using Photoshop now and then for all my graphics needs and was mostly satisfied with experience, or may be just got used to it. More...

Enclosure Support in BlogEngine (Part 2)

Quick follow up on enclosure support in the latest BE build. I made a slight change to make it easier to use and better play with multiple extensions – the media directory location setting has been deprecated. BE will turn your media file into enclosure no matter where you put it - as long as it is local to your server and valid (physically exists). More...

Generic Data Store

After giving it more thought, I decided to make some significant changes to the picture from the previous post. Main reason is that I wanted to make settings layer a thing on its own. Make it more generic and flexible. More...

A Shared Settings Store for BlogEngine.net

You might think that BlogEngine 1.3 was released yesterday, but It actually been a while and it looks like people like it and want more. New version is under constructions and part of it, that I'm responsible for, is a new shared storage model. The basic idea here is to be able to use Extension Manager as a storage provider for any type of extensions. Today, if you look at Extension Manager from the 10 thousand feet, it looks kind of like Russian Doll: you have manager itself, it has collection of extensions, extension has collection of settings and settings have collection of parameters. More...

Using Images in the BlogEngine Comments

Most of the web applications will not let you use HTML as form input for security reasons. And this is why BlogEngine has BBCode extension - to provide you with ability to define which HTML tags you want visitors be able to use. But it has it's own limitations and can't handle some of the HTML tags without little overhead. For example, I wanted to let visitors to use images in their comments, so I went to extension manager/BBCode and defined [img] code. Problem here is that image tag has specific syntax and BBCode does not set to handle it. I had to modify Parse method to process image tag properly. All I did is added a check to see if code is "img" and, if it is, I use custom parsing. Otherwise BBCode uses default code processing. More...