
MVC
牛仔好鬼忙
Hope is a good thing, maybe the best of things and no good thing ever dies!
展开
-
asp.net mvc 使用IIS配合VS调试
1. 部署iis站点上应有程序,注意其应有程序池是否跟自己的版本相符合2. 右键vs中web项目,打开“属性”页面,在左边选择“web”,选择“Use Custom Web Server”,写上iis的应有程序地址原创 2014-11-27 14:59:16 · 2487 阅读 · 0 评论 -
ASP.NET MVC 以64位运行
1. 修改应有程序池,确保其“托管管道模式”为“classic”,不能为集成;确保“启用32位应用程序”为false2. 编译mvc代码是以any cpu格式3. 检查应用程序中的“处理程序映射”中的ExtensionlessUrlHandler-ISAPI中处理后缀“*.”的位置是否在“C:\Windows\Microsoft.NET\Framework64”下HTTP 错误 4原创 2014-12-25 18:21:40 · 1453 阅读 · 0 评论 -
.NET执行程序运行路径
获取当前运行程序windows app的执行路径AppDomain.CurrentDomain.BaseDirectoryasp.net的执行路径AppDomain.CurrentDomain.SetupInformation.PrivateBinPath或者AppDomain.CurrentDomain.RelativeSearchPath后者获取回来是带有“bin”文件夹在后面的原创 2014-12-26 17:41:09 · 1278 阅读 · 0 评论 -
asp.net mvc 错误 global.asax
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appr原创 2014-12-30 14:39:36 · 5905 阅读 · 0 评论