Please help me out how do I redirect to a .cshtml page which is created inside a shared folder.
I want something like this
href="@Url.Content("Shared/UnderConstruction")"
Here it’s not getting redirecting to the UnderConstruction page, which I created.
In ASP.NET MVC3 you can’t render views directly by calling the files directly. They can only be served via controllers.
In order to call the view in your shared folder you woul have to do something similar to the following: