我有以下的ActionResult:ASP.NET MVC,电子邮件地址作为参数突破路线
公众的ActionResult确认(串)移转
当我尝试访问它:
http://localhost:8080/Signup/Confirmation?emailAddress=test%40test.com
我得到这个:
The view '[email protected]' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Signup/[email protected]
~/Views/Signup/[email protected]
为什么不是它寻找正确的观点?如果我转到“/ SignUp /”,它会正确显示索引,以及其他ActionResults正常工作。为什么地址会打破它?
不应该是http:// localhost:8080 /注册/确认/测试%40test.com –
我相信这是典型的“。”。问题。 http://stackoverflow.com/questions/5732507/asp-net-mvc-2-issue-dot-in-route –