글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
Enhanced AppSettings Configuration Handler
;
http://www.codeproject.com/dotnet/EnhancedAppSettings.asp
그동안, 새로운 Configuration Handler를 등록하는 것은 알았지만, 기존 핸들러를 교체하는 방법은 모르고 있었습니다.
근데, 그 교체 방식이 참 재미있습니다.
<configsections>
<remove name="appSettings"/>
<section name="appSettings"
type="Haley.EnhanceAppSettings.EnhancedAppSettingsHandler,
EnhanceAppSettings"/>
</configsections>
보시는 것처럼, 기존 핸들러를 <remove /> 노드를 통해서 제거하고 있습니다. 다른 config 설정에서도 remove를 사용하고 있지만, 그 방식이 configuration handler까지 해당할지는 미처 생각을 못하고 있었습니다.
[최초 등록일: ]
[최종 수정일: 7/9/2021]
No | Writer | Date | Cnt. | Title | File(s) |