strang asp.net mvc behavior
Posted
by ooo
on Stack Overflow
See other posts from Stack Overflow
or by ooo
Published on 2010-06-06T12:13:14Z
Indexed on
2010/06/06
12:22 UTC
Read the original article
Hit count: 468
asp.net-mvc
|actionresult
i have a controlled called AppController.
i have 2 actions: Details and Delete
both pass in int id as the parameter to the action
WHen i go to:
mysite/App/Details/100
I can catch it in the controller details action but when i go to
mysite/App/Delete/100
The breakpoint never hits and i get this in the browser:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
any idea what might be happening?
© Stack Overflow or respective owner