摘要:aspx ascx ashx 等等准备写一个专题 还望各位批评指正,共同学习
阅读全文
摘要: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
阅读全文
摘要:当我们用 filter 过滤一些将要发送到浏览器字符信息的时候需要注意两个状况1.基于ajax请求和标准请求的处理方式不同 所以对于ajax请求 filter 一般不做处理2.当客户端向服务器请求文件的时候 如果请求方式不是ajax方式 则过滤器很可能会破坏一些文件的结构 比如doc,xls等文件的内部结构造成文件信息异常
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文