随笔分类 -  Web

webApi(json)、WebService(XML)、一般处理程序
该文被密码保护。
posted @ 2024-05-31 17:17 博客YS 阅读(0) 评论(0) 推荐(0) 编辑
摘要:public class Check : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string sendStr = st 阅读全文
posted @ 2023-08-30 15:58 博客YS 阅读(138) 评论(0) 推荐(0) 编辑
摘要:<webServices> <protocols> <add name="HttpPost"/> <add name="Documentation"/> <add name="HttpSoap"/> <add name="HttpSoap12"/> <add name="HttpPostLocalh 阅读全文
posted @ 2023-01-16 18:07 博客YS 阅读(38) 评论(0) 推荐(0) 编辑
摘要:目的:发布的Web接口,当大批量并发访问时,会出现响应慢问题; 当访问者频繁大量访问时,用五台服务器部署同样的接口程序,来分压,对于访问者来说只要访问Nginx,Nginx来根据配置权重,分配到各个服务器上; 此次场景,5千万+访问量/小时;用到服务器5台(包含linux和Winserver),增加 阅读全文
posted @ 2022-11-07 15:51 博客YS 阅读(138) 评论(0) 推荐(0) 编辑
摘要:备注:(swagger/index.html)(部署参考IIS:https://www.cnblogs.com/become/p/15796204.html) 对于C# 开发人员,接口服务大部分是WCF(需要配置很多),WebService(走的XML,相比json同样的内容大很多) ,一般应用程序 阅读全文
posted @ 2022-10-24 16:08 博客YS 阅读(3962) 评论(1) 推荐(0) 编辑
摘要:/// <summary> /// 发送数据 /// </summary> /// <param name="url">地址</param> /// <param name="postData">xml</param> /// <returns></returns> public static st 阅读全文
posted @ 2022-10-05 12:55 博客YS 阅读(33) 评论(0) 推荐(0) 编辑
摘要:参考网址:https://www.cnblogs.com/lotuslove/archive/2012/10/18/2729058.html 阅读全文
posted @ 2022-10-03 22:31 博客YS 阅读(7) 评论(0) 推荐(0) 编辑
摘要:场景,电脑系是重装的,发布服务网站到自己电脑测试,开启IIS时,出现灾难性问题(同事也是重装一样的但是没有问题),网上百度搞了半天找到所有解决办法都不好使; 解决办法: 官方下载IIS安装包,下载完毕安装重启电脑就OK; 我的博客文件也有,可以下载 如果还不行 (我的清空就是) 右击-编辑绑定 删除 阅读全文
posted @ 2022-02-22 17:47 博客YS 阅读(1071) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示