.NET and Open Source: better together

RTur.net

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

Fixed vs. fluid CSS layout

People are arguing about which layout is better since web exists. Some like it fixed, others prefer it fluid (or elastic). I always used fluid layouts, mostly because I really hate to see narrow column with unreadable small text on the screen with large resolution - and I used to see it a lot. Naturally - large companies going after broad audience don't want to alienate even tiny portion of potential customers and always go with [W:lowest common denominator]. Lately, though, I start noticing these ugly sites disappear. To confirm my guess, I went to [W:Google analytics] for my blog and looked at screen resolution for clients that access this site. Wow... you guys! More...

Serializing XMLDocument to binary format

Why in the world would you want to do that? Well, for one, you might want to use it in Remoting. Second possibility is when you have different objects that you want to treat the same way, and XML Document is one of them. Whatever your situation is, XML Document is not serializable as is. You'll have to provide your own implementation - create class that inherits from XMLDocument and implements ISerializable interface: More...

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

Enclosure Support in BlogEngine.net

Enclosure support has been added to the latest BlogEngine.Net code base. Enclosure is a tag added to your RSS feed that let you publish podcasts on your blog. RSS readers like iTunes and others recognize this tag and let users subscribe to the media files you published. Here is how it works. 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...