摘要: 1.Content 2.View 3.Json 4.重定向 5.return OK //.net Core中好像有这个OK 6.File 文件流. //返回的文件流没有在页面渲染,直接下载了.和Response有点类似.那么为何Json就可以显示在页面上?Content应该也可以.为何就File不行 阅读全文
posted @ 2020-08-14 13:44 留下成长的足迹 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-14 13:34 留下成长的足迹 阅读(221) 评论(0) 推荐(0) 编辑
摘要: MVC中RouteConfig是用来配置路由的,name其他几个是干什么的? Layout中的Bundle可能就和这个BundleConfig有关系 阅读全文
posted @ 2020-08-14 13:32 留下成长的足迹 阅读(214) 评论(0) 推荐(0) 编辑
摘要: public static object CreateReflect( Type type) { return Activator.CreateInstance(type); } 阅读全文
posted @ 2020-08-14 12:00 留下成长的足迹 阅读(102) 评论(0) 推荐(0) 编辑
摘要: var a = new { name = "Jack", Age = 26 } 阅读全文
posted @ 2020-08-14 11:57 留下成长的足迹 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://blog.csdn.net/m15527097561/article/details/76640796 阅读全文
posted @ 2020-08-14 11:08 留下成长的足迹 阅读(1605) 评论(0) 推荐(0) 编辑