zoukankan      html  css  js  c++  java
  • How to use the WCF Service Configuration Editor

    Step 1:

    Step 2:

    Step 3:

    Step 4:

    Step 5:

    Step 6:

    Step 7:

    Step 8:

    Step 9:

    Step 10:

    Step 11:

    Step 12:

    Step 13:

    Step 14:

    Step 15:

    Step 16:

    Step 17:

    Step 18:

    Step 19:

    Step 20:

    Step 21:

    Ctrl + S, save the config.

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <system.serviceModel>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="CalculatorBehavior">
                        <serviceMetadata httpGetEnabled="true" />
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <services>
                <service behaviorConfiguration="CalculatorBehavior" name="Services.CalculatorService">
                    <endpoint address="http://localhost:9999/CalculatorService" binding="basicHttpBinding"
                        bindingConfiguration="" contract="Services.ICalculator" />
                    <host>
                        <baseAddresses>
                            <add baseAddress="http://localhost:9999/CalculatorService" />
                        </baseAddresses>
                    </host>
                </service>
            </services>
        </system.serviceModel>
    </configuration>
  • 相关阅读:
    hutool工具
    lombok
    混入
    postMan
    jsr303常用注解
    网页兼容性
    C/C++ 一点笔记(1)
    VS2010 灵活运用快捷操作功能(新手必看)
    HTML中meta作用
    C/C++ 一点笔记(2)
  • 原文地址:https://www.cnblogs.com/vincentDr/p/2913621.html
Copyright © 2011-2022 走看看