I am replacing an existing web application, that all it’s requests go through a url:
http://www.something.com/scripts/xxx.dll?args
I created my own aspx page that handles these requests and it is called:
http://www.something.com/scripts/xxx.aspx?args
My problem is that there are many existing links, from other website that refer to the xxx.dll?args url.
Can I create my own dll in .net that will receive the xxx.dll?args requests and process them?
This isn’t a simple redirect, because I also need the args
After some more investigation I did the following.
Change the web.config, to make sure all requests go through my code by adding the following code:
Added a global.asax file to the web project, and within it wrote the following code: