Questions tagged [ashx]

ASP.NET Web Handler file extension

Just as ASPX files can be compiled on the fly (just-in-time), so can handlers. Generic handlers have an extension of ASHX. They're equivalent to custom handlers written in C Sharp or Visual Basic.NET in that they contain classes that fully implement IHttpHandler. They're convenient in the same way ASPX files are convenient. You simply surf to them and they're compiled automatically.

Reference

ASHX usage example

Creating a Synchronous HTTP Handler on MSDN

Creating an Asynchronous HTTP Handler on MSDN

HTTP Handlers and HTTP Modules Overview

Significance of bool IsReusable in http handler interface

621 questions
-1
votes
2 answers

Response.Redirect throws Error

I'm trying to implement Response.Redirect within an ASHX file. Initially I was having the issue described here, but now I'm getting Expression has been evaluated and has no value on the line with…
kickinchicken
  • 1,281
  • 4
  • 18
  • 40
-1
votes
1 answer

How to get a string value in android from ashx page?

I have a TextView in my android appliation. Now I need to get a value from an ashx page. When I open that ashx page in browser, I can see that it is showing only a single value. I need to show that value in my TextView. Please help me out...
Shoaib
  • 343
  • 2
  • 9
-1
votes
1 answer

Providing PDF specific parameters in an ASP.NET Generic Handler writing a PDF BLOB stream

EDIT: modified Title to be more specific I've created a generic handler in VS2012 using their basic template as a starting point and modified it to grab a pdf from our sqlserver. The primary code block is this: buffer = DirectCast(rsp.ScalarValue,…
fnostro
  • 4,531
  • 1
  • 15
  • 23
-1
votes
2 answers

Is Microsoft stopped support for ashx handlers?

Can i use ashx handlers or not?recently one of my friend told that Microsoft stopped supporting ashx handlers and suggested to use asmx or wcf. I have searched over web for this. i am not able to finalize whether it actually does it or not. So any…
MaheshMajeti
  • 187
  • 12
-1
votes
1 answer

Handle zip file in ashx file

I uploaded one zip file using file upload control in Asp.net and after submitting the button I need to send that file to an ashx handler.In handler I need to receive the file as it is and save that file to a location.How to achieve that
Nimmi
  • 680
  • 8
  • 18
-2
votes
2 answers

How to call Handler (.ashx) from Jquery?

I have a HTTP handler (.ashx) which generates some html code from database and I want to call it from my Jquery function and pass a value (userID). I am not sure how to call it and retrieve its data.
amir moradifard
  • 353
  • 1
  • 8
  • 26
1 2 3
41
42