WebMatrix的ASP.NET网页VS ASP.NET MVC 3

WebMatrix的ASP.NET网页VS ASP.NET MVC 3

问题描述:

我看着WebMatrix中2,它似乎简单,好玩。

I've looked at WebMatrix 2 and it seems simple and fun to play with.

我在C#与VS2010 premium发挥主要与ASP.NET MVC 3。

I play mainly with ASP.NET MVC 3 in C# with VS2010 Premium.

我想知道什么是使用ASP.NET网页的利弊,反对使用ASP.NET MVC 3。

I'd like to know what's the pros and cons of using ASP.NET Web Pages, against using ASP.NET MVC 3.

和我想知道什么是WebMatrix中的利弊了。

And I'd like to know what's the pros and cons of WebMatrix too.

谢谢!

网页是一个非常更轻的发展模式比MVC。也许是概念证明的东西,或者只是一个相对简单的网站 - 你会用它不需要可测试性和code分离时。

Web Pages is a much lighter-weight development model than MVC. You would use it when testability and code separation is not needed - proof of concept stuff perhaps, or just a relatively simple site.

网页使用本网站的模型,而不是Web应用程序的模型。没有precompilation。 WebMatrix中只支持模型,因此它不是MVC多大用处,但对于网页的网站,它的,它需要的Visual Studio从沉睡醒来一小部分时间打开。

Web Pages uses the Web Site model as opposed to the Web Application model. No precompilation. WebMatrix only supports that model so it's not much use for MVC, but for Web Pages sites, it opens up in a fraction of the time that it takes for Visual Studio to wake from its slumber.