Jack
Jack
I recently discovered that this bug only appears when the Windows system scaling is set to 175%. Perhaps this information can give you some clues.
[JMSFramework](https://github.com/simpleway2016/JMS) >JMSFramework是一个基于.NET的微服务开源框架,它可以快速构建支持分布式事务的微服务。支持服务发现、服务注册、限流、容错和故障转移、负载均衡、双机热备、分布式锁、零代码支持分布式事务等特性。
Thank you for the detailed explanation and the simplified example. It’s very helpful to understand the performance impact of region clipping.
> I'm not able to reproduce this issue on Win 11. Please provide a repro and a video showing the bug. You must first set the Windows scaling to 175%....
> > Avalonia 12 still hasn’t fixed this old bug > > can you link the "old" bug? #19431
> HttpClient will fetch the whole response message and parse it into headers and body. > > You may want to parallelize your access: > > ```cs > var httpclient...
> You need to `.Dispose()` the returned `HttpResponseMessage` to release the request resources which you can do with a `using` statement > > ```cs > var httpclient = new HttpClient();...
> > when i use a socket to initiate the request, it only takes 1ms. > > Do you also get all the data from the server and parse them...
> @simpleway2016 what is your platform? Can you also share the response from `http://127.0.0.1:5005/main/test?name=Jack`? My platform: Windows 10 , .net 7.0 Here is my webapi code: (running in release mode)...
> > I cannot reproduce this; for me `HttpClient` is faster for the same scenario. Something weird must be going on in your environment. Do you have any firewalls, proxies...