public class SimpleHandler : IHttpHandler {
public void ProcessRequest(HttpContext context) {
context.Response.Write("Hello World!");
}
public bool IsReusable() {
return true;
}
}
VB
Public Class SimpleHandler : Inherits IHttpHandler
Public Sub ProcessRequest(context As HttpContext)
context.Response.Write("Hello World!")
End Sub
Public Function IsReusable() As Boolean
Return(True)
End Function
End Class
JScript
public class SimpleHandler implements IHttpHandler {
public function ProcessRequest(context:HttpContext) : void {
context.Response.Write("Hello World!");
}
public function IsReusable() : Boolean {
return true;
}
}