Where to get Microsoft.Web.Mvc.dll

2020-01-30 12:00发布

Where do you get Microsoft.Web.Mvc.dll? I see it included in a lot of ASP.NET MVC open-source projects but it's not on my system after having installed ASP.NET MVC Beta and .NET 3.5 SP1.

In the ASP.NET MVC Beta source code from codeplex.com the Microsoft.Web.Mvc.dll is produced by the MvcFutures project. Is everyone compiling this module themselves?

EDIT: now that I know what it's called I see where Scott Gu mentions it in his release notes: ASP.NET MVC Futures Assembly

标签: asp.net-mvc
8条回答
戒情不戒烟
2楼-- · 2020-01-30 12:45

For anyone who might still be looking for this many years later (to revive an old bit of source code, for example, as I was), there are now Nuget packages for the various versions of MVC Futures (which gives you access to the Microsoft.Web.Mvc namespace).

They are imaginatively named, after the version of MVC they belong with:

  • Mvc2Futures

  • Mvc3Futures

  • Mvc4Futures

...apart from the MVC 5 one, which is called

  • Microsoft.AspNet.Mvc.Futures
查看更多
▲ chillily
3楼-- · 2020-01-30 12:46

The above page has been moved to http://aspnet.codeplex.com/releases/view/24471. From there download the Data Annotations Model Binder Sample. Then compile it and build it.

查看更多
登录 后发表回答