Simple question: I nee开发者_Go百科d to increase the timeout for an ashx.
You could just increae the server timeout:
public void ProcessRequest(HttpContext context)
{
context.Server.ScriptTimeout = 3600;
context.Response.ContentType = "text/plain";
context.Response.Write("Hello World");
}
精彩评论