易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net性能调校

由于asp.net 处理进程在machine.config配置文件中的配置为<processModel autoConfig="true" />,这意味着你的asp.net 应用程序使用的性能参数依赖于machine.config的配置。
下面几个参数是自动配置的:
maxWorkerThreads 和 maxIoThreads
minFreeThreads 和 minLocalRequestFreeThreads
minWorkerThreads
maxconnection
executionTimeout
这几个参数会和你的应用程序发生这样的症状相关“争用、 性能下降和死锁进行 Web 服务请求从 ASP.NET 应用程序时”:
进行从 ASP.NET 应用程序, 调用 XMLWeb 服务时可能会遇到争用、 性能下降和死锁。 客户可能报告请求停止响应 (或 " 挂起 ") 或需要很长时间来执行。 如果怀疑死, 可能回收辅助进程。 应用程序事件日志中可能会收到以下消息。 • 如果您使用 MicrosoftInternet 信息服务 (IIS) 5.0, 会应用程序事件日志中您收到以下消息:
   Event Type:     Error
   Event Source:   ASP.NET 1.0.3705.0
   Event Category: None
   Event ID:       1003
   Date:           5/4/2003
   Time:           6:18:23 PM
   User:           N/A
   Computer:       <ComputerName>
   Description:
      aspnet_wp.exe  (PID: <xxx>) was recycled because it was suspected to be in a deadlocked state.
      It did not send any responses for pending requests in the last 180 seconds.
• 如果您使用 IIS 6.0, 会应用程序事件日志中您收到以下消息:
   Event Type:     Warning
   Event Source:   W3SVC-WP
   Event Category: None
   Event ID:       2262
   Date:           5/4/2003
   Time:    &nbs


相关文档:

asp.net 文章内容分页显示的代码

aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticlePage.aspx.cs" Inherits="ArticlePage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" > ......

ASP.NET Web Form的处理步骤

    在服务器端,处理一个ASP.NET Web Form需要几个步骤,在每个步骤都会引发各种事件,这就允许你把网页插入到任一步骤的处理流中并且响应任何你所期望的处理。
    以下是ASP.NET网页处理流中的几个主要步骤
    1.网页框架初始化
    2.用户代码初始化 ......

一行代码解决ASP.net下页面间传值Request出现乱码问题

你只要在Web,config文件的 system.web 配置节下添加以下配置:
<globalization requestEncoding="GB2312" responseEncoding="GB2312"/>
当然,你也可以将“GB2312”改为系统默认的“UTF-8”,只要加上这一配置,页面间传值的乱码问题就解决了。 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号