In my knowledge, the RESTful WCF still has ‘.svc’ in its URL.
For example, if the service interface is like
[OperationContract] [WebGet(UriTemplate = '/Value/{value}')] string GetDataStr(string value);
The access URI is like ‘http://machinename/Service.svc/Value/2‘. In my understanding, part of REST advantage is that it can hide the implementation details. A RESTful URI like ‘http://machinename/Service/value/2‘ can be implemented by any RESTful framework, but a ‘http://machinename/Service.svc/value/2‘ exposes its implementation is WCF.
How can I remove this ‘.svc’ host in the access URI?
In IIS 7 you can use the Url Rewrite Module as explained in this blog post.
In IIS 6 you could write an http module that will rewrite the url:
And there’s a nice example how to achieve extensionless urls in IIS 6 without using third party ISAPI modules or wildcard mapping.