打赏
摘要: 一、MVC和WebApi路由机制比较1、MVC使用的路由在MVC中,默认路由机制是通过解析url路径来匹配Action。比如:/User/GetList,这个url就表示匹配User控制器下的GetList方法,这是MVC路由的默认解析方式。为什么默认的解析方式是这样子的呢?因为MVC定义了一个默认 阅读全文
posted @ 2022-07-28 11:44 刘奇云 阅读(399) 评论(1) 推荐(1) 编辑
摘要: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. 意思是:请求的接口不支持Https,改为http试试 如何配置服务支持https? 阅读全文
posted @ 2022-07-28 10:04 刘奇云 阅读(703) 评论(0) 推荐(0) 编辑