courseorderservicecontract.dll.config
来自「C#高级编程第6版随书源代码 值得下载」· CONFIG 代码 · 共 28 行
CONFIG
28 行
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service name="Wrox.ProCSharp.Messaging.CourseOrderService">
<endpoint address="net.msmq://localhost/private/MyCourseOrderQueue"
binding="netMsmqBinding" bindingConfiguration="" 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 + -
显示快捷键?