IHttpHandler not declared...

Discussion in 'ASP .Net' started by Stu, Jun 29, 2005.

  1. Stu

    Stu Guest

    Hi,

    I am trying to write a basic httphandler to 'fake' that pages actually
    exist. I have copied the code below from various sites - but the line
    'Implements IHttpHandler' reports an error "type 'IHttpHandler' is not
    defined".

    Any ideas what am I doing wrong?

    Thanks in advance,

    Stu

    ---- / snip / ----

    Imports System.Web

    Namespace MyHttpHandler
    Public Class MyHandlerClass
    Implements IHttpHandler '<<<<<<<<<<<< not declared :-( ??

    ' Override the IsReusable property.
    Public ReadOnly Property IsReusable() As Boolean _
    Implements IHttpHandler.IsReusable
    Get
    Return True
    End Get
    End Property
    End Class
    End Namespace
    Stu, Jun 29, 2005
    #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. lapin
    Replies:
    0
    Views:
    735
    lapin
    Nov 18, 2003
  2. lapin
    Replies:
    1
    Views:
    2,242
    Teemu Keiski
    Nov 19, 2003
  3. John Rivers

    Use IHttpHandler not ASPX for pro web apps

    John Rivers, Feb 4, 2006, in forum: ASP .Net
    Replies:
    19
    Views:
    795
    Juan T. Llibre
    Feb 8, 2006
  4. JohnZing

    declared or not declared ?

    JohnZing, Feb 5, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    1,569
    Jon Paal
    Feb 5, 2006
  5. Nathan Sokalski
    Replies:
    0
    Views:
    399
    Nathan Sokalski
    Mar 12, 2010
Loading...

Share This Page