惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
NISL@THU
NISL@THU
T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
Cyberwarzone
Cyberwarzone
D
Docker
The Hacker News
The Hacker News
C
CERT Recently Published Vulnerability Notes
Vercel News
Vercel News
Project Zero
Project Zero
S
Schneier on Security
aimingoo的专栏
aimingoo的专栏
I
Intezer
腾讯CDC
M
MIT News - Artificial intelligence
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Vulnerabilities – Threatpost
G
Google Developers Blog
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
Arctic Wolf
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
Recent Announcements
Recent Announcements
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
T
Threatpost
Latest news
Latest news
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
The GitHub Blog
The GitHub Blog
T
Tor Project blog
P
Proofpoint News Feed

博客园 - CHPowerljp

在 VS2022 中关闭“包提醒”(通常指 NuGet 包更新提示、推荐包提示等) Windows 11 安装或重置过程中,跳过微软邮箱登录 本地HTTPS证书免费 使用本地私有IP而不是域名作为站点,IIS部署站点 无密码远程桌面连接方法 SQLServer高并发 SQLlite数据库教程 IIS设置高并发 C# 连接Mysql读写 Linux安装php、mysql、apache服务 安装后phpmyadmin访问被拒绝的解决方案 XAMPP安装教程 Python开发环境搭建 .NET面试题大全(C#面试题)2020更新 javascript函数传递字符串参数 .NET HTTP异步请求(适用于并发请求同时大于上千上万个) .NET之设计模式总结完整版 Linux安装Docker IIS部署.NET Core方法及常见的需要注意的坑 Navicat连接mysql提示1251解决方案 js获取select下拉框选中的值 Windows下安装Mysql数据库
C#客户端WPF/Winform调用WebService服务引用,对操作 “xxx” 的回复消息正文进行反序列化时出错【解决方案】
CHPowerljp · 2024-07-15 · via 博客园 - CHPowerljp

出行这个提示是配置上出了问题,不是代码问题。VS2022添加服务引用,默认是65536字节的限制。

   此问题需要修改服务端和客户端的配置文件。

    服务端/客户端:<system.serviceModel>...</system.serviceModel>节点里添加如下配置

<bindings>
<basicHttpBinding>
<binding
maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647"
maxBufferSize="2147483647">
</binding>
</basicHttpBinding>
</bindings>

 如果已存在这个节点,添加红色部分即可!

image

https://www.aliyun.com/benefit?userCode=h3d90dml

阿里云6-8折扣优惠,部分AI模型调用1折优惠