<?xml version="1.0" encoding="utf-8" ?>
|
<configuration>
|
|
<startup>
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
</startup>
|
|
<appSettings>
|
<add key="printerName" value="HP DeskJet 2700 series" />
|
<add key="templatePath" value="C:\templates\yoke.btw" />
|
</appSettings>
|
|
|
|
<system.serviceModel>
|
<behaviors>
|
<serviceBehaviors>
|
<behavior name="">
|
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
|
<!-- 启用异常详细信息的特性 -->
|
<serviceDebug includeExceptionDetailInFaults="true" />
|
</behavior>
|
</serviceBehaviors>
|
</behaviors>
|
<services>
|
<service name="Express_printer.wcf.PrintWcfService">
|
<endpoint address="" binding="basicHttpBinding" contract="Express_printer.wcf.IPrintWcfService">
|
<identity>
|
<dns value="localhost" />
|
</identity>
|
</endpoint>
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
<host>
|
<baseAddresses>
|
<add baseAddress="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" />
|
</baseAddresses>
|
</host>
|
</service>
|
</services>
|
</system.serviceModel>
|
</configuration>
|