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

推荐订阅源

C
Check Point Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
GbyAI
GbyAI
WordPress大学
WordPress大学
月光博客
月光博客
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
博客园 - 司徒正美
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
Blog — PlanetScale
Blog — PlanetScale
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
L
LangChain Blog
腾讯CDC
T
The Blog of Author Tim Ferriss
量子位

博客园 - 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)    收藏  举报