.NET and Open Source: better together


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

BlogEngine.NET 2.7 (RC) is out - upgrade it the easy way

imageBeta (or RC) version of BlogEngine.NET 2.7 has been released this weekend with some cool new features like extension-less URLs and lots of small improvements and bug fixes. If you want to test drive it, head over to Codeplex site and download the latest. More...

How to use NivoSlider with BlogEngine

I have updated NivoSlider extension this weekend to support edit/re-upload functionality which can be helpful if you maintain large number of images and sometimes need to make changes. Below is a short screencast that demonstrates installing NivoSlider, adding it to the post and adding new image to the slider. It is about 3.5 minutes long with no audio, I used captions instead as explaining amount is minimum. I've just started learning video editing, so quality is not great but I hope it will help someone having questions on how to install and run NivoSlider. More...

OpenID with ASP.NET Example

In the previous post we’ve got dead simple OpenID authentication working with ASP.NET WebForms application. Lets push it further and make more real world example you can actually use in your project. To make it less work, we will use Javascript OpenID selector – handy little library to display providers and handle user input. It is just two small scripts and one CSS file, very light and easy to modify if needed. More...

OpenID with ASP.NET Made Simple

Implementing OpenID can be challenging, because of large number of scenarios and parties it can be used for and by. So any decent implementation includes lots of stuff you don’t particularly care about and it is hard to parse information to find exactly what you need. To save you some reading time, here how it works with ASP.NET application in the nutshell. More...

BlogEngine 2.6 Updater

BlogEngine 2.6 release is out and you might want to upgrade your existing blog to take advantage of all the new features. You can read instructions how to manually upgrade your site or you can try updater utility I've been using lately to automate upgrades for my blog, it worked well for me and chances are it'll work for you too. It doesn't do database part, so you'll need to do some extra work to run database script and update web.config with connection string. For XML provider all you need is follow instructions below.

Lets assume you use c:\upgrade directory for this exercise.

- Download 2.6 release (web), unzip and copy files to c:\upgrade\be26
- Pull your existing blog to c:\upgrade\old using FTP client like FileZilla
- Download and extract BeConsole.exe to the same c:\upgrade directory
- Create new folder: c:\upgrade\blog
- Open command line, change directory to c:\upgrade and run this command:

beconsole -u c:\upgrade\old c:\upgrade\be26 c:\upgrade\blog

The c:\upgrade\blog now should have your blog upgraded to version 2.6 and ready to be uploaded to your host. I tested it upgrading from 2.0 and 2.5 versions and it worked quite well. Let me know if you run into issues and I'll try to improve it more. May be we can plug it into next BlogEngine for one click auto-update, who knows.

Customizing Post Navigation

Post navigation in BlogEngine is a little hard to customize. By default it looks like picture below and that works fine with standard theme. Small problem is that those angle brackets and "|" in the middle not that easy to get rid of without some nasty CSS tricks because they baked into the core code that nobody likes to touch (or you'll have to remember to carry it over during upgrade). Good news is that you don't have to touch it and still modify navigation any way you like pretty easily if you follow this little guide. More...

BlogEngine.Web–Web Application Project

imageConverting BlogEngine.NET to Web Application Project has been a popular exercise ever since Microsoft introduced WAP project template for Visual Studio. Without getting into nitty-gritty of arguing about advantages one has over the other, converting from web site to web application is easy enough for BlogEngine.NET community to have both models. It just makes sense to have WAP version in some way linked to “proper” BlogEngine.NET so we won’t be reinventing the weal but improve on the single code base instead. More...

Password protect posts and pages in BlogEngine

MB_0024_LOCKSometimes you might want to protect individual posts or pages with a password so that only users you sent password to can access this resource. Not exactly wide-spread scenario, which explains why it is not currently supported by BlogEngine. But when you need it you need it, and this extension should cover the basics. More...

Windows 8 First Impressions

I took a plunge and decided to run Windows 8 consumer preview as my main OS. I realize it is beta and expect lots of issues, it is given. If there are real showstoppers I might even go back to Win 7, will see. But for now it looks ok and I want to share experience in case someone else thinking about making a switch. More...

Optimizing ASP.NET Page Load Time

Let's start by creating new empty ASP.NET website and adding Default.aspx with minimal “hello world” markup. When you access your site and check it with profiler, you’ll see single get request for default page. More...