摘要: ASP.NET Core creates an Activity that represents the request by default. This is what tells HttpClient to send an outgoing request id header. You can 阅读全文
posted @ 2023-12-24 21:44 ChasingDreams 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 众所周知,当我们使用IIS的时候,在使用负载均衡的情况下,想停掉一个站点,通常会点击Sites(网站)中的Stop(停止)来停止一个站点。但是这样做,会带来一个问题,当点击Stop(停止)时,正在响应中的请求会立刻被切断,使客户端无法收到响应,后续也无法连接该站点,在某些业务场景中,比如涉及金额交易 阅读全文
posted @ 2023-12-02 17:40 ChasingDreams 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Set-PSReadlineKeyHandler -Key Tab -Function Complete 阅读全文
posted @ 2023-11-12 22:28 ChasingDreams 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 打开命令行 cd %USERPROFILE%\AppData\Roaming\Microsoft\InputMethod\Chs del /s /q *.tmp 轻松秒杀! 阅读全文
posted @ 2023-11-07 11:07 ChasingDreams 阅读(45) 评论(0) 推荐(0) 编辑
摘要: ``` systemctl stop docker iptables-save > /etc/sysconfig/iptables systemctl start docker systemctl enable docker ``` 阅读全文
posted @ 2023-08-26 12:05 ChasingDreams 阅读(17) 评论(0) 推荐(0) 编辑
摘要: ``` network: version: 2 renderer: networkd ethernets: ## 可以ip a查看以太网连接名称 eth0: dhcp4: no dhcp6: no ## addresses添加网络掩码,如192.168.56.3/24 addresses: - 19 阅读全文
posted @ 2023-08-16 21:04 ChasingDreams 阅读(24) 评论(0) 推荐(0) 编辑
摘要: ``` groupadd -g 1000 siyuan # 禁止登录 不创建家目录 useradd -M -u 1000 -g 1000 -s /sbin/nologin siyuan chown -R siyuan:siyuan /xxxx/siyuan/ usermod -a -G siyuan 阅读全文
posted @ 2023-08-16 15:09 ChasingDreams 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ``` Exe net7.0 enable enable true Size true Link true true true false true true false false ``` 阅读全文
posted @ 2023-08-10 15:51 ChasingDreams 阅读(45) 评论(0) 推荐(0) 编辑
摘要: RESPONSE_X-POWERED-BY RESPONSE_SERVER 阅读全文
posted @ 2022-12-20 16:41 ChasingDreams 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 下载bootstrapper https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022#step-1 download-the 阅读全文
posted @ 2022-12-11 10:37 ChasingDreams 阅读(2893) 评论(0) 推荐(0) 编辑