Overloading Methods in WCF

http://jeffbarnes.net/blog/post/2006/09/21/overloading-methods-in-wcf.aspx Yesterday, I attended a local MSDN event in the Birmingham area. ...

2013-10-30 14:14:53

阅读数:454

评论数:0

The easy way to run Powershell 2.0 using .NET Framework 4.0

http://viziblr.com/news/2012/5/16/the-easy-way-to-run-powershell-20-using-net-framework-40.html If you've been exploring creating your own m...

2013-02-28 14:44:41

阅读数:575

评论数:0

Sort using

工作环境的build.exe要求代码的using namespace 必须按字母顺序排列,今天被一直提示编译错误,浪费了我N久来手动排序,崩溃了,就想写一个小东西来排序using。 其实以前试过List.Sort(),发现结果并不准确。于是今天晚上抽空自己写了一个,写完了才发现,原来之前一直都忘...

2012-10-23 22:52:35

阅读数:404

评论数:0

Trouble shooting windows certificate problems.

A simple way to to enable CAPI2 LOG at eventvwr -> applications and services log -> microsoft -> windows -> CAPI2 ->  operational. Su...

2012-08-20 13:29:41

阅读数:1667

评论数:0

Uninstall visual studio 2008

While I made a mistake while installing visual studio 2008, it was interrupted. I suppose some of feature/component was not installed correctly, so I...

2012-06-25 10:21:12

阅读数:607

评论数:0

Why generics in method signatures?

Coming from PHP to C#, this syntax was intimidating: container.RegisterTypeCustomer>("customer1"); until I realized it expresses th...

2012-06-15 14:44:43

阅读数:364

评论数:0

ThreadStatic attribute

A static field marked with ThreadStaticAttribute is not shared between threads. Each executing thread has a separate instance of the field, and indep...

2012-04-12 15:54:41

阅读数:445

评论数:0

Logical operator

While I'm writing a test case, I found once the logical operator had calculated the result, it wont' execute left statement. It won't affect my test...

2011-12-28 15:53:10

阅读数:406

评论数:0

Combine algorithm

Get combines by recursion, low performance. class Program { /// /// Print all combines of C(n)(Left) /

2011-10-14 03:08:06

阅读数:776

评论数:0

WCFService and WCFClient

Reading these articles almost the whole night, will try to implement the WCFServcie/WCFClient with credential authentication Custom

2011-09-19 23:48:58

阅读数:337

评论数:0

Registry key and Registry value

Today I have a implement a method to create/delete a specify registry key, it alwasy throw exception say the registry key does not exist, it

2011-08-23 17:11:52

阅读数:724

评论数:0

What Every Dev Must Know About Multithreaded Apps

http://msdn.microsoft.com/en-us/magazine/cc163744.aspxVance MorrisonThis article discusses:Multithreading and the shared memory threading modelRaces ...

2011-06-08 16:05:00

阅读数:575

评论数:0

XmlTextReader and XmlException: Root element is missing

<br />http://edwardweinert.com/programming/xmltextreader-and-xmlexception-root-element-is-missing/<br /> <br /><br />During m...

2011-05-14 20:44:00

阅读数:1646

评论数:0

How to debug .net framework

<br />reference:<br /> <br />http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-sou...

2010-12-28 13:29:00

阅读数:856

评论数:0

关于.net assembly的strong name问题

<br />按照我当前的理解,.net assembly作为com的接班人,需要解决dll的版本问题。<br /> <br />错误一般发生在运行时,会抛出IO Exception,指明strong name name validation failed.<...

2010-11-17 14:16:00

阅读数:486

评论数:0

如何寻找已注册dll的路径

 在HKEY_LOCAL_MACHINE/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/ShareedDlls   中存放所有注册过的dll的属性,其中VALUE NAME 为该dll的路径,value data表明当前有几个进程在访问、使用这个dll。所以可...

2008-07-16 17:06:00

阅读数:2177

评论数:0

RegexOptions 枚举

RegexOptions 枚举 提供用于设置正则表达式选项的枚举值。 此枚举具有允许按位组合其成员值的 FlagsAttribute 属性。 ...

2008-07-03 13:19:00

阅读数:601

评论数:0

C#面向对象分析

  2008-05-13 来源:网络 ...

2008-05-18 21:16:00

阅读数:621

评论数:0

用反射来解决字段多带来的烦恼(转自论坛)

做项目开发的时候,大家应该经常都会遇到一个表里面的很多个字段的情况吧.在之前我接触的一个项目,有一个表有20多个字段.要向表中添加记录,和将一条数据绑定到页面上都要写很多代码.如: 下面是一个用户表的添加         User user = new User();         user.N...

2008-04-29 23:51:00

阅读数:558

评论数:1

Globalization更加详细的介绍

 System.Globalization 命名空间包含定义区域性相关信息的类,这些信息包括语言、国家/地区、使用的日历、日期、货币和数字的格式模式以及字符串的排序顺序。我们可以使用这些类编写全球化(国际化)应用程序。而像 StringInfo 和 TextInfo 这样的类更是为我们提供了诸如代...

2008-04-21 09:55:00

阅读数:1096

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭