原因:经过研究源码发现,目前Asp.Net Core MVC不支持复杂的数据类型

源码地址: Microsoft.AspNetCore.Mvc.ViewFeatures

        TempDataSerializer.cs

            CanSerializeType

'Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataSerializer' cannot serialize an object of type

 

相关文章:

  • 2021-07-13
  • 2021-08-03
  • 2021-09-24
  • 2021-08-25
  • 2021-11-19
  • 2021-06-28
  • 2021-08-19
  • 2021-06-17
猜你喜欢
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案