I want to know how can we send direct request to .DLL with some parameters. I really don’t want to use .ASPX and .ASHX. I hope this .DLL request is used for 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 we can send or execute page from .DLL in ASP.NET.
You can do this by implementing the
IHttpHandlerinterface and pretty much build your own routing from there (check the url and figure out what you should do and write the result usingcontext.Response). Then register that in the web.config like this for IIS6 or lower:Or like this for IIS7 or higher:
However, this should not be any more secure then using the framework. What is your concern?