How to define Http handler programmatically

Discussion in 'ASP .Net Web Controls' started by Pab, Aug 12, 2008.

  1. Pab

    Pab Guest

    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 ?
    Pab, Aug 12, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shaul Feldman
    Replies:
    4
    Views:
    13,325
    Shaul Feldman
    Apr 14, 2004
  2. Lee Sander
    Replies:
    7
    Views:
    302
  3. news.rz.uni-karlsruhe.de

    Adding ajax/som event handler programmatically

    news.rz.uni-karlsruhe.de, Jan 27, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    505
    Axel Gallus
    Jan 27, 2008
  4. Jordan S.
    Replies:
    0
    Views:
    382
    Jordan S.
    May 23, 2008
  5. acw
    Replies:
    0
    Views:
    265
Loading...

Share This Page