Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 03, 2012 02:27 AM by Haixia Xie - MSFT
Dec 01, 2012 02:30 AM|LINK
I want to use netTcpBinding for my service. I have done everything which I think I should do in App.config file, but the problem is I'm not able to retrieve the metadata of that endpoint.
Below is my code:
<?xml version="1.0" encoding="utf-8" ?>
Am I missing something?
Whenever i tried to hit net.tcp://localhost:9000/OrdersService, it give me an error that page cannot be displayed.
Dec 01, 2012 11:25 AM|LINK
Dec 03, 2012 02:27 AM|LINK
Please check if you have missed the configuration in IIS to let IIS support netTcpBinding. And if you want to discover service metadata in browser, you have to set httpGetEnabled to True and have used mexHttpBinding instead of mexTcpBinding in the web.config,
otherwise it will only be discoverable from within visual studio itself. For more details on how to configure wcf with nettcpbinding, please refer:
#Configuring WCF Service with netTcpBinding