WCF RIA services tips: Using resource files

When you're using RIA services you may have already come across the possibility to use data annotations to enrich entities exposed by your RIA service to modify the way fields are rendered an validated. One of the things that's supported is the use of resources to make error messages and other string literals localizable. In this post I will show you a handy trick to make working with resources to format your error messages a breeze.<!--more--> <h2>Setting up the project for resources</h2> Before you can start creating localized error messages you need a location to store those messages. For regular .NET projects this means adding a resource file to the project. For RIA services it means you have to do a little more.

First let's add a new resource file to the server project.

Our Geeknight11 presentation on Youtube

Marcel, Roy and I did a Geeknight session last week on building cross-platform apps using C#. We had a full room with more than 400 people checking out or handy work.

It was a blast doing it and we got really lucky with someone in the audience that took the trouble of filming us talking iPhone, Android and Windows Phone 7 development.

Fizzy logic behind the scenes: How I build my weblog

People that know my old weblog may look at this and ask themselves, what the has he been up to. Others that don't know my old weblog may not have that question. But I think it's a good thing to show a little about how I build this website.

In this article I will show you how I build this weblog and at the same time give you a glimpse of a great CMS called Orchard on which this site is build.<!--more--> <h2>Meet orchard</h2> The search for a good system to build the new site with took me to BlogEngine.NET, Wordpress and Umbraco. All of them good systems, but some of them are also pretty hard to learn. For me this was a hard criterium to select a system for the new site. I wanted a new site, but I don't want to take forever to build a new site.

Making your website rock

Building a website is more than just throwing together a bunch of controls or writing huge amounts of HTML and Javascript. It's about creating that awesome experience. In this post I will be show you a few tricks that I've used to make this weblog a better experience.<!--more--> <h2>A website is all about the content that is on it</h2> The first thing you need to think about when building your next web experience is: What am I going to put up there. The subject or the goal of your website is the most important thing you need to think about. How important the rest of the stuff I tell you may be, it will serve only to reach that goal. It is that simple.

Great websites like StackOverflow.com are great because they offer a substantial amount of content the visitors of that site care about. The builders of the website took great care in researching what exactly they were going to show to their users.