Luke Smith Write today, wrong tomorrow

Now using github

I've decided to move my open source projects over to github, rather than hosting them on a private subversion server where they aren’t very accessible. From what I've seen, and heard, github is a great source control repository, I only hope there is a visual studio addin as good as...

aspnet RoleProvider woes with StructureMap and NHibernate

I just fixed a bug that has plagued me for the last 2 nights. NHibernate was throwing completely random exceptions, rolling back transactions with no real consistency other than always happening on requests made after the application had started and almost always within my RoleProvider. I couldn’t figure out what...

ASUS Eee PC 1000HE Review

I’ve been on the lookout for a netbook for a few months. I’ve been tempted by the HP Mini-Note 2133, Dell Mini 9 and Dell Mini 10. Each had things I liked about them but none made me part with my cash. The Dell Mini 9 looks great, but after...

Generating and enforcing that any link and request is lowercase with ASP.NET MVC

This post is based off 2 other blog posts I found which helped me come up with my solution with some slight modifications on their code. For my new project I’m having my URLs all lowercase, as some search engines interpret ‘/Home’ and ‘/home’ as two different locations. So the...

JavaScript variable generation for ASP.NET MVC

RC1 of the ASP.NET MVC framework adds a new ActionResult, JavaScriptResult. This class takes a string and returns a response with the string with the required ContentType. So now theres a built in (very simple) ActionResult for returning JavaScript what about generating the JavaScript string on the server to return?...

Linq2JS – A JavaScript library for writing Linq-like expressions

It all started when I was having to convert some C# to JavaScript, so was needing quite a bit of collection manipulation. It’s frustrating going back to lots of for loops when you’ve been blessed with LINQ for a year. So after 20 hours of solid coding one weekend (the...

ASP.NET MVC

WebForms are the existing technology in ASP.NET for web applications, which have been around since the beginning of ASP.NET. However, despite being mature and having a large developer base they aren’t ‘all that’. It’s been said that WebForms are “web development for VB Developers”, in that the drag ‘n’ drop...

Model View Controller

I’m giving a presentation next week at work about MVC (specifically Microsoft's ASP.NET MVC Framework) so thought I’d dust off the blog and put some of my thoughts down regarding the topic. First off, what is MVC? MVC stands for Model-View-Controller and is an architectural design pattern for developing applications....

Out of Office issue with hosted Exchange2007

1and1 have upgraded me to Exchange2007, which is nice. I’m liking the flagging features now available on my Windows Mobile device. I ran into an issue, which 1and1 refused to help me solve due to it being ‘out of our scope of support’. They’re support is ‘will provide you the...

GeoJSON for Virtual Earth

For my new project I decided to make use of GeoJSON, a standard for representing geo data in JSON format, rather than returning KML, georss to the client, or some custom format. From a quick look online there wasn't much in the way of using Virtual Earth with GeoJSON, I...