I have many clients I want to give them scripts so I want to Create JS file based on their Cusotmer ID. So I can return and it directly execute on customer side. Client can be a
ContentType
should be application/javascript
public void ProcessRequest(HttpContext context)
{
string CustomerId = context.Request["CustomerId"].ToString();
string jscontent = JSFileWriter.GetJS(CustomerId); // This function will return my custom js string
context.Response.ContentType = "application/javascript";
context.Response.Write(jscontent);
}