web.config の個人セクションを読むには?
<MyPersonalSection>
<add name="toto" enable="true" URL="http://localhost:43242" />
<add name="titi" enable="false" URL="http://localhost:98762" />
<MyPersonalSection/>
name 値で enable 値および/または URL 値を取得したいと思います。
私もこの間違いをしています: 認識されない構成セクション MyPersonalSection
私はしようとしている
var config = ConfigurationManager.GetSection("MyPersonalSection");