zoukankan      html  css  js  c++  java
  • WCF随便又又一篇

      <system.serviceModel>
        <services>
          <service name="StockQuoteService.Service1" behaviorConfiguration="StockQuoteService.Service1Behavior">
              <host>
                  <baseAddresses>
                      <add baseAddress="http://localhost:8000/Design_Time_Addresses/StockQuoteService/Service1/" />
                  </baseAddresses>
              </host>
              <endpoint address ="net.tcp://localhost:8731/Design_Time_Addresses/StockQuoteService/Service1" binding="netTcpBinding" contract="StockQuoteService.IService1" />
              <endpoint address ="net.pipe://localhost/Design_Time_Addresses/StockQuoteService/Service1" binding="netNamedPipeBinding" contract="StockQuoteService.IService1" />
              <endpoint              
                  address="mex" 
                  binding="mexHttpBinding" contract="IMetadataExchange">              
              </endpoint>
          </service>
        </services>
          
          <behaviors>
              <endpointBehaviors></endpointBehaviors>
              <serviceBehaviors>
                  <behavior name="StockQuoteService.Service1Behavior">
                      <serviceMetadata httpGetEnabled="True"/>
                      <serviceDebug includeExceptionDetailInFaults="False" />
                  </behavior>
              </serviceBehaviors>
          </behaviors>
    
      </system.serviceModel>
    
  • 相关阅读:
    Laravel 学习笔记:Command
    laravel command
    git和并分支
    mysql按日期分组统计的查询
    用GitLab的Merge Request做代码评审
    Git创建合并和删除分支
    生成器和生成器表达式
    闭包,迭代器
    Mysql 初始数据库
    初识函数
  • 原文地址:https://www.cnblogs.com/Jax/p/1616927.html
Copyright © 2011-2022 走看看