MVC controller gives me a 403 forbidden error with the default route when it's called DocumentationController

后端 未结 2 1081
逝去的感伤
逝去的感伤 2020-11-30 13:51

Is DocumentationController reserved for system usage or something?

I created a blank MVC app, created a DocumentationController with corresponding view.

2条回答
  •  离开以前
    2020-11-30 14:37

    There is no problem using this word as controller name. (At least in ASP.NET MVC3)

    The only reserve words are these: http://bitquabit.com/post/zombie-operating-systems-and-aspnet-mvc/

提交回复
热议问题