问题
I a general question. When i want to develop some new web project (not simple page-something bigger and quite complex) what technology should i choose- MVC or Web Forms?
I've tried to find it myself but there are many different opinions about that topic. Is there any general rule or methodology which can help me decide?
回答1:
No, there is no general rule. It's only a matter of preference. Someone likes MVC, someone likes webforms. Microsoft will support both equally.
Don't pick MVC vs Webforms based on the experience of someone else who says "THIS IS BETTER", because he's just plain wrong, but based on your instinct or how to describe it the best. You need to feel comfortable with the technology you're using, not struggle with it.
回答2:
Basically both have their pons and cons for an overview of how you can decide see this blog
http://blogs.microsoft.co.il/blogs/gilf/archive/2009/01/16/deciding-when-to-use-asp-net-mvc-framework.aspx
See these questions as well that already ask what you are looking for
When to use ASP.NET MVC vs. ASP.NET Web Forms?
Traditional ASP .NET Web Forms vs MVC
来源:https://stackoverflow.com/questions/10380986/mvc-or-web-forms