随笔分类 - ASP.NET
摘要:在MVC的WebApi中默认是没有开启Session会话支持的。需要在Global中重写Init方法来指定会话需要支持的类型 public override void Init() { PostAuthenticateRequest += MvcApplication_PostAuthenticat
阅读全文
摘要:在网上找的,已经验证过(验证环境:win7+vs2010)1.需要引用的命名空间using System.Security.Cryptography;using System.Text;2.2个方法,一个是32位,一个是18位/// /// 加密字符串,返回32位字符串 /// ...
阅读全文

浙公网安备 33010602011771号