messageservice.dll.config

来自「C#高级编程第6版随书源代码 值得下载」· CONFIG 代码 · 共 27 行

CONFIG
27
字号
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.web>
    <compilation debug="true" />
  </system.web>
  <!-- When deploying the service library project, the content of the config file must be added to the host's 
  app.config file. System.Configuration does not support config files for libraries. -->
  <system.serviceModel>
    <services>
      <service behaviorConfiguration="" name="Wrox.ProCSharp.WCF.MessageService">
        <endpoint address="" binding="wsDualHttpBinding" bindingConfiguration=""
          contract="Wrox.ProCSharp.WCF.IMyMessage">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8731/Design_Time_Addresses/MessageService/Service1/" />
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors />
  </system.serviceModel>
</configuration>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?