- 博客(7)
- 资源 (5)
- 收藏
- 关注
原创 IIS8排错:Could not load type ‘System.ServiceModel.Activation.HttpModule’
最近基于.NET 4.5的WebSocket开发了一个服务器应用部署到Windows Server 2012和IIS8上去。调试的时候,每次打开网页就会遇到一个异常:"Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly 'System.ServiceModel, Version=3.0.0.0,
2013-06-30 17:54:08 4765
原创 Solve IIS 8 Error: Could not load type ‘System.ServiceModel.Activation.HttpModule’
I met an error when I was deploying my WebSocket server application which targeted .NET 4.5 to Windows Server 2012 plus IIS 8. It was an exception shown in browser whenever I tried to open a web page.
2013-06-30 17:10:59 1843
原创 自定义ISAPI Filter中发现的一个与Keep-Alive相关的Bug
我曾经在IIS6和IIS7.5的Classic模式下实现了一个自定义ISAPI Filter,目的是实现我自己的Basic认证逻辑。这中间我遇到了ISAPI Filter中与Keep-Alive相关的一个bug。我的自定义ISAPI Filter在重载的CHttpFilter::OnPreprocHeaders方法中验证请求头中的用户信息 (Authorization: Basic ). 如果
2013-06-28 23:30:46 951
原创 A Bug in Custom ISAPI Filter Related to Keep-Alive
I once implemented my own Basic authentication logic in a custom ISAPI filter on IIS 6 and IIS 7.5 (classic mode). I met a bug related to keep-alive.The custom filter checked the credentials (Author
2013-06-28 22:46:47 755
原创 编写COM-Visible的Assembly的最佳实践(C#)
总结了一下最近工作中编写COM-visible的Assembly的最佳实践。1. 在AssemblyInfo.cs中, 我设置了两个Attribute:[assembly: ComVisible(false)][assembly: Guid("64729ced-7a8d-4c90-af7f-a41725cfe216")] 第一个Attribute表明我不希望Assembly中所有
2013-06-28 22:03:07 5190
原创 Best Practice in Writing a COM-Visible Assembly (C#)
I summarized some best practice rules in writing a COM-visible assembly according to my recent work.1. In AssemblyInfo.cs, I wrote two attributes:[assembly: ComVisible(false)][assembly: Guid("6
2013-06-27 00:25:00 1653
The Definitive Guide to Windows Installer
2013-06-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人