HttpUtil

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wobbly Bob

    #1

    HttpUtil

    Hi, I can't seem to find this class that according to the docs is in
    System.Web. I am using .Net Enterprise 2003 with .Net 1.1. A lot of the
    classes that are documented as being in System.Web are in System.Net..?

    Rob.


  • Jon Skeet [C# MVP]

    #2
    Re: HttpUtil

    Wobbly Bob <rob@wobblybob. org> wrote:[color=blue]
    > Hi, I can't seem to find this class that according to the docs is in
    > System.Web. I am using .Net Enterprise 2003 with .Net 1.1.[/color]

    There's no HttpUtil class, but there is HttpUtility. Have you added a
    reference to the System.Web.dll assembly (not just said that you're
    using the System.Web namespace)?
    [color=blue]
    > A lot of the
    > classes that are documented as being in System.Web are in System.Net..?[/color]

    Such as?

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    • Wobbly Bob

      #3
      Re: HttpUtil

      Cheers for your reply,
      I'm a bit of a dweeb at this but I'm told I need to use a web project and
      not an application project. Is there an alternative class available?
      Rob.
      "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
      news:MPG.1a26d1 dad495acbe989af 3@msnews.micros oft.com...[color=blue]
      > Wobbly Bob <rob@wobblybob. org> wrote:[color=green]
      > > Hi, I can't seem to find this class that according to the docs is in
      > > System.Web. I am using .Net Enterprise 2003 with .Net 1.1.[/color]
      >
      > There's no HttpUtil class, but there is HttpUtility. Have you added a
      > reference to the System.Web.dll assembly (not just said that you're
      > using the System.Web namespace)?
      >[color=green]
      > > A lot of the
      > > classes that are documented as being in System.Web are in System.Net..?[/color]
      >
      > Such as?
      >
      > --
      > Jon Skeet - <skeet@pobox.co m>
      > http://www.pobox.com/~skeet
      > If replying to the group, please do not mail me too[/color]


      Comment

      • Nicholas Paldino [.NET/C# MVP]

        #4
        Re: HttpUtil

        Rob,

        You don't need to use a Web Project in order to add a reference to
        System.Web.dll. You just add it like you would add a reference to anything
        else.

        However, if you are finding that what you are trying to do overall
        requires a Web Project, then by all means, use that.

        What are you trying to do?


        --
        - Nicholas Paldino [.NET/C# MVP]
        - mvp@spam.guard. caspershouse.co m

        "Wobbly Bob" <rob@wobblybob. org> wrote in message
        news:3fbcc714$0 $12680$fa0fcedb @lovejoy.zen.co .uk...[color=blue]
        > Cheers for your reply,
        > I'm a bit of a dweeb at this but I'm told I need to use a web project and
        > not an application project. Is there an alternative class available?
        > Rob.
        > "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
        > news:MPG.1a26d1 dad495acbe989af 3@msnews.micros oft.com...[color=green]
        > > Wobbly Bob <rob@wobblybob. org> wrote:[color=darkred]
        > > > Hi, I can't seem to find this class that according to the docs is in
        > > > System.Web. I am using .Net Enterprise 2003 with .Net 1.1.[/color]
        > >
        > > There's no HttpUtil class, but there is HttpUtility. Have you added a
        > > reference to the System.Web.dll assembly (not just said that you're
        > > using the System.Web namespace)?
        > >[color=darkred]
        > > > A lot of the
        > > > classes that are documented as being in System.Web are in[/color][/color][/color]
        System.Net..?[color=blue][color=green]
        > >
        > > Such as?
        > >
        > > --
        > > Jon Skeet - <skeet@pobox.co m>
        > > http://www.pobox.com/~skeet
        > > If replying to the group, please do not mail me too[/color]
        >
        >[/color]


        Comment

        • Jon Skeet [C# MVP]

          #5
          Re: HttpUtil

          Wobbly Bob <rob@wobblybob. org> wrote:[color=blue]
          > I'm a bit of a dweeb at this but I'm told I need to use a web project and
          > not an application project. Is there an alternative class available?[/color]

          You can use nearly all classes in either type of project. What are you
          wanting to do, and why do you now think you need a different class?

          --
          Jon Skeet - <skeet@pobox.co m>
          Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

          If replying to the group, please do not mail me too

          Comment

          Working...