【问题标题】:View Component in ASP.NET MVC 4在 ASP.NET MVC 4 中查看组件
【发布时间】:2020-09-08 12:30:58
【问题描述】:

我找不到任何在 ASP.NET MVC Framework 4.5 中实现视图组件的示例。我喜欢在 .NET Core 中使用它们,但是很难找到它们是否存在于 ASP.NET MVC Framework 4.5 中。

【问题讨论】:

    标签: .net asp.net-mvc .net-framework-version view-components


    【解决方案1】:

    .NET Framework 4.5 或更高版本的 ASP.NET MVC 中没有 ViewComponent 之类的东西。甚至在 ASP.NET MVC 5 或更高版本上。

    这些 ViewComponents 存在于 ASP.NET Core 技术上,这些技术以前称为 ASP.NET MVC 6。

    您可以在此处查看版本列表:https://en.wikipedia.org/wiki/ASP.NET_MVC

    还有相关参考:What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?

    【讨论】:

      猜你喜欢
      • 2015-03-22
      • 1970-01-01
      • 2019-09-07
      • 1970-01-01
      • 1970-01-01
      • 2012-10-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多