c# - How do you send a request directly to .DLL (not .ASPX, .ASHX, etc.)? -
i want know how can send direct request .dll parameters. don't want use .aspx , .ashx. hope .dll request used more secure site.
for example: irctc (india railway site):
https://www.irctc.co.in/cgi-bin/bv60.dll/irctc/services/login.do
please let me know how can send or execute page .dll in asp.net.
you can implementing ihttphandler
interface , pretty build own routing there (check url , figure out should , write result using context.response
). register in web.config iis6 or lower:
<httphandlers> <add path="*" verb="*" type="your.type, your.assembly"/> </httphandlers>
or iis7 or higher:
<system.webserver> <handlers> <add name="all" path="*" verb="*" type="your.type, your.assembly"/> </handlers> </system.webserver>
however, should not more secure using framework. concern?
Comments
Post a Comment