I would like to use the ASP.Net URL to achieve the following:
My application is physically hosted in IIS at the following endpoint: http://www.example.com/someIISApplication/Default.aspx
I want the user to make a request with the following URL and click on the above endpoint with the querystring parameter as follows:
Requested from browser: http://www.example.com/ABC/someIISApplication/Default.aspx
Here's how it actually gets into ASP.Net after processing the route: http://www.example.com/someIISApplication/Default.aspx?MyParam=ABC
You can use the URL Rewrite Module for IIS .
Create a redirect rule at the site level (www.example.com)
Output: ^ ([_ 0-9a-z -] +) / someIISApplication / Default.aspx
Redirect URL: someIISApplication / Default.aspx? MyParam = {R: 1}
For more information, see Creating rewriting rules for a reunion module.
Source: https://habr.com/ru/post/1236344/More articles:"your account is limited or blocked. To resolve this issue, go to www.paypal.com." this error is shown when trying to make high-value payments - androidFill calendar with unix time in php - unixWhat are the layout and size of the managed class header in unmanaged memory? - reflectionangularjs compile ng controller and interpolation - javascriptCreating a weekly calendar in php - htmlExclude Google AdMob hidden addiction from Android application - androidDisplaying a complete hierarchy on an Agile Board - scrumHow to get raw memory pointer to a managed class? - reflectionPassing a variable from assembler to C - cJava and python do not get the same sha-1 value - javaAll Articles