I am having an issue linking a CSHTML so that it opens up in the web-browser. I create the page and then I go to make the link Code: <li class="@SelectedUrlHelper.ActiveControllerAndAction("pressroom", "faqs")">@Html.ActionLink("PressRoom", "PressRoom", "Pages")</li> But when I link it in the page it just comes up to a 404 error page. I am not sure what I am doing wrong.
I was able to find this web page article here: http://stackoverflow.com/questions/7366925/iis-returns-404-for-asp-net-mvc3-file-cshtml Also, if you're using MVC please make sure you when you deploy your application. You also deploy all of your dependencies. Our blog post article shows you how to do that here: http://blog.discountasp.net/getting-asp-net-mvc-3-working-on-discountasp-net/
I've done everything in those articles and even when I do get the page done and everything right I am still taken to the sites 404 error page. I should have also said that the site is already completed I am just looking to add to 'new' pages to it.