RTUR.NET

.NET AND OPEN SOURCE: BETTER TOGETHER

Customizing Post Navigation

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

Read
BlogEngine.Web–Web Application Project

BlogEngine.Web–Web Application Project

Converting 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.

Read
Password protect posts and pages in BlogEngine

Password protect posts and pages in BlogEngine

Sometimes 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

Read
Windows 8 First Impressions

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.

Read
Optimizing ASP.NET Page Load Time

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.

Read
Laying out nested DIVs with CSS

Laying out nested DIVs with CSS

Tell me what you want, but CSS is twisted. Some simple basic tasks that should be no-brainer sometimes make you throw things and say words you later deeply regret. Usually people use IE6 as lightning rod, sadly even if you don't care about IE6 anymore CSS still will find ways to hurt you.

Read
How to add Woopra to your blog

How to add Woopra to your blog

Lots of people use Google Analytics to track user statistics on the blog. If you one of them, there is another tool you might be interesting in – something called “Woopra”. Although Analytics are cool, Woopra excels in real-time tracking – it literally shows what is going on your blog right now.

Read
Tutorial - Building NivoSlider Extension (Part 4)

Tutorial - Building NivoSlider Extension (Part 4)

BlogEngine uses NuGet format for sharing extensions. NuGet package in a nutshell is a ZIP containing files you want to share with some metadata NuGet uses internally. The easiest way to create a package is to use Package Explorer. Download and install this small application on your local machine, then click to run as any regular Windows application.

Read
Tutorial - Building NivoSlider Extension (Part 3)

Tutorial - Building NivoSlider Extension (Part 3)

What we need next is to save metadata for each picture used by every slider, and also we need to be able to add and delete all these records. Extension settings are standard way of doing it in BlogEngine - you declare what kind of data you want to maintain, set initial values and first time extension runs it will instantiate settings object and save it on the back-end.

Read
Tutorial - Building NivoSlider Extension (Part 2)

Tutorial - Building NivoSlider Extension (Part 2)

HTML code we added to site.master can be moved to user control (1), so we’ll need just drop control on the page and be done. But some new themes use Razor instead of WebForms – for those to work we can provide HTML helper (2) do the same thing control does for WebForms. And also we want slider be available in the posts and pages, for that functionality we’ll have to use extension (3)

Read