<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Aspnetcore on TinyChen's Blog</title><link>https://tinychen.com/tags/aspnetcore/</link><description>Recent content in Aspnetcore on TinyChen's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Thu, 23 Jul 2026 04:00:00 +0800</lastBuildDate><atom:link href="https://tinychen.com/tags/aspnetcore/index.xml" rel="self" type="application/rss+xml"/><item><title>.NET配置环境变量与User Secrets</title><link>https://tinychen.com/20260303-dotnet-config-and-secrets/</link><pubDate>Tue, 03 Mar 2026 12:00:00 +0800</pubDate><guid>https://tinychen.com/20260303-dotnet-config-and-secrets/</guid><description>&lt;p&gt;本文主要记录 ASP.NET Core / 通用 Host 下配置加载与密钥存放：环境变量如何切换 &lt;code&gt;appsettings.{Environment}.json&lt;/code&gt;、本地 User Secrets 防泄露、以及 &lt;code&gt;dotnet ef&lt;/code&gt; 跟随同一套环境变量读连接串。&lt;/p&gt;</description></item></channel></rss>