标签:rect html div person home span 跳转 redirect auth
public class HomeController : Controller { public ActionResult Index() { //return View(); //return RedirectToAction("Login", "Auth", new { Area = "Account" });//跳转到别的view页面 return Redirect("Html/PersonalCenter.html");//注意:把你的html文件放在Views文件夹外的任何文件夹中,就可以直接访问了,
注意文件夹名不能和你的mvc的任何Controller同名,否则你的Mvc的Controller对应的路径就无法访问了 } }
标签:rect html div person home span 跳转 redirect auth
原文地址:http://www.cnblogs.com/lijingran/p/6905405.html