using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EntityFrameworkWeb
{
/// <summary>
/// Summary description for SampleHandler
/// </summary>
public class SampleHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
int left = Int32.Parse(context.Request["left"]);
int right = Int32.Parse(context.Request["right"]);
int sum = left + right;
context.Response.Write("Toplam "+sum);
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
Dosyayı İndir