Click here to Skip to main content
15,847,583 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I am working on a generic handlers, i tried to add a generic handler template to my project to create a .ashx file, but that template could not be found:

Then i created a blank file, gave its extension .ashx. Now i write

<%@ WebHandler Language="C#" Class="samplehandler"%>
to include the webhandler directive.

But it gave an error. I searched google too, but it seems that we cant explicitly download this template.


Any suggestions?

Thanks,
-Rahul
Posted
Comments
Schatak 25-Apr-14 7:16am    
I just tried to the same, and am easily able to add generic Handler into VS 2008.
Rahul VB 25-Apr-14 7:18am    
Which means you are able to find a .ashx template?
Schatak 25-Apr-14 8:17am    
yes, i added it successfully and written a sample code. its working fine.
Rahul VB 25-Apr-14 8:18am    
Ok then i need to repair the IDE(reinstall) what do you say?
Schatak 25-Apr-14 8:27am    
yes, may be there is something in installation you are missing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900