随笔分类 -  ASP.net

asp.net 各种文件解析探索
摘要:aspx ascx ashx 等等准备写一个专题 还望各位批评指正,共同学习 阅读全文

posted @ 2014-01-08 12:00 wensky 阅读(128) 评论(0) 推荐(0)

过滤敏感信息
摘要:asp.net 中有一个<system.webServer> <modules> <add type="***" name="MyHttpModule" /> </modules>可以对 信息 进行过滤相比system.web下的 httpmodules httphandles 更强悍例: public class SensitiveInfoFilter : IHttpModule {public void Init(HttpApplication context) { context.BeginReque 阅读全文

posted @ 2013-02-18 10:10 wensky 阅读(188) 评论(0) 推荐(0)

Response.filter 设置时要注意的一些情况
摘要:当我们用 filter 过滤一些将要发送到浏览器字符信息的时候需要注意两个状况1.基于ajax请求和标准请求的处理方式不同 所以对于ajax请求 filter 一般不做处理2.当客户端向服务器请求文件的时候 如果请求方式不是ajax方式 则过滤器很可能会破坏一些文件的结构 比如doc,xls等文件的内部结构造成文件信息异常 阅读全文

posted @ 2013-02-06 17:11 wensky 阅读(273) 评论(0) 推荐(0)

Web.config File - ASP.NET 转载自:http://www.codeproject.com/Articles/301726/Web-config-File-ASP-NET
摘要:Web.config File - ASP.NETBy S V Saichandra, 18 Dec 2011 4.77 (32 votes)Download demo website configuration - 1.34 MBIntroductionThe time you start developing your web application until you finish the application, you will more often use the Web.config file not only for securing your application but 阅读全文

posted @ 2013-01-21 13:39 wensky 阅读(440) 评论(0) 推荐(0)

Global.asax 的妙用 IIS
摘要:Global.asax 是寄宿IIS上项目的一个很有力的配置文件可以用于 Application Initialization 等The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level events raised by ASP.NET or by HttpModules. The Global.asax file resides in the root directory 阅读全文

posted @ 2013-01-21 11:34 wensky 阅读(463) 评论(0) 推荐(0)

Capturing and Transforming ASP.NET Output with Response.Filter 转载自http://www.west-wind.com/weblog/posts/2009/Nov/13/Capturing-and-Transforming-ASPNET-
摘要:During one of my Handlers and Modules session at DevConnections this week one of the attendees asked a question that I didn’t have an immediate answer for. Basically he wanted to capture response output completely and then apply some filtering to the output – effectively injecting some additional co 阅读全文

posted @ 2012-12-31 16:16 wensky 阅读(507) 评论(0) 推荐(0)

导航