摘要:
1.Content 2.View 3.Json 4.重定向 5.return OK //.net Core中好像有这个OK 6.File 文件流. //返回的文件流没有在页面渲染,直接下载了.和Response有点类似.那么为何Json就可以显示在页面上?Content应该也可以.为何就File不行 阅读全文
摘要:
阅读全文
摘要:
MVC中RouteConfig是用来配置路由的,name其他几个是干什么的? Layout中的Bundle可能就和这个BundleConfig有关系 阅读全文
摘要:
public static object CreateReflect( Type type) { return Activator.CreateInstance(type); } 阅读全文
摘要:
var a = new { name = "Jack", Age = 26 } 阅读全文
摘要:
参考地址:https://blog.csdn.net/m15527097561/article/details/76640796 阅读全文