- Settings:
Page
Normal
Plain layout without fancy styles
Font
Normal
Large fonts
Very large fonts
Colour
Normal
Restful colour scheme
Light text on a dark background

Note: user account creation on this site has been disabled.

Programming, speculative fiction, science, technology
Powered by Drupal, an open source content management system
Scope
Include Children
If you select a term with children (sub-terms), do you want those child terms automatically included in the search? This requires that "Items containing" be "any."
Categories

Everything in the Events vocabulary

"Events" is used for: Convention Post, Page, Story.

People mentioned in the articles

"People" is used for: Page, Convention Post, Story.

Themes mentioned in the article

"Themes" is used for: Page, Convention Post, Story.
Skip to top of page

Windows programming

warning: Creating default object from empty value in /home/draganos/sf.geekitude.com/modules/taxonomy/taxonomy.pages.inc on line 34.

Creating a RESTful WCF service that returns JSON data

When I was looking for documentation or tutorials on how to create a RESTful WCF service that returns JSON-formatted data, I found lots of partial information and code examples, none of which completely worked. So when I finally figured out how to create it, I decided to write this article for those who may be in the same predicament as me.

This walk-through uses .NET 4.0, and Visual Studio 2010.

LINQ -- replacing loops with a couple lines of code

Recently I've been taking a closer look at LINQ, or Language-Integrated Query -- a set of C# and Visual Basic features that let you write SQL-like queries against data structures such as arrays or hashtables. I like how it lets you replace loops with just a line or two of code. I will illustrate it here with two simple exercises.