473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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

Nov 19 '05 #1
2 1526
look into httphandlers and .ashx files

<jd*******@shaw.ca> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Nov 19 '05 #2
Thanks didn't know about those... if only there was a way to register a
httphandler programmatically, i.e. without changing the web.config!?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Theo James | last post by:
I am a newbie perl programmer and I have an idea for a perl program, but I want to know if it is possible before I attempt to write it. Here is what I need: I have a client, talking to my server...
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
2
by: sri | last post by:
Hi all, I am trying to use the xml control in a asp.net page. What i want to be able to do is to store the data in xml format between two pages and finally send this xml data to sql server...
2
by: Nick Gilbert | last post by:
Hi I have a number of pages where it is valid for the user to enter HTML. On these pages, I have turned off RequestValidation ("ValidateRequest = false" in the page directive) so that the...
6
by: Tom | last post by:
Hi, I have activated NTLM authentication on IIS on Windows 2003, and the log files show that for each request, three or four hits are generated. Typically, the first and second hit get a 401...
8
by: Daniel | last post by:
Hi, Does anyone know if it is possible to put an aspx page inside of another? OR run an aspx page and capture the output as a string and then write this out to a page.... So for example say...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
14
by: DavidNorep | last post by:
I do not know PHP, consider to write a CGI with this technology and have the following question. Is it possible to invoke a PHP script and let it endlessly wait for requests from a website (a...
7
by: =?Utf-8?B?Vkg=?= | last post by:
Hi, all. Need help with what seems to be either connection, or threading problem in my ASP.NET 2.0 application. The gist of the problem is this: IHttpHandler in my application serves an HTML...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.