C#-MSMQ安装及配置
2024-10-01 11:17:57
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<system.serviceModel> <behaviors> <serviceBehaviors> <behavior name= "" > <serviceMetadata httpGetEnabled= "true" httpsGetEnabled= "true" /> <serviceDebug includeExceptionDetailInFaults= "false" /> </behavior> </serviceBehaviors> </behaviors> <services> <service name= "ConsoleApplication1.Service1" > <endpoint address= "net.msmq://localhost/private/myservice" binding= "netMsmqBinding" contract= "ConsoleApplication1.IService1" bindingConfiguration= "mybinding" > <identity> <dns value= "localhost" /> </identity> </endpoint> <endpoint address= "mex" binding= "mexHttpBinding" contract= "IMetadataExchange" /> <host> <baseAddresses> </baseAddresses> </host> </service> </services>
<netMsmqBinding> <binding name = "mybinding" > <security mode= "None" > <!--<transport msmqAuthenticationMode= "None" msmqProtectionLevel= "None" /> <message clientCredentialType= "None" />--> </security> </binding> </netMsmqBinding> </bindings> </system.serviceModel> |
在配置system.serviceModel时,像上面的这样配置
在控制面板中安装MSMQ
最新文章
- 如何查看/统计当前AD域控制器的活动用户?
- php 操作数组(合并,拆分,追加,查找,删除等)(转载)
- Delphi ComboBox的属性和事件、及几个鼠标事件的触发
- win7 64位 TortoiseSVN-1.8.4客户端安装
- linux学习之四---gdb调试
- http://mozilla.debian.net/
- 一文让你从此告别HTTP乱码(二)Response篇
- spring + springmvc+ mybatis 事务管理及控制
- iOS App签名的原理
- boost::algorithm(字符串算法库)
- vue小技巧之偷懒的文件路径——减少不必要的代码
- 工作任务: 批量处理wav音频文件--shell脚本
- 深入理解JavaScript,这一篇就够了
- 树的子结构(JAVA)
- 1506.01186-Cyclical Learning Rates for Training Neural Networks
- css第二天
- 654. Maximum Binary Tree
- 泛化之美--C++11可变模版参数的妙用
- MATLAB:图形加法运算(imadd函数)
- Mui 下拉刷新,刷新完成功能实现