Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 MVC 3 的新手。当我生成一个名为 NewEmployee.cshtml 的文件时,我只能看到 HTML 控件。
MVC 是一种将网站/应用程序构建为 Web 表单的不同方式。
您应该查看 www.asp.net 上的一些教程以了解不同之处。
答案:1) 没有服务器端控件 2) 在 MVC 模型中使用 Razor(或 aspx)还有其他好处。UI 开发更简单/分离,并且在使用 jQuery 构建界面时有所帮助,无需与 webcontrols 和 microsoft ajax 对抗。
高温高压