P
Pab
Hi
I am used Http handler defined in “web.config†like:
<httpHandlers>
<add path="Calculator.custom"
type="Samples.AspNet.SystemWebConfiguration.Calculator, CalculatorHandler"
verb="GET" validate="false" />
</httpHandlers>
But in same cases this is not convenient, I’d like to define handler
programmatically.
Can anybody show me way how to programmatically define Http handler ?
I am used Http handler defined in “web.config†like:
<httpHandlers>
<add path="Calculator.custom"
type="Samples.AspNet.SystemWebConfiguration.Calculator, CalculatorHandler"
verb="GET" validate="false" />
</httpHandlers>
But in same cases this is not convenient, I’d like to define handler
programmatically.
Can anybody show me way how to programmatically define Http handler ?