ASP.NET
文章平均质量分 84
ayongwust_csts
这个作者很懒,什么都没留下…
展开
-
C#强化系列文章八:HttpModule,HttpHandler,HttpHandlerFactory简单使用 come from: http://www.cnblogs.com/firstyi/archive/2008/05/07/1187274.ht
这三个对象我们在开发Asp.net程序时经常会用到,似乎很熟悉,但有时候又不太确定。本文通过一个简单的例子来直观的比较一下这三个对象的使用。HttpModule:Http模块,可以在页面处理前后、应用程序初始化、出错等时候加入自己的事件处理程序HttpHandler:Http处理程序,处理页面请求HttpHandlerFactory:用来创建Http处理程序,创建的同时可以附加自己的事件处理程序转载 2008-05-11 18:00:00 · 388 阅读 · 0 评论 -
Global.asax and the HttpApplication class
Global.asax and the HttpApplication class Posted by scott on 2004年1月24日 The Global class derived from HttpApplication has many uses, including managing application and request state. The转载 2009-03-12 12:00:00 · 635 阅读 · 0 评论 -
以dll形式部署ASP.NET需要注意的地方
我有一个userControl ,动态加载后,编译没错,部署后,access 页面是,总是报找不到class错. For example, the name of the user control is AA.ascx So its behind code class file name is AA.ascx.cs. The exception result w原创 2009-03-06 17:42:00 · 459 阅读 · 0 评论 -
如何让asp.net的页面(类)定时运行 http://blog.csdn.net/chenguang79/archive/2008/11/28/3400652.aspx
我们有时候写的程序没有前台的页面,只是一个对数据库操作的过程,因为它的操作可能会大量使用数据库。因为它占用的资源比较大,我们一般都会让他在半夜的时候显示。这时候我们可以采用数据库的作业功能。可是有一个问题是,如果我们的这个操作还要从别的网站页面中取得相应的信息后,再进行处理。这怎么办呢。下面就是我采用的方法。我要完成的功能是这样的,根据我数据库中的IP,到www.ip138.com上取得相应的地址转载 2008-11-29 00:20:00 · 376 阅读 · 0 评论 -
asp.net 中的认证
IIS authentication includes two steps.The first step is by IIS itself. Thats to say, when a user access the web site, window will createthe token for this user.IIS 5.0(Windows 2000) will use ASPNE原创 2009-01-12 18:16:00 · 379 阅读 · 0 评论 -
Ajax Update Panel -- Conditional Update Mode
The Text of the lable still updated even though we had commented the update method of the "UpdatePanel".Because we made the mistake listed as the third one. Refreshing UpdatePanel Content (Co原创 2009-01-02 19:11:00 · 565 阅读 · 0 评论 -
You receive a "Service Unavailable" error message when you browse a Windows SharePoint Services 2.0 Web site
http://support.microsoft.com/kb/823552 When you browse a Windows SharePoint Services 2.0 Web site, you may receive the following error message: Service Unavailable CAUSE This issue转载 2008-12-30 20:20:00 · 497 阅读 · 0 评论 -
ASP.NET Case Study: Lost session variables and appdomain recycles
Last night I got a question from one of the readers of the blog that went like this: “We are facing a problem that i cannot understand, every now and than i see that my app domain is recycle转载 2008-12-30 20:26:00 · 607 阅读 · 0 评论 -
如何解决asp.net : Forms authentication failed for the request. Reason: The ticket supplied has expired.
------------------------ PROBLEM ---------------------------------I see the warning msg that "Forms authentication failed for the request. Reason: The ticket supplied has expired..........." in原创 2008-12-30 20:06:00 · 1736 阅读 · 0 评论 -
IIS and ASP.NET: The Application Pool
In this part, we will take a look at one of the new features in IIS 6.0, named Application Pool, and demonstrate the use of application pools in isolating ASP.NET Web applications, thereby increasi转载 2008-12-30 20:23:00 · 1091 阅读 · 0 评论 -
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Posted by scott on 2006年4月11日 MasterPages are a great addition to the ASP.NET 2.0 feature set, but are not wit翻译 2008-07-02 21:47:00 · 465 阅读 · 0 评论 -
Script Callbacks in ASP.NET
If youre involved in Web development you may have faced a problem that you couldnt find a good solution for—making client-to-server calls outside the current page. For example, you might want to val原创 2008-06-23 13:01:00 · 521 阅读 · 0 评论 -
POSTBACK & CALLBACK.
Implementing Client Callbacks Programmatically Without Postbacks in ASP.NET Web Pages<!--Content type: Devdiv1. Transform: orcas2mtps.xslt.--> In the default model for ASP.NET Web page原创 2008-06-23 11:49:00 · 2891 阅读 · 1 评论 -
Encrypting Cookie Data with ASP.NET
Encrypting Cookie Data with ASP.NETBy Wayne PlourdeRating: 4.4 out of 5Rate this article document.write("print this article")print this article email this article to a colle转载 2008-08-24 22:46:00 · 546 阅读 · 0 评论 -
Asp.Net页面执行流程分析 come from: http://www.cnblogs.com/firstyi/archive/2008/05/08/1188545.html
在我的上一篇文章中说到了HttpModule、HttpHandle的简单使用,我们可以利用它们在页面请求的过程中加入自己的事件处理程序。那么在一个aspx页面请求时后台到底做了什么?当然asp.net做了很多事情,过程也比较复杂,本文主要分析一下大体的流程。总体流程如下:请求一个页面时首先被WWW服务截获(inetinfo.exe进程),这个进程首先判断页面的后缀,然后根据IIS中的配置来决定调用原创 2008-05-11 18:40:00 · 369 阅读 · 0 评论 -
[Joe 原创] 对 Web Control 开发系列 的杰作: http://www.cnblogs.com/joeliu/archive/2008/11/13/1240206.html
Page是WebForm编程基本元素,它从TemplateControl派生,而TemplateControl又从Control派生,所以Page实际就是一个Control。同时Page也实现了IHttpHandler接口,所以它可以接受Http请求,进行处理。 可以认为一个Page是由很多的Control按照树形结构组织的,而树的根就是Page(一个实现了IHttphandler的C转载 2009-03-12 18:01:00 · 699 阅读 · 0 评论