edible code | Ian Routledge

Testing: The application relative virtual path ‘~/’ is not allowed here.

By Ian Routledge On March 28, 2012 · Leave a Comment

If you’re running unit tests in an ASP.NET web app on code accessing settings from the web.config, then you might have some code like:

That will work fine when you run the project, but your test will fail and give you the error ‘The application relative virtual path ‘~/’ is not allowed here.’. Fortunately, there [...]

Continue Reading →

Display your latest foursquare checkin in .NET

By Ian Routledge On February 10, 2012 · Leave a Comment

This is something I wanted to do for the new version of my portfolio (coming soon). It will essentially be a  one page portfolio built of modules, some being projects, others being social feeds, e.g. latest tweet, Flickr photos and my last foursquare checkin.

Twitter is straight-forward, and can be done right from JavaScript without [...]

Continue Reading →

Fixing ‘An error occurred. Please try again later.’ with Facebook apps in IE

By Ian Routledge On February 9, 2012 · 4 Comments

I’ve been making quite a few simple apps and page tabs on Facebook recently. There’s loads of documentation available at https://developers.facebook.com/docs/guides/canvas/ and at a simple level, its relatively easy to create a simple app, if you’ve got knowledge of HTML, JavaScript and CSS. Especially so, since Facebook deprecated FBML last year so apps have to be [...]

Continue Reading →

stage.stageHeight is 100px too small in Flash CS3

By Ian Routledge On February 14, 2011 · Leave a Comment

Annoying little bug this one. When you use stage.stageHeight in Flash CS3, the value returned is 100px too small. It turns out that this problem only occurs if you’re using the bandwidth profiler – so just turn it off!

Continue Reading →

Problems Automatically Upgrading WordPress on IIS?

By Ian Routledge On January 14, 2011 · Leave a Comment

I just upgraded WordPress to 3.0.4 but had a problem automatically upgrading. Here’s the quick and easy solution.

Continue Reading →
← Previous Entries
  • Categories

    • .NET
    • ActionScript 3
    • Advertising
    • AIR
    • ASP.NET
    • ASP.NET MVC
    • C#
    • CSS
    • Development
    • Facebook
    • Flash
    • Flex
    • HTML
    • IIS
    • LINQ
    • Portfolio
    • Uncategorized
  • Articles

    • March 2012
    • February 2012
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • August 2010
    • February 2010
    • January 2010
    • October 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Calendar

    May 2012
    M T W T F S S
    « Mar    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Meta

    • Log in
    • Entries (RSS)
"@paperCaves @crushcreative amazing!" — ediblecode

edible code | Ian Routledge

Pages

The Latest

  • Testing: The application relative virtual path '~/' is not allowed here.
    If you’re running unit tests in an ASP.NET web app on code […]

More

Ian Routledge is a London based freelance web developer and coder specialising in ASP.NET, JQuery, HTML and CSS
> portfolio
© 2012 Ian Routledge
Platform by PageLines