摘要:
注意:该方法用于网站项目。但对于其他类型的项目有一定的参考作用。1.首先在你想被别人访问的位置新建一个ashx文件,如/System/xxx.ashx。新建xxx.ashx的代码如下:[csharp]view plaincopyusingSystem;usingSystem.Web;publicclassxxx:IHttpHandler{publicvoidProcessRequest(HttpContextcontext){context.Response.ContentType="text/plain";context.Response.Write("Hell 阅读全文
posted @ 2014-01-15 09:07
天马3798
阅读(581)
评论(0)
推荐(0)
浙公网安备 33010602011771号