app.config

来自「WCF文件传输示例」· CONFIG 代码 · 共 21 行

CONFIG
21
字号
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.serviceModel>
        <bindings>
          <netTcpBinding>
                <binding name="NewBinding0" maxReceivedMessageSize="1073741824" transferMode="Streamed" />
            </netTcpBinding>
        </bindings>
        <services>
            <service name="FileService2.FileSave">
                <endpoint address="FileSave" binding="netTcpBinding" bindingConfiguration="NewBinding0"
                    name="FileSaveName" contract="FileInterface.IFileInterface" />
                <host>
                    <baseAddresses>
                        <add baseAddress="net.tcp://localhost:8000/service" />
                    </baseAddresses>
                </host>
            </service>
        </services>
    </system.serviceModel>
</configuration>

⌨️ 快捷键说明

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