a)目前我在 asp.mvc beta 上实时部署了一个应用程序......但几天前它拒绝使用以下错误:
找不到方法:'System.String System.Web.Mvc.Html.LinkExtensions.RouteLink(System.Web.Mvc.HtmlHelper,System.String,System.Web.Routing.RouteValueDictionary,System.Web.Routing.RouteValueDictionary)'。
版本信息:Microsoft .NET Framework 版本:2.0.50727.3053;ASP.NET 版本:2.0.50727.3053
搜索结果并没有给我相关的东西:(
b)我的下一步是将应用程序升级到 asp.net mvc 1.0 ...但这里我有一个新问题:如果在测试版中我有:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Edit(FormCollection entityform)
{
var entity = repository.GetById(1);
UpdateModel(entity, entityform);
repository.Update(entity);
return View("Index", entity);
}
那么现在 UpdateModel(map, "/ 接受 IValueProvider 或 DefaultValueProvider /");
问题:
- 这里发生了什么变化?(我想hostng环境已经改变了一些东西)
- 我应该在这里调整什么以不破坏已经实现的功能?