ashx files

T

ThatsIT.net.au

is it possible to consume ashx files from classic asp.

I have not used ashx pages much only for compiling images and displaying on
pages including classic asp pages by using the IMG tag to point to ashx
files.

how else can they be consumed by both asp.net and classic asp pages.

thanks
 
G

George

I am not sure i undestand what you mean by 'consume' related to any web
page (aspx, ashx, asp, html)
Browser 'consume' pages. Not asp or asp.net

George.
 
M

Michel Posseth [MCP]

ashx files are web handlers..
A web handler file works just like an aspx file except you are one step back
away from the browser level

ASHX files have the same limitations as ASPX and ASCX files in terms of
their place in an ASP.NET project.

As it is possible to run classic ASP and ASP.Net mixed on IIS there is your
answer


regards

Michel
 
T

ThatsIT.net.au

what I am asking is how to call the ashx file from a asp or aspx page

I know you an call it from a image element, like <img href="myHandler.ashx"
/>

But how would I call it if it were to return data not an image.

what I am trying to do is call dotNet code from a asp file. I can do this
using soap to call dotNet services but I find this problematic on the asp
side.

I am working on a web site where they still have legacy asp pages, and
rather than build things twice I would like to investigate the ways of
access dotNet code from classic asp

thanks
 
M

Michel Posseth [MCP]

Or just interact with it through http

One thing i did a lot in the past was writing generic modules with output in
asp.net and embed them in another page this could / can be anny sort of http
capable page including plain html pages. just embed them with an iframe and
you are done .


michel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top