开发者

MVC 3 - controller being called more than once

I am finding that my controllers are being called more than once. When I am in debug mode, the paths execute, the UI is rendered, but then the controller break points get hit up to 3 times.

Debugging steps so far:

  • I have checked that all my routes (routedebugger.dll)
  • I have a clean view to controller mapping. There are no namespace conflictions.

Is this something to do with the debugger, or is t开发者_C百科his an issue I need to worry about when the application is deployed?


This symptom is only occurring on my local machine. I used fiddler2 to watch the traffic and there was a favicon call. I fixed that, but don't change anything.

We moved the code based to the servers (running iis) and this does not occur. I don't really have an answer, but do know that it is not affecting the production or QA servers.

I'm calling this one 'closed'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜