是否可以有这样的 WCF 服务配置:
<service behaviorConfiguration="WcfService1.Service1Behavior"
name="WcfService1.Service1">
<endpoint address="" binding="netTcpBinding" bindingConfiguration=""
contract="WcfService1.IService1">
</endpoint>
<endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost/netTcpService" />
</baseAddresses>
</host>
</service>
它是否托管在 Visual Studio 2008 附带的 ASP.NET 开发服务器上,还是我必须在 IIS 7 中托管该服务或在托管应用程序/Windows 服务中自行托管它?
感谢您的见解!