![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SOA
文章平均质量分 79
不会写文章的猴子
程序员转行要饭
展开
-
WebApi
WebApi简介WebApi(Application Programming Interface)全称是:应用程序接口。这里我们提到Web API特指ASP.NET Web API。WebApi的Get请求发送“Get”请求,如果想要传递参数那么只需要在发送的地址的后面以键值对的形式加上需要传递的参数,键值对的格式就是一个“Key”一个“Value”,“Key”必须唯一的。传递两个参数前...原创 2019-11-17 11:32:40 · 876 阅读 · 0 评论 -
WebService的身份认证
有些WebService为了安全都需要进行身份验证,这里我们使用通过继承 SoapHeader 进行身份验证。继承SoapHeader的类: public class CustomSoapHeader: SoapHeader { private string username = string.Empty; private string userpwd...原创 2019-11-23 17:35:05 · 505 阅读 · 1 评论