Evil geniuses and world domination are 2 of our goals... we also like Dr Who

WCF… Windows Calamity Framework? something like that

no comment

I’m currently doing research and revision for my 70-487 exam – Developing Microsoft Azure and Web Services.  I was doing some reading and I encountered some information about hosting WCF Data Services and OData.  It wasn’t something I had encountered in so far – so it has been an interesting and exciting prospect to look into.

I found a wonderful step by step tutorial into creating and hosting a WCF Data Service on MSDN, so I went through it.

First problem : I need some data.  I’m quite getting into LocalDB at the moment – I’m thinking about the possibility of creating a developer database through migration scripts – so that a developer could clone a Github repo and run the project.  The Database would be automatically created for them, and populated with sample data (if appropriate) – meaning that developers could run this project without a dependency on a database or fancy storage like that.

I managed to get the SQL Scripts for Northwind from codeplex – but with almost everything that Microsoft does these days being on github – going back to codeplex seemed old and outdated.

I followed through the instructions and ran the project.

OData seems to be very similar to REST – except that the url used are representative of the entity structure(rather than hiding behind controllers), and query like operations can be passed through to the server – giving maximum flexibility in terms of usage.   So – anyway… I ran my project from Visual Studio 2015.

Metadata from my WCF Data Service

Metadata from my WCF Data Service

Yay – I have metadata about my service.Next step was to view the contents of the customers service by subtly altering the URL to add Customers to the end.

And then this happened :

WCF Data Service 2

Customers can’t be downloaded?

 A pop up from Edge saying that Customers couldn’t be downloaded?  That can’t be right. Let’s have a look at the same thing on Chrome.
WCF Data Service 3

Loading the Same OData service on Chrome reveals lots of lovely data.

So what’s going on here – my service works fineunder Chrome – but fails under Edge?  Only Edge?  How about IE
WCF Data Service 4

Acessing the OData Service on IE does present data – which IE interprets as an RSS feed.

It does seem to show the data under Internet Explorer – so it just appears to be the Edge Browser which is causing the problem. Next up – let’s run the network tab, and we’ll see what’s shaking.
WCF Data Service 5

Requesting the OData Service is stuck at Pending

 So – notice that the result is still pending?  In comparison navigating to http://localhost:50739/NorthwindCustomers.svc/ returns the following:
WCF Data Service 6

Accessing the OData Metadata on MS Edge does seem to return (response code 200)

Currently I’m working under the  theory that Edge just doesn’t understand an element of the communication received.   Given that the same service is being used for all browsers, then the issue is down to how Edge interprets some header received from the server.
Next up : I’ll record the headers that are returned from the service and see if I can determine a difference between the browsers – until I learn more though, I’ll have to work under the assumption that Edge just won’t work with this stuff

Whoops – broken link there @premiumcredit

no comment

I needed to sign the agreement for my home insurance – so I popped onto mypremiumcredit.com

Signing a credit agreement on PremiumCredit

Signing a credit agreement on PremiumCredit

I wanted to read the terms and conditions, so I clicked on the terms and conditions link…

Whoops - Now - that looks like JSON.

Whoops – Now – that looks like JSON.

Will be letting the technical contact for the site know.

Error message in the wild

no comment
Error message at Geneva International Airport

A display stand containing only things that cause long term health problems…. Cigarettes and Windows…. Cant help thinking that Oasis might have had more success with that instead of Cigarettes and Alcohol.

Thanks to roving error reporter Adam Cutler for this!.

The… needs an update

no comment

The… needs an update…bit of an issue with layout here

Windows 10 crash

no comment

Ohhh…blue screen of despair…

My pc is so sad….

My pc crashed …never seen a windows crash screen on windows 10 before

JSfiddle – working on snapping elements to elements

no comment

Just thought I’d pop this here. I’m working on a snap.svg application that allows the user to drag staff members between desks. I’ve got the dragging working, just need to figure out how to snap to elements.

Rarely seen @YouTube error.

no comment
youtube 500 error

You don’t see a youtube 500 server error every day…

and if you’re interested – here’s the text of that error.


500 Internal Server Error

Sorry, something went wrong.

A team of highly trained monkeys has been dispatched to deal with this situation.

If you see them, send them this information as text (screenshots frighten them):



Unit testing Javascript

no comment

In previous posts I talked about unit testing an MVC controller for a home project I am working on.  A couple of days ago I started trying to get JavaScript unit testing implemented within the build system so that I could unit test any JavaScript that I included in my project.  
Read more..

@mindflash error in the wild

no comment

I just had a look at the mindflash training course, and having completed the sample course was greeted with the following error :

Mindflash - Thank you is a bad request

Mindflash – Thank you is a bad request

Looks like the url is not being escaped properly – it seems that the %d and %s are place holders that should have content replaced.  Examining the other urls for the course the address should have been : https://www.mindflash.com/player/677505279/thank-you/

What the course thank you should have been

What the course thank you should have been

Error message in the wild on @SLTGetActive mobile site.

no comment
SLT mobile site Yellow screen of death.

SLT mobile site Yellow screen of death.

Just been shown this error message for Sandwell Leisure Trust’s Mobile website on Rach’s Mobile.

I was able to re-create the issue using the mobile address, in a desktop browser.

She even worked out how to recreate the issue.

  • Browse to http://m.slt-leisure.co.uk/
  • in the menu (Top Right) Click Activities
  • Search for Gyms – Notice that as you type there is a UI bug that leaves the “L” banner on the screen
  • Click on Gyms (this will also work with other activity types)
  • From the “All Centres” drop down click on any leisure centre.
  • Error shown.
"L" still shown

“L” still shown but has no content.

What is interesting is that the page here appears to be performing a post back – but there seems to be no real need to do so.  Information for all the relevant sites is already presented in the page.  Unless there is additional information there’s no reason why that couldn’t be added through an AJAX call.