1] In case if Default.aspx need to be a start up page for MVC project then
Add a new WebForm as a Default.aspx in Root directory ,
set it as Start up page
and on Page Load redirect it to your default URL. -
public partial class _default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Redirect("~/Home");
}
}
No comments:
Post a Comment