I am using ImageGen for displaying images , I have added the ImageGen.ashx and added the config file of ImageGen plus added some settings on webconfig :
<configSections>
<section name="ImageGenConfiguration" type="ImageGen.ImageGenConfigurationHandler,ImageGen" />
</configSections>
<ImageGenConfiguration configSource="config\ImageGen.config" />
But when I try to compile it gives an error :
The type or namespace name ‘ImageGen’ could not be found (are you missing a using directive or an assembly reference?) C:\Ergo\ImageGen.ashx 12
The ImageGen.ashx is:
<%@ WebHandler Language="c#" Class="RequestHandler" %>
public class RequestHandler : System.Web.IHttpHandler
{
public bool IsReusable
{
get { return false; }
}
public void ProcessRequest(System.Web.HttpContext context)
{
ImageGen.ImageGenQueryStringParser parser = new ImageGen.ImageGenQueryStringParser();
parser.Process(context);
parser = null;
}
}
Any advice or suggestion will be appreciated, Cheers
Did you copy ImageGen.dll to your bin folder and referenced it in the project ?
Kris