2.修改 Web.config 將
3.如果安裝在IIS 6 還要做以下的動作(做完要IIS_RESET 才會生效)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx?mfr=true
http://peterkellner.net/2008/08/24/urlrewrite-with-aspnet-urlrewriter-wildcard-mapping-iis6-iis7/
如此就可以用 REST 的方式來存取 Web Service
請參考
http://beyondrelational.com/blogs/dhananjaykumar/archive/2010/08/11/webservicehost-hosting-a-wcf-rest-service.aspx
http://dhananjaykumar.net/2010/04/27/picture-gallery-for-windows-7-phone-using-wcf-rest-service/