摘要: 这节我们让ASP.NET MVC真正的跑起来一、新建Controller首先我们自己新建一个新的Controller在Controllers上点右键,添加,Controller选项之后出现一个对话框:这里我们将之起名为EiceController默认生成的代码如下: //记不记得前面说过的,所有Controller都要继承于Controller类 public class EiceController : Controller { public ActionResult Index() { return View(); ... 阅读全文
posted @ 2012-03-31 10:39 Dana Zhang 阅读(451) 评论(0) 推荐(0) 编辑