Quantcast
Channel: Gratuitous Development
Browsing latest articles
Browse All 25 View Live

Shaping Entity Framework Results

In order to comply with an interface I needed to write code similar to the following: return (from ActionRule ar in db.ActionRuleSet.Include("ConditionExpression") select new ActionRuleDataDTO() {...

View Article



Deploying ASP.NET 2.0 + (IIS, "The page cannot be found", 404.2)

It's been a while since I've had to setup a Windows 2003 server to test Asp.Net apps on so i was a bit baffled when when i couldn't get the website to serve aspx pages. Navigating to the site would...

View Article

Downloading "Setup.exe"

Why do people insist on offering downloads of their software using the annoyingly uninformative filename "setup.exe"? Case in point... This is especially annoying if your download manager is set not to...

View Article

Asp.Net Web Development Server Tip

Well call me slow but I just realized that the built in Asp.Net Web Development Server allows you to recompile/deploy your assemblies without the need to restart the web server. This seems to have been...

View Article

Hate for Trackback/Pingbacks :(

Is there anything more annoying in the webosphere than having to filter out trackbacks/pingbacks that just add inane noise to otherwise interesting blog comment discussions? No? Must just be me then......

View Article


Let them have their cake

I have been reading a lot of blogs and forums lately with heated discussions on why you should/shouldn't use Asp.Net MVC over Asp.Net Webforms. Starting to get a little tired of it all now as it's...

View Article

Vista, WMDC and Microsoft Windows Mobile Device Emulator

In the past I had always assumed that for some reason or another Vista, Windows Mobile Device Center and Windows Mobile Device Emulator just didn't work together, i.e. i could never get "Active Sync"...

View Article

Image may be NSFW.
Clik here to view.

ASP.Net MVC Pipeline – Part 1

This is Part 1 of a series of posts I hope to write exploring the Asp.Net MVC pipeline. It won’t be your typical “this is a view, this is a controller, right click add new item…” type series although...

View Article


Stored Procs vs ... not Stored Procs (ORM)

Over the last few years I had believed that the general consensus was that stored procedures had become largely irrelevant for business logic (CRUD) DB interactions. I believe this would have a lot to...

View Article


Roy Osherove TDD Masterclass UK

Roy Osherove is giving an hands-on TDD Masterclass in the UK, September 21-25. Roy is author of "The Art of Unit Testing" (http://www.artofunittesting.com/), a leading tdd & unit testing book; he...

View Article

Work Smarter Not Harder

Lately I’ve been getting into the habit of writing down the little snippets of goodness I happen upon in my daily web traversing. It’s kinda like twitter but on paper, I force myself to write one...

View Article

Devil’s in the details : typeof Generics C#

Been a while since I’ve posted but thought this tidbit was interesting. Given the types:class X {} class Y<A>{} class Z<A,B>{} .csharpcode, .csharpcode pre { font-size: small; color: black;...

View Article

ASP.NET MVC2 RC2 Areas Namespace Conflict

While converting an MVC1 app to MVC RC2 I created an Area and moved my existing controllers into said area. Resharper identified the “Namespace does not correspond to file location, should be:...

View Article


Visual Studio – Tip #1

 Like a lot of people, I find F1 in Visual Studio practically useless. I did read a suggestion to remap F1 to Debug->Run just so it did something useful. Not wanting to waste a precious key I’ve...

View Article

Node != Nodejs

Recently built a new Ubuntu 10 VM to test out a few Node.js ideas. While support for windows is improving, it just isn’t ready for prime time. I’m very much a linux noob so I just tried following the...

View Article


Image may be NSFW.
Clik here to view.

Android

Purchased a Samsung Galaxy S a couple of months ago after trying to hold out for a Windows Phone 7 … phone. Never made it and my Samsung Omnia was getting a bit long in the tooth (though custom roms...

View Article

Rhosync Compile Errors–Rake Log File

Standard behaviour to run a Rhosync webserver requires running the following command in the folder containing your Rhosync server app (talking windows here): 1: rake rhosync:startwhich will run in a...

View Article


Setting up Cloud9 on Ubuntu 10.10 32-bit desktop

EDIT: I’ve posted an easier version of this setup routine.After many failed attempts to get Cloud9 up and running on ubuntu, someone finally posted some decent installation instructions. Andre used...

View Article

Easier Way of Setting up Cloud9 on Ubuntu 10.10 32-bit desktop w/ nvm

EDIT:Thanks to William Rayner, it seems the current npm module can be used with the latest stable node. It’s those pesky o3 tools causing problems again. Anyway, check out v3 below for a non-version...

View Article

Expose shell in cloud9 console to run any command

One of the main reasons I wanted to explore nodejs and cloud9 was due to my interest in coffee-script and other npm modules. If you’re like me and run node server on a different machine (virtual or...

View Article

c# Linq Compound Froms

I’m a bit embarrassed to admit this, but even after using linq in it’s various form for a couple of years now, I hadn’t really ever noticed compound from expressions e.g. 1: publicvoid Linq16() 2: { 3:...

View Article


Image may be NSFW.
Clik here to view.

Standup Desk V1

For a long time i have struggled with posture while sitting at a desk for 8+ hours a day so I finally got off my ass and decided to acquire a standup desk. The benefits of standup desks are documented...

View Article


Image may be NSFW.
Clik here to view.

Skype and discoverability aka Resize Chat Message Width

For a while now I’ve been quite annoyed by how narrow the chat window is in Skype, especially when pasting code, exception logs, e.g: Not very useful at times, especially given the real estate...

View Article

Setting up Cloud9 on Ubuntu 11.10

Ok, so it’s been a while since I’ve played with the Cloud9 IDE. Joyent are now bundling npm with the Node Windows installer, so I thought it was high time to revisit cloud9.If you are on windows I...

View Article

Exploring TodoMVC and knockout.js with unobtrusive bindings

There’s an interesting project I’ve been keeping an eye on over at github called TodoMVC– “a project which offers the same Todo application implemented using MVC concepts in most of the popular...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images