Accessing ASP.NET Session from ServiceStack

This content is based heavily upon an answer I posted on StackOverflow. Oh, ok then, it’s almost an exact copy. Recently, I’ve ripped WCF out of the heart of a project at work, and replaced it with ServiceStack. There were a couple of reasons for doing this.  Firstly, for the relatively simple API we wanted… Continue reading Accessing ASP.NET Session from ServiceStack

O2 Disclose Mobile Numbers to Websites

Yesterday lunchtime, Lewis Peckover (@lewispeckover) noticed that mobile browsers on O2’s UK network were sending the phone’s number to websites as an HTTP header, resulting in this information being available to the websites browsed.  This information is not present when browsing over WiFi, indicating that it is probably added in transit by O2. The story… Continue reading O2 Disclose Mobile Numbers to Websites

I’m British – SOPA Doesn’t Affect Me, Right?

Wrong! The wording of the proposed SOPA legislation means that a huge number of websites can be classed as “facilitating the commission of copyright infringement”.  For example: A blog which allows users to post comments An e-commerce site which allows shoppers to leave reviews Any other site which allows Internet users to upload content which… Continue reading I’m British – SOPA Doesn’t Affect Me, Right?

Steve Jobs, 1955-2011

Yesterday, the world lost a great visionary in Steve Jobs, who is synonymous with the Apple brand he co-founded. While reading reports of his death, I came across this great quote of his which I thought I’d share: No one wants to die. Even people who want to go to heaven don’t want to die… Continue reading Steve Jobs, 1955-2011

Giving Something Back – Contributing to Open Source

For years and years, I’ve used open source applications and libraries. The more I used, the more I felt guilty for taking advantage of other people’s hard work. I’m not sure I’m alone in feeling that, but for years I’ve wanted to give something back, and for some reason, never got round to it. I… Continue reading Giving Something Back – Contributing to Open Source

Running ASP.NET 4.0 Web Applications on IIS 6

Today, I decided to install a NuGet gallery on our development server at work, in order that we can host our internal packages there, and make them easily available to all projects.  The problem, our development server is not exactly state of the art, and runs Windows Server 2003 SP2 and IIS 6.0.  It did… Continue reading Running ASP.NET 4.0 Web Applications on IIS 6

Why Does IE9 Installation Need Me To Close So Much Stuff?

We’re now supposed to believe that Internet Explorer is no longer baked into the Windows operating system.  So, why is it when I upgrade to IE9 via Windows Update, that it needs me to close so much stuff.  The list is incredible: Adobe Reader and Acrobat Manager Google Chrome GrooveMonitor Utility iTunesHelper Java Update Scheduler… Continue reading Why Does IE9 Installation Need Me To Close So Much Stuff?

Setting up a Mercurial Repository under IIS

Setting up Mercurial to serve repositories using IIS has been on my to do list for months. I had a quick go at it late last year, but was thwarted by confusing solutions which quite frankly, just didn’t work for me. Many walkthroughs mention using a file named hgwebdir.cgi, but as of Mercurial 1.6, this… Continue reading Setting up a Mercurial Repository under IIS

Thoughts on the Disaster in Japan

I’ve been following the harrowing news this week about the earthquake, tsunami and nuclear accident in Japan, triggered by the 9.0 magnitude earthquake which struck last Friday. I can’t even begin to imagine how devastating it must be for those caught up in the disaster, particularly those who have lost loved ones or had their… Continue reading Thoughts on the Disaster in Japan