04 2023 档案

摘要:public class MyContainer { private readonly Dictionary<Type, object> services = new Dictionary<Type, object>(); public void Register<T>(T service) { s 阅读全文
posted @ 2023-04-18 09:21 Agreoself 阅读(26) 评论(0) 推荐(0) 编辑
摘要:.NET Web API 和 Web Services 都是通过 HTTP 协议来提供服务的方式,它们的主要区别在于以下几个方面: 接口方式的不同 Web API 通常使用 RESTful API,即使用 HTTP 动词对资源进行 CRUD 操作,比如 GET、POST、PUT 和 DELETE 请 阅读全文
posted @ 2023-04-18 09:17 Agreoself 阅读(3375) 评论(0) 推荐(0) 编辑