2015年10月3日
摘要:
WCF custom authentication using ServiceCredentialsThe generally accepted way of authenticating a user with WCF is with a User Name and Password with t...
阅读全文
posted @ 2015-10-03 21:27
武胜-阿伟
阅读(478)
推荐(0)
摘要:
一、WCF中的安全方式说到安全就会涉及到认证,消息一致性和机密性,WCF的安全方式分为两种,即传输安全和消息安全。传输安全和消息安全的区别:传输安全提供点对点的安全: 比如 A 提供服务,B和C直接连接到A,这时候A与B 及 A与C直接的传输是安全的,如果B通过C连接到A,那么A与B直接是安全的,B...
阅读全文
posted @ 2015-10-03 18:27
武胜-阿伟
阅读(631)
推荐(0)
2015年10月2日
摘要:
WCF如何使用X509证书如何创建证书: makecert.exe -sr LocalMachine -ss My -a sha1 -n CN=JiangServer -sky exchange -pe (服务端证书) makecert.exe -sr LocalMachine -ss My -a ...
阅读全文
posted @ 2015-10-02 10:44
武胜-阿伟
阅读(666)
推荐(0)
摘要:
Service Discovery in WCF 4.0 – Part 2 In the previous post I discussed about the basic usage of WCF Discovery in 4.0. I implemented a managed ...
阅读全文
posted @ 2015-10-02 10:24
武胜-阿伟
阅读(310)
推荐(0)
摘要:
Service Discovery in WCF 4.0 – Part 1 When designing a service oriented architecture (SOA) system, there will be a lot of services with many s...
阅读全文
posted @ 2015-10-02 10:22
武胜-阿伟
阅读(364)
推荐(0)
摘要:
Download source - 93.5 KBIntroductionThough performance blocking and sluggishness are the tailbacks for any application, we can easily overcome these ...
阅读全文
posted @ 2015-10-02 09:55
武胜-阿伟
阅读(388)
推荐(0)
摘要:
直接这样写var task1 = Task.Factory.StartNew(() => DoSomeWork(message1, message2));如果是winform,你在另外一个线程不能直接访问窗体控件,可以用private void button1_Click(object sender...
阅读全文
posted @ 2015-10-02 09:54
武胜-阿伟
阅读(365)
推荐(0)
摘要:
Download source - 45.3 KBIntroductionHello everyone! This is my first blog on WCF and I hope that you like it.Today, I will talk about how to implemen...
阅读全文
posted @ 2015-10-02 09:52
武胜-阿伟
阅读(364)
推荐(0)
2015年9月27日
摘要:
Devexpress 是很好的第三方控件。但是需要汉化,在从网上下载的zh-CN文件夹里都是*.resources.dll文件,由于汉化的工作量很大,难免有些地方汉化 错误或者不合适(如下图)。花了些时间修改它们(大部分时间花在‘实现无需加入GAC即可见汉化效果’),将过程记录如下。2、反编译Dev...
阅读全文
posted @ 2015-09-27 21:00
武胜-阿伟
阅读(3168)
推荐(1)
2015年9月25日
摘要:
http://www.codeproject.com/Articles/77198/Routing-Manager-for-WCFDownload sourceContentsFeaturesIntroductionConcept and DesignUsage and TestImplementa...
阅读全文
posted @ 2015-09-25 08:15
武胜-阿伟
阅读(390)
推荐(0)