Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1026493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:05:29+00:00 2026-05-16T12:05:29+00:00

I created a WCF REST (aka WebHttp) service in .NET 4, using Microsoft’s WCF

  • 0

I created a WCF REST (aka WebHttp) service in .NET 4, using Microsoft’s WCF REST Service Template 40. I am hosting the service in IIS 6.

The Service Template uses the RouteTable in the Global.asax as a way to create “clean” URL’s that don’t include “.svc” in them. For example:

http:// localhost / flights / 878

GET and POST work fine against this URL, but PUT and DELETE result in HTTP 501, “Not implemented”.

If I create a simple .svc file like this:

<%@ ServiceHost Language="C#" Debug="true" Service="MyProject.FlightsService"%>

then I can use PUT and DELETE against this URL:

http:// localhost / flightsservice.svc / 878

Does anyone know if it’s possible to get PUT and DELETE to work against the “clean” URL above? It seems that there is no way to configure IIS to allow this because there is no file extension to configure settings for, and I don’t want to allow PUT and DELETE globally.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:05:30+00:00Added an answer on May 16, 2026 at 12:05 pm

    I haven’t worked with IIS6 in a while (and I don’t have it installed, so I’m going off memory here), but I had to implement something similar with IIS6 for routing extensionless URLs in IIS6.

    You can enable wildcard script mappings on a folder by folder basis by hacking IIS Manager. This blog post is what I followed and it works really well (and this link provides a little more background). It’s really a bug in the Manager, not IIS itself (at least that’s what I tell myself).

    Can you reference your services in a sub-folder in your site (e.g. http://localhost/services/flight/878)? If so, and if you implement the IIS Manager hack above, I think you can enable all HTTP verbs for that directory. Again, I’m going off memory (and we only implemented GETs and POSTs, so I didn’t deal with PUTs and DELETEs), so I hope I’m getting this right.

    Let me know if you need more info or if my memory is slipping. 🙂 I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a wcf Rest service using net framework 4 and IIS 6. I
I created a new wcf rest service using .net 4. I have created a
I created a WCF rest service, then called that from javascript using ajax. Now
I have created a REST web service using WCF and use HTTP Post Method.
I have a WCF rest service. I created it using 4.0 rest service application,
I have created a REST service using WCF for communicating with BLL/DAL from UI.
I have ASP MVC 3 application. I created WCF REST JSON Service and added
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I created a WCF service that uses TagLib# ( http://developer.novell.com/wiki/index.php/TagLib_Sharp ) which relies on
I created a WCF service (.NET 3.5) that grabs data from a db and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.