net.tcp

net.tcp binding metadata problem

巧了我就是萌 提交于 2019-12-06 05:40:36
<system.serviceModel> <services> <service name="SUR.Core.Service.Implementation.SURDirectoryService" behaviorConfiguration="DefaultServiceBehavior"> <host> <baseAddresses> <add baseAddress="net.tcp://127.0.0.1:8731/ISURDirectoryService"/> </baseAddresses> </host> <endpoint address="" binding="netTcpBinding" bindingConfiguration="DefaultDirectoryServiceBindConfig" contract="SUR.Core.Service.Facade.ISURDirectoryService"/> <endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange"/> </service> <service name="MSS.Core.Service.Implementation.MSSDirectoryService"

WCF net.tcp bindings, message formats and security questions

大城市里の小女人 提交于 2019-12-06 05:07:55
问题 sorry for the stupid questions but there are just some things about WCF I cant get my head around. Would be greatful for some advice on the following.... At a very basic level is it correct that WCF uses either Binary (Net.Tcp), HTTP or MSMQ to transfer my message on the wire? However is it true that in all cases, regardless of how the data is transferred the message itself in in the SOAP format with headers and a body? So its a sort of XML message that is transmitted in either HTTP/S or in a

WCF net.tcp port sharing on IIS 7 / WAS

不羁岁月 提交于 2019-12-06 00:27:41
I am new to wcf programming and I have been working on a small project and am having problems with net.tcp port sharing. I am using .net framework 4 and iis 7. I have two wcf services (serviceA and serviceB) being hosted on our server in separate websites on IIS. Each website has its own .svc file, web.config and bin. If I have each of these services on different net.tcp ports then there is no problem and I can add the service reference to each of them from visual studio on my pc. The services run fine. However we will soon be starting a project with many more services and we wish to avoid

Host WCF service with net.tcp binding through IIS Manager 7.5

大兔子大兔子 提交于 2019-12-05 08:53:24
I am fairly new to hosting web applications and web services. Though I was successful in hosting a web application, I am running into road block after road block when trying to host a WCF service with net.tcp binding. My scenario is as follows, I have a hosted web application that needs to communicate with a hosted WCF service with net.tcp binding through IIS 7.5. As stated the web application is hosted fine and I can browse the web site. However, the web application makes services calls to the WCF service and I am getting the 'TCP error code 10061' message which I believe is due to my hosted

wcf net.tcp using SSL

六眼飞鱼酱① 提交于 2019-12-05 01:35:05
Has anyone had experience using SSL with net.tcp binding in WCF? Ive read its possible, but not finding good information on how to implement it. I would love to hear from anyone who knows about or who has implemented this. Thanks in advance... Have a look at the contents in this link: http://msdn.microsoft.com/en-us/library/ms789011.aspx especially the section on "To use the NetTcpBinding with a certificate for transport security" 来源: https://stackoverflow.com/questions/2455251/wcf-net-tcp-using-ssl

WCF netTcpBinding hosted on IIS7.5 Stops Working

混江龙づ霸主 提交于 2019-12-05 00:53:22
问题 I have a simple .NET 4 WCF service which I have hosted locally on IIS7.5. Initially I had it hosted using httpBinding which worked fine. Then I switched it to netTcpBinding , which after changing the web.config file accordingly was also working fine. However today it has decided to stop working. I cannot connect to the service using the test client at all, getting: URI: net.tcp://localhost/case/service.svc/mex Metadata contains a reference that cannot be resolved: 'net.tcp://localhost/case

WCF: Why does passing in a remote endpoint fail?

こ雲淡風輕ζ 提交于 2019-12-04 17:42:01
问题 WCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works? This works: Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback), "NetTcpBinding_IOfferingTap" This doesn't: Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback), "NetTcpBinding_IOfferingTap", "net.tcp://qa1offerings:8190/") Configuration File Excerpt: <endpoint address="net.tcp://qa1offerings:8190/" binding=

WCF net.tcp bindings, message formats and security questions

≯℡__Kan透↙ 提交于 2019-12-04 11:04:58
sorry for the stupid questions but there are just some things about WCF I cant get my head around. Would be greatful for some advice on the following.... At a very basic level is it correct that WCF uses either Binary (Net.Tcp), HTTP or MSMQ to transfer my message on the wire? However is it true that in all cases, regardless of how the data is transferred the message itself in in the SOAP format with headers and a body? So its a sort of XML message that is transmitted in either HTTP/S or in a binary format. Is Net.Tcp a good choice for my client server app - its similar to a messenger app in

The server has rejected the client credentials

此生再无相见时 提交于 2019-12-03 20:37:06
问题 I have a WCF service with net.tcp binding, hosted on the server as a Windows service. I am not able to access this service. However I was able to do so, when I hosted it on my local network. Error Recieved Message:** The server has rejected the client credentials. Inner Exception: System.Security.Authentication.InvalidCredentialException: The server has rejected the client credentials. ---> System.ComponentModel.Win32Exception: The logon attempt failed --- End of inner exception stack trace -

WCF Service Base Address Http and netTcp

蓝咒 提交于 2019-12-03 17:31:36
问题 I have two base addresses defined in my WCF Service config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.diagnostics> <sources> <source name="System.ServiceModel" switchValue="Warning, ActivityTracing" propagateActivity="true"> <listeners> <add type="System.Diagnostics.DefaultTraceListener" name="Default"> <filter type="" /> </add> <add name="ServiceModelTraceListener"> <filter type="" /> </add> </listeners> </source> </sources> <sharedListeners> <add initializeData="C