Well, if the port indicates that you are using the embedded web server (the one that comes with VS), this probably works because it always routes requests through the ASP.NET infrastructure.
Requests ending in / abc will not automatically be routed through the ASP.NET infrastructure because IIS may not “know” what you want. You need to check your IIS settings to make sure such requests are redirected to aspnet_isapi.dll
EDIT: For this you need to add a wildcard mapping
- In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the website or virtual directory that you want, and select Properties.
- Select the appropriate tab: Home Directory, Virtual Directory, or Directory.
- In the Application Settings area, click Configuration, and then click the Mappings tab.
- To install a wildcard application map, follow these steps:
- On the Mapping tab, click Add or Paste.
- Enter the path to the DLL in the Executable file text box or click Browse to go to it (for example, the ASP.NET 2.0 DLL is located in the c: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi. Dll directory on my machine)
- For extension use ". *" Without quotes, of course
- Choose which verbs you want to search for (GET, HEAD, POST, DEBUG are common for ASP.NET, you decide)
- Make sure "Script engine" or "Application engine" is selected.
- Uncheck "Check if file exists"
- Click OK.
I can be on this, but if I find, I hope someone will correct me. :)
source share