2012年12月18日

'NuGet.VisualStudio.Interop 报错

摘要: Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=...'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.我在新建MVC4项目时出现了这样的报错,我使 阅读全文

posted @ 2012-12-18 11:11 Chester Huang 阅读(1298) 评论(2) 推荐(0)

2012年12月11日

ASP.NET_SessionId

摘要: 这几天在研究给session加密的一个模块类,此类继承自IhttpModule接口。实现的功能是确保在同一次Session会话中每次请求都来自同一客户端。因为对Request,Response和名称为ASP.NET_SessionId的Cookie理解不够透彻,在研究代码时花了很多时间都没能弄明白。下面是一些笔记。1.ASP.NET_SessionId的值在一次Session会话的第一次请求结束后,ASP.NET保存到客户端的Cookies.2.ASP.NET_SessionId默认保存SessionID,但如果在服务器端对ASP.NET_SessionId的值做了修改,再保存到客户端Cook 阅读全文

posted @ 2012-12-11 15:15 Chester Huang 阅读(1679) 评论(0) 推荐(1)

2011年10月14日

HTTP Error 403.14 - Forbidden

摘要: 公司的项目用到WebService,在WIN7 IIS下配置时报下面的错误信息HTTP Error 403.14 - ForbiddenThe Web server is configured to not list the contents of this directory.Solution - http://support.microsoft.com/kb/942062To resolve this problem, follow these steps:Start IIS Manager. To do this, click Start, click Run, type inetmgr 阅读全文

posted @ 2011-10-14 12:31 Chester Huang 阅读(2862) 评论(0) 推荐(0)

导航