What is the difference between httpHandler code in web.config of ASP.NET 2.0 and ASP.NET 3.5 web application?

SheoNarayan
Posted by SheoNarayan under ASP.NET category on | Views : 7449
In ASP.NET 2.0, we specify our httpHandler like this


<system.web>
<httpHandlers>
<add verb="*" path="/mpage/myurl*.aspx" type="MyNameSpace.UrlHanlderForMyPage"/>
</httpHandlers>
</system.web>


In ASP.NET 3.5, we specify our httpHandler like this

<system.webServer>
<handlers>
<add name="MyCustomHanlder" path="/mpage/myurl*.aspx" verb="*" type="MyNameSpace.UrlHanlderForMyPage" resourceType="Unspecified" preCondition="integratedMode"/>
</handlers>
</system.webServer>

Comments or Responses

Login to post response