Click here to Skip to main content
15,918,168 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi.
What is the purpose of Handler (.ashx files) and what is the use ?

can i get any sample ?

thanks
Posted
Comments
Tech Code Freak 16-Aug-11 23:31pm    
My 5!

You would typically use ASHX to return non-HTML content, dynamically generated content and the like.

Here's an image handler example here on CP: A Simple Image Handler[^]

Here's a ton of samples from Google: Handlers[^]

You could use it for redirection, but with routing now free in ASP.NET there's no point in reinventing the wheel.

Cheers.
 
Share this answer
 
Comments
Tech Code Freak 16-Aug-11 23:30pm    
My 5!
Read this[^].
 
Share this answer
 

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