Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/forge/masseltech.com/wp-includes/plugin.php on line 600

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


3 Responses to “Required Reading for Creating and Deploying a WCF REST Service on IIS7”

  • metroid gameboy Says:

    With havin so much content do you ever run into
    any problems of plagorism or copyright violation? My blog has a lot of exclusive
    content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all
    over the internet without my authorization. Do you know any methods to help stop content from being
    stolen? I’d genuinely appreciate it.

  • mieszkania na sprzedaz Kielce Says:

    Very great post. I just pfofmnmd stumbled upon your weblog and wished to mention that I’ve truly loved browsing your weblog posts. After all I’ll be subscribing in your feed and I am hoping you write again soon!

  • holistic medicine Kingwood Says:

    At this time it appears like Expression Engine is the best blogging
    platform available right now. (from what I’ve read) Is that what you’re using on your
    blog?

Leave a Reply