RTUR.NET

.NET AND OPEN SOURCE: BETTER TOGETHER

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
Comment Form Templates

Comment Form Templates

When I visit someone's blog for the first time and want to check quickly if it runs BlogEngine, I usually go straight to comment form and if it looks like a variation of the picture below I can sure tell it is running BE.

Read
Theme Packer

Theme Packer

As much as I like power and flexibility NuGet provides to developers, I do realize that lots of people just want their packing task done fast and efficient and have no desire dig into command line. NuGet also has a little tool for building and editing packages graphically

Read