<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>.NET on Neal's Blog</title><link>https://madneal.com/tags/.net/</link><description>Recent content in .NET on Neal's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 08 Aug 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://madneal.com/tags/.net/index.xml" rel="self" type="application/rss+xml"/><item><title>如何将网络流转化为内存流（C#）</title><link>https://madneal.com/post/%E5%A6%82%E4%BD%95%E5%B0%86%E7%BD%91%E7%BB%9C%E6%B5%81%E8%BD%AC%E5%8C%96%E4%B8%BA%E5%86%85%E5%AD%98%E6%B5%81-c%23/</link><pubDate>Tue, 28 Apr 2015 00:00:00 +0800</pubDate><guid>https://madneal.com/post/%E5%A6%82%E4%BD%95%E5%B0%86%E7%BD%91%E7%BB%9C%E6%B5%81%E8%BD%AC%E5%8C%96%E4%B8%BA%E5%86%85%E5%AD%98%E6%B5%81-c%23/</guid><description>WinForms/后端场景下把任意 Stream 完整读入 MemoryStream 的写法、易错点，以及 CopyTo / 异步 / 不支持 Seek 的流的处理方式。</description></item><item><title>WinForms DataGridView：CheckBox 列的全选与取消全选</title><link>https://madneal.com/post/datagridview%E9%87%8C%E9%9D%A2%E7%9A%84checkbox%E5%85%A8%E9%80%89%E5%92%8C%E5%8F%96%E6%B6%88%E5%85%A8%E9%80%89/</link><pubDate>Wed, 22 Apr 2015 00:00:00 +0800</pubDate><guid>https://madneal.com/post/datagridview%E9%87%8C%E9%9D%A2%E7%9A%84checkbox%E5%85%A8%E9%80%89%E5%92%8C%E5%8F%96%E6%B6%88%E5%85%A8%E9%80%89/</guid><description>遍历 DataGridView 勾选列实现全选/取消全选，并补充布尔值写入方式、表头全选、大数据量与数据绑定注意点。</description></item><item><title>WinForms 里用 HTTP POST 上传文件的正确姿势</title><link>https://madneal.com/post/winform%E4%B8%AD%E8%BF%9B%E8%A1%8Cpost%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6/</link><pubDate>Fri, 17 Apr 2015 00:00:00 +0800</pubDate><guid>https://madneal.com/post/winform%E4%B8%AD%E8%BF%9B%E8%A1%8Cpost%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6/</guid><description>从早期 HttpWebRequest 裸 POST 出发，说明流读取顺序错误、Content-Type/multipart、校验头，以及迁移到 HttpClient 的写法。</description></item></channel></rss>