본문 바로가기

C#(ASP.NET)

httpHandlers, httpModules 샘플 (Web.config)

기본구조

<httpHandlers>
     <add verb="supported http verbs" path="path" type="namespace.classname, assemblyname" />
<httpHandlers>

<httpModules>
    <add type="classname, assemblyname" name="modulename"  />
<httpModules>

httpModules를 제거하고자 할 경우
<httpModules>
    <remove name="modulename"  />
<httpModules>

요소
supported http verbs : POST, GET, HEAD 등등
path : *, *.aspx 등등
크리에이티브 커먼즈 라이선스
Creative Commons License