代码改变世界

随笔档案-2011年01月

How to Turn Off / Disable AutoComplete – ASP .Net

2011-01-24 19:15 by mleader1, 224 阅读, 收藏,
摘要: Many browsers support autocomplete feature, making our life easier. With this feature, browser remembers the input values we make on certain fields e.g. text field and when we go visit the webpage later on, browser make suggestions with those past values we have entered.Sometimes this is not a de... 阅读全文

RSA实现C# 加密详解

2011-01-22 18:12 by mleader1, 506 阅读, 收藏,
摘要: 800x600 Normal 0 false false false EN-GB ZH-CN X-NONE ... 阅读全文

System.Security.Cryptography C# 加密和解密的学习

2011-01-22 17:38 by mleader1, 983 阅读, 收藏,
摘要: 总结:注册的时候经过MD5加密存进数据库,在登录的时候需要先加密输入的密码,再进行和数据库里的比对,因为同一字符串加密后是一样的,并不是无规则的:实例:string name = this.TextBox1.Text; string pwd = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(this.TextBox2.Text, "MD5"); Response.Write(name+"<br>"+pwd);---------------- 阅读全文

万赛达商务科技招聘 ASP.NET程序员

2011-01-22 17:31 by mleader1, 155 阅读, 收藏,
摘要: 给自己公司在CSDN上发个招聘博文:万赛达信息科技有限责任公司是英国WebCider Business Solutions Ltd原班高层管理团队成立的中国私营企业,公司融合西方企业管理文化,采用英国人性化员工激励体制,容纳员工个性且给与员工成长和再教育提供激励支持,合理和公平的善待公司每一员工。公司拥有雄厚的资金垫底,强大的中英两国开发团队支持,致力打造新一代中国互联网软件开发创新企业新形象。现公司初创之际,万赛达信息科技有限责任公司主营网站软件开发,并自主开发运营多家大型网站;公司常年全国招聘有志优秀程序开发员,系统设计工程师,网络美术工程师,网络营销员等;万赛达招聘程序公正透明,工资待遇 阅读全文

SQL Server 2008 里面 DateTime2 解决过去恐怖的 MinValue问题

2011-01-20 13:18 by mleader1, 382 阅读, 收藏,
摘要: 从 SQL Server 2008起,微软老大引入了一个新数据类型 datetime2, 允许 数据库中时间的最小值增大到与.NET Framework的日期格式一样精确,虽然还是有点不同,但是已经基本能够解决我们以前存取日期格式的问题: datetime2格式允许的时间范围是:"0001 / 01 / 01" through "9999 / 12 / 31" 即从c#中 DateTime.MinValue到 DateTime.MaxValue 的范围;由于DateTime 为Null时返回值是按照 DateTime.MinValue来的,所以如果我们通 阅读全文

Internet – Web to Remote WCF Using Message Security (Original Caller)

2011-01-18 13:13 by mleader1, 220 阅读, 收藏,
摘要: Internet – Web to Remote WCF Using Message Security (Original Caller)- J.D. Meier, Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve GregersenApplies ToWCF 3.5ScenarioIn this scenario, your users do not have Windows accounts and use a web client to connect over the Internet to 阅读全文

Designing an Authentication and Authorization Strategy

2011-01-18 13:04 by mleader1, 185 阅读, 收藏,
摘要: FROM MSDN: J.D. Meier 06-25-2008 10:35 PM What are the key steps to designing an effective authentication and authorization strategy? The keys are knowing your user stores, role stores, and who need to access what or perform which operations. In this post, I... 阅读全文

牛人公司的经典 .NET 例子代码

2011-01-18 11:03 by mleader1, 488 阅读, 收藏,
摘要: 我主要在找 NetTCP WCF使用 MembershipProvider 的例子,最后发现新大陆,顺道解决了自己的问题 呵呵共享一下文章和下载链接:-------------------------------------- Downloads The IDesign serviceware downloads is a set of original techniques, tools, utilities and even breakthroughs developed by the IDesign architects.... 阅读全文