使用httpHandle来实现,对图片文件的请求做专门的处理第一步:创建一个类,继承自IHttpHandler,代码如下
C# code
using System;
using System.Web;
namespace CustomHandler{
public class JpgHandler : IHttp ...……
如果我们用IIS宿主ASP.net,单步调试时,会有可能下面的异常报出来: --------------------------- Microsoft Visual Studio --------------------------- The web server process that was being debugged has been ...……