Mvc中域的添加和不同域之间的跳转
一、在新添加的域中中的 AreaRegistration中作如下设置:
二、在原来的Global.asax中设置:
三、不同域之间的跳转
@Url.Action("Index", "Imageselect", new { Area = "" })为空表示跳转到原来的域。
Don't go too far and forget why starting!
一、在新添加的域中中的 AreaRegistration中作如下设置:
二、在原来的Global.asax中设置:
三、不同域之间的跳转
@Url.Action("Index", "Imageselect", new { Area = "" })为空表示跳转到原来的域。