Hello Every One. My query
I will hide my url extesion in asp.net with web config.
eg http://localhost:64431/Routing.aspx this my url - original url but i have hide this extension.
But i want my url show now this type http://localhost:64431/Routing/?gjdddddddddddddds/hjgdn with query string.
Any help me

Bidyasagar MishraRank #766 · 3K reputationPosted Jul 24, 2019, 8:08 PM EDT
configuration> system.webserver> rewrite> rules> rule name="RemoveASPX" enabled="true" stopProcessing="true"> match url="(.*)\.aspx" /> action type="Redirect" url="{R:1}" /> rule> rule name="AddASPX" enabled="true"> match url=".*" negate="false" /> conditions> add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> add input="{URL}" pattern="(.*)\.(.*)" negate="true" /> conditions> action type="Rewrite" url="{R:0}.aspx" /> rule> rules> rewrite> system.webserver> configuration>