This project is read-only.

Customize the URL for the REST services

Now that our WCF service is installed we want to delete the extension ".svc" when accessing REST.
So instead of typing a URL in this form http://moss2007/_wcf/HelloWorld.svc/REST/<parametres> we will use instead this URL http://moss2007/_wcf/HelloWorld/REST/<parametres>

To do this we will use an additional module for IIS7 which is the IIS 7 URL Rewrite Module.

After installing the module, open the folder containing your WCF service using "IIS7 manager". You will find the new module available.
Click it and choose the option "Add Rule". Name the new rule "remove. Svc”.
Then edit the rule as represented in the screenshot below:


Last edited Dec 4, 2009 at 10:21 AM by achaabouni, version 3


No comments yet.