Hello world.

01 2011 档案
[转]详细解析ASP.NET中Request接收参数乱码原理
摘要:起因:[代码]实际情景: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--同事负责的平台是Ext.js框架搭建的,web.config配置文件里配置了全局为“GB2312”编码:globalizationrequestEncoding="gb2312"responseEncoding="gb2312"fileEncoding="gb2312"culture="zh-CN"/当前台提交“中文文字”时,后台用Request.QueryString[ 阅读全文
posted @ 2011-01-21 11:10 Ryan.zhu 阅读(1927) 评论(0) 推荐(0)
RSA签名数据+验证签名
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--staticvoidMain(string[]args){RSACryptoServiceProviderrsa=newRSACryptoServiceProvider();stringd="1||2||2010-01-10||2010-01-02||op||cd";stringsign=InvokeSign(d);boolf=CheckSign(d,sign);Console.ReadKey( 阅读全文
posted @ 2011-01-11 12:02 Ryan.zhu 阅读(2343) 评论(0) 推荐(0)

come soon on