Comments (8)
用法有问题?我做了个简单的池的。连接不是不释放而是释放慢,特地用池来控制client实例数量。改为HttpClientFactory暂时不考虑,用那个需要使用Microsoft DI,改造成本太大
from alipay.aopsdk.core.
可以使用旧版本的 请求,不一定要用 httpclient来做
from alipay.aopsdk.core.
旧版本,你说 HttpWebRequest?
from alipay.aopsdk.core.
@stulzq 是的 ,大家知道在.NET CORE 下 httpclient有官方BUG ,这个问题 我估计 MS 可能在.NET5上进行修复。因为.NET CORE 3X .NET5才是亲儿子。 当然我猜想的
from alipay.aopsdk.core.
不要以为HttpClient脱离了HttpClientFactory就是不能用的,自己控制好就行
from alipay.aopsdk.core.
@stulzq 是的 ,大家知道在.NET CORE 下 httpclient有官方BUG ,这个问题 我估计 MS 可能在.NET5上进行修复。因为.NET CORE 3X .NET5才是亲儿子。 当然我猜想的
你在搞笑呢,HttpWebRequest在Core下才是完全不能用的,因为它必须不断的New,而在Core下它的底层调用了HttpClient,和Framework正好相反,这无疑会必定出现连接数爆掉的问题
from alipay.aopsdk.core.
@stulzq 那也太糟糕了
from alipay.aopsdk.core.
还是上面那句话,我对HttpClient做了处理的,“不要以为HttpClient脱离了HttpClientFactory就是不能用的,自己控制好就行”
from alipay.aopsdk.core.
Related Issues (20)
- 配置参数读数据库的问题
- pc网页支付成功后跳转地址为localhost HOT 4
- nuget 中Newtonsoft.json不需要 可以去掉吗 因为和项目中重复 版本不一致会报错 HOT 1
- 当面付创建二维码缺乏 qr_code_timeout_express 参数 HOT 1
- can support alipayService.ExecuteAsync?
- linux下生成二维码错误 HOT 3
- web api 并发中调用aliapy的接口,20线程压测 导致 IIS崩溃,原因是底层使用的HttpWebRequest HOT 20
- Question: Does this SDK supports alipay on mobile browsers? HOT 2
- 手机网站支付(WapPay)以Get方式获取地址出现Json解析异常
- 是否支持转账到支付宝账户 HOT 1
- 在centos 服务器下 httpclient 会有ssl问题 HOT 1
- Alipay.AopSdk.Core.Util.WebUtils throw an exception HOT 3
- 验签不通过 HOT 9
- 如何根据需要动态切换支付宝商户号而不是在配置中固定死一个商户号 HOT 1
- 扫码支付,添加异步通知地址 HOT 1
- 小程序的没跟官方的一样吗? HOT 1
- 缺少小程序部分api,能否跟进添加一下 HOT 10
- 更新到2.5.1之后,当面付不显示二维码了 HOT 1
- 请问一下,怎么能不用控制器,new 一个AlipayF2FService HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alipay.aopsdk.core.