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

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers Blog

博客园 - 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折优惠