Nov 9 2010

Required Reading for Creating and Deploying a WCF REST Service on IIS7

Deploying a REST service with Windows Communication Foundation (WCF) is great, because it’s very powerful, but it can also be enormously frustrating.

First of all, start by reading the whitepaper.
http://msdn.microsoft.com/en-us/library/dd203052.aspx

This will give you a great overview on how to construct your methods, and how to label them in order to have them exposed correctly by REST.

Next, you need to create your web.config file. Use webhttpbinding for REST.

Lastly, deployment:

How to use https for WCF services in IIS7

How to rewrite your URLs to get rid of the lame .svc extension

I am posting a small demo project, hopefully it’s useful to someone. Simply implement the API interface as you see fit, and the rest basically does itself. You’ll notice the web.config includes a SOAP binding for legacy Microsoft clients to use if they wish.

Link: API_Template


Nov 8 2010

Cinema Display Warping

Ahh! My beautiful cinema display (just over a year old) is warping at the edge. I just noticed it this morning, I’m not sure how long it’s been like that, but once you see it, it really cannot be un-seen :(

Anyone else know of this happening? A google search turned up only one post

http://www.cartoonbarry.com/2010/10/my_apple_cinema_display_is_ben.html.

Hopefully I’m not the only one, but I guess I’ll hope it’s covered by applecare. I really love Apple’s products, but they seem to be having some issues with displays. I just got my laptop back after the heat caused the adhesive in the display to stop working, and it started to separate.

pics to follow: