ASP.NET
公式
1)
『HTML、CSS、JavaScript を使用して優れた Web サイトと Web アプリケーションを構築するための無料の Web フレームワーク』
Tips
App.ConfigとWeb.Configの違い
『If you are using IIS to host your service, use a Web.config file. If you are using any other hosting environment, use an App.config file.』
2)
IISの時は
Web.config
で、その他の時は
App.confg
らしい
appSettingsのfileとconfigSourceの違い
ここに詳しく書かれている
3)
appSettings要素の中でしか使えないとか、マージの有無とかが違うらしい
appSettingsは他の設定ファイルを丸々持ってきたい場合に使う
configSourceは一部要素を切り出したものをインポートするイメージ
1)
『ASP.NET の概要』, Microsoft Learn,
https://learn.microsoft.com/ja-jp/aspnet/overview
, 2022-11-02
2)
『Configuring Services Using Configuration Files - WCF』, Microsoft Learn,
https://learn.microsoft.com/en-us/dotnet/framework/wcf/configuring-services-using-configuration-files?redirectedfrom=MSDN
, 2022-11-02
3)
『configuration - ASP.NET web.config: configSource vs. file attributes』, Stack Overflow,
https://stackoverflow.com/questions/6940004/asp-net-web-config-configsource-vs-file-attributes
, 2022-11-02