c# - How to host both application contract and web page (simple html page) in a WCF service? -
i have wcf service host hosts following service binding:
http://localhost:2756/mywcfinterface (wshttpbinding)
now mapped internal binding following domain
http://mywcfservice.mydomain.com
this works fine when connecting service client endpoint. when open address in browser, doesn't.
is there way provide interface wcf client, simple html website web browser (e.g. informing client).
in order view information service contract in browser (e.g. human), can add mex endpoint : see msdn publishing metadata
hth
Comments
Post a Comment