我有以下的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 –