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.

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

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

  • Says:

    Hello would you mind sharing which blog platform you’re working with?
    I’m going to start my own blog in the near future but I’m
    having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design and style
    seems different then most blogs and I’m looking for something completely unique.
    P.S Apologies for getting off-topic but I had to ask!

  • stamped concrete Says:

    Wonderful, what a weblog it is! This webpage gives useful data to us, keep it up.

  • mobile games Says:

    I constantly emailed this weblog post page to all my contacts,
    since if like to read it after that my links will too.

  • chef download Says:

    I was extremely pleased to uncover this web site. I wanted to thank you for your time
    just for this fantastic read!! I definitely enjoyed every bit of it and I
    have you book-marked to look at new stuff on your site.

    Here is my webpage; chef download

  • plants vs zombies garden warfare download Says:

    Everything is very open with a clear description of the challenges.

    It was truly informative. Your website is useful.
    Thanks for sharing!

    My page plants vs zombies garden warfare download

  • garry's mod download Says:

    I savour, cause I found exactly what I was looking for.

    You’ve ended my 4 day long hunt! God Bless you man. Have
    a nice day. Bye

    My weblog :: garry’s mod download

  • Gladis Says:

    Let puppy training him trust you. Even though electric impulses puppy training may seem much easier for you.

    When released the dog has fighting ability also.

    Learn exactly what canine teaching is about 8 to 12 weeks of age, breed attributes, some dogs might also display disagreeable behavior in their dog.
    Training will show that while its always pleasant to have a well-mannered respected canine and limb of your treatment.
    Zoom Room is located at 4985 S.

    Here is my page … (Gladis)

  • traffic racer hack download Says:

    There are various games developed by developer Andreas Illiger.
    Be it iPhone games come in the mobile experience to a great challenge
    to accomplish, the greater networking opportunity the fact that the new sites that made
    into the mobile game. All conditions, satisfactory completion of due to the Kindle Fire HD
    tablet, you can test your skills by playing games.
    Buddy Rush combines the elements of anti gravity, electricity,
    traffic racer cheats and aim, your game.

    Here is my web site – traffic racer hack download

  • Kathy Says:

    Thank you for the wonderful tutorial, is it possible to use htaccess to rewrite the svc extension?

  • Alana Says:

    Do you want to copy posts from other blogs rewrite them in seconds and post on your site or use
    for contextual backlinks? You can save a lot of writing work, just search in gogle:
    rheumale’s rewriter

Leave a Reply