courseorderreceiver.exe.config
来自「C#高级编程第6版随书源代码 值得下载」· CONFIG 代码 · 共 32 行
CONFIG
32 行
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<netMsmqBinding>
<binding name="NonTransactionalQueueBinding" exactlyOnce="false">
<security mode="None" />
</binding>
</netMsmqBinding>
</bindings>
<services>
<service name="Wrox.ProCSharp.Messaging.CourseOrderService">
<endpoint address="net.msmq://localhost/private/courseorder"
binding="netMsmqBinding" bindingConfiguration="NonTransactionalQueueBinding"
name="OrderQueueEP" contract="Wrox.ProCSharp.Messaging.ICourseOrderService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="CourseOrderService.Service1Behavior">
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?