惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
Y
Y Combinator Blog
D
DataBreaches.Net
I
InfoQ
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
G
Google Developers Blog
博客园_首页
博客园 - 司徒正美
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
博客园 - 叶小钗
Engineering at Meta
Engineering at Meta
Apple Machine Learning Research
Apple Machine Learning Research
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
D
Docker
量子位

博客园 - Jeff.Yang

关于Cache 不同数据库系统NULL判断的一点细节 SkipLinkText会惹祸 - Jeff.Yang - 博客园 关于TextBox的ReadOnly - Jeff.Yang - 博客园 Repeater中FooterTemplate中的控件提取 控件存在检测 SQL Server 2000与IIS6 ASP.NET Profile之惑 ASP.NET 2.0的URL摘取 VS2005和.NET 2.0真搞 MySQL远程管理 SQL Server 异机迁移 Oracle时间处理 命名颜色可能不唯一 SQL Server 2005 版本号 IE默认设置 Safe360 BUG TP-Link TL-WN620G无线网卡的WPA2协议支持 MySQL 数据迁移
关于 SQL CLR 几点细节
Jeff.Yang · 2007-12-27 · via 博客园 - Jeff.Yang

1.要获得SHA1值不能通过FormsAuthentication.HashPasswordForStoringInConfigFile,因为它所在的命名空间System.Web.Security默认未引入,也不能通过Add Reference方式加进来。可通过System.Security.Cryptography中的SHA1CryptoServiceProvider实现。

2.

FormsAuthentication.HashPasswordForStoringInConfigFile认为参数字符的默认编码方式与当前站点的requestEncoding一致。

3.

Replace('-', char.MinValue)得不到正确结果,要用Replace("-", "")

posted on 2007-12-27 00:10  Jeff.Yang  阅读(316)  评论(0)    收藏  举报