摘要:
通过往WCF消息头中添加自定义信息,可以用于各种用途,比如可以用于传递AuthKey来判断调用是否合法。 客户端: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> using (OperationContextSc... 阅读全文
posted @ 2009-05-07 10:04
chenjunbiao
阅读(176)
评论(0)
推荐(0)
摘要:
1、如何用反射得到调用当前方法的方法名称? Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->StringBuilder sb = new StringBuilder();StackTrace st = new StackTrace();for... 阅读全文
posted @ 2009-05-07 09:53
chenjunbiao
阅读(218)
评论(0)
推荐(0)