System.Web.Mvc Vs Microsoft.Web.Mvc

2020-03-27 02:30发布

问题:

I just started ASP.NET MVC, and the first thing that got me confused is on MSDN there is a System.Web.Mvc namespace, and then there is a Microsoft.Web.Mvc namespace. I'd like to know -

  1. Why are there two different root namespaces for ASP.NET MVC framework library classes?
  2. Based on what the classes go under one root namespace or the other?

Thanks in Advance.

NOTE: I did google search, and found nothing about it.

回答1:

The Microsoft.Web.Mvc namespace if for the MVC Futures project, which is for features that the MVC team may or may not include in future versions of ASP.NET MVC. There is very little documentation associated with it, but you can view the source code here.

As an example, it includes the Microsoft.Web.Mvc.Controls namespace, which is discussed in this blog, but it never got off the ground.