i have hosted my WCF service in IIS and have following endpoints configured
<endpoint name="MainService" contract="Docs.ICalculatorService" address="http://localhost:49495/WcfService1/service.svc" binding="wsHttpBinding"> </endpoint> <endpoint name="MainTcpService" contract="Docs.ICalculatorService" address="net.tcp://localhost:49496/WcfService1/service.svc" binding="netTcpBinding"> </endpoint>
i have hosted my WCF service on port no 49495 which is real , now i have configured another endpoint which is using port no 49496 do i need to host this WCF service on another port 49496 or i am missing something
getting this error when looked in stack trace
The ChannelDispatcher at 'net.tcp://localhost:49495/WcfService1/service.svc' with contract(s) '"ICalculatorService"' is unable to open its IChannelListener
i have configured Endpoints and Configured Bindings in IIS 7 but now i am getting a new error
You have tried to create a channel to a service that does not support .Net Framing. It is possible that you are encountering an HTTP endpoint.**