Here is the scenario, I have a call to the WCF service that takes one string parameter, and this line has slashes in it (for example, "123 / 456.xml"). I want to configure the UriTemplate as this "/ {file}" so that I can access the http://www.example.com/File.svc/123/456.xml method , not http: //www.example. com / File.svc / GetFile? file = 123 / 456.xml .
Is this possible with UriTemplate?
, MSDN. UriTemplates , . UriTemplate "/{* file}", .
Source: https://habr.com/ru/post/1736196/More articles:Uninstall another MSI during installation - installerThe whole monorail call challenge in tests - unit-testingHow to initialize Flash ActionScript 3 (AS3) components? - flashsplitting JSS from CSS to plone.htmlhead - pythonto install the PARADOX extension for PHP - phpDate / Time Conversion (PHP) - phpSSRS export to Excel has invalid group footers - excelANTLR MismatchedTokenException on a Simple Grammar - antlrCan I get a link to an instance of the SingleHost ServiceHost WCF before the first WCF client request appears? - .netGetting a session inside ASP.Net ScriptMethod - c #All Articles