简体   繁体   English

WinForms 中的app.config 文件是由.Net 框架缓存的吗?

[英]is app.config file in WinForms cached by .Net framework?

I was wondering if someone can confirm that App.Config file is cached by CLR in the AppDomain and not read everytime you try to read the value?我想知道是否有人可以确认 App.Config 文件由 CLR 在 AppDomain 中缓存,并且每次尝试读取值时都不会读取?

It is loaded at start-up.它在启动时加载。 Reads will reflect whatever the app.config file said at that point.读取将反映 app.config 文件当时所说的任何内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM