Possible to handle web requests without an ASPX page? i.e. have DLL handle request.

  • Thread starter Thread starter jdlwright
  • Start date Start date
J

jdlwright

Hi, call me crazy (I'm thinking outside the box, breaking the mould,
going beyond the envelope and so on and so on).

What I would like to do is to be able to handle requests to the
web-application without the need for an aspx file. (I'm not for a
second suggesting not to use ASPXs at all, but in this instance -
writing a control - I would like to be able to handle certain requests
without getting my users to place an ASPX on their server in addition
to the DLL).

If you're familiar with Java you'll know you can do this with servlets
(the class that handles the request is in your Jar).

I.e. my control has some external files (eg. a html file) is there a
way to access that without requiring the file to be placed on the
server. Could I make a request like

http://localhost/myapp/myDLL.dll?someparam=123

and handle it in my DLL.

Sorry, I know it sounds ridiculous, but it'd be cool if it's possible.

Thanks for any suggestions,
Jim
 
Thanks didn't know about those... if only there was a way to register a
httphandler programmatically, i.e. without changing the web.config!?
 

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

Back
Top