Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
配置文件中MyKey允许的最大长度是多少?MyValue
MyKey
MyValue
<configuration> <appSettings> <add key="MyKey" value="MyValue" /> </appSettings> </configuration>
据了解,webconfig 文件中的键值对没有限制.....
如果您打算将对象添加到配置文件,请查看这篇文章将帮助您完成任务
如何在 web.config 中存储自定义对象?