Response.Buffer vs. Response.BufferOutput

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

    Response.Buffer vs. Response.BufferOutput

    Could someone please explain the practical differences between
    Response.Buffer and Response.Buffer Output?

    TIA,
    --
    Joe

    VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
  • Karl Seguin

    #2
    Re: Response.Buffer vs. Response.Buffer Output

    There is none.

    Response.Buffer relies on Response.Buffer Output

    public bool Buffer
    {
    get
    {
    return this.BufferOutp ut;
    }
    set
    {
    this.BufferOutp ut = value;
    }
    }



    Karl

    --
    MY ASP.Net tutorials
    Programming blog exploring Zig, Elixir, Go, Testing, Design and Performance

    "Joe" <joeherro@donot spam.yahoo.com> wrote in message
    news:F6AF72E9-395C-401F-90C9-DE60879828F8@mi crosoft.com...[color=blue]
    > Could someone please explain the practical differences between
    > Response.Buffer and Response.Buffer Output?
    >
    > TIA,
    > --
    > Joe
    >
    > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation[/color]


    Comment

    • Joe

      #3
      Re: Response.Buffer vs. Response.Buffer Output

      Thanks Karl. Then why have two?
      --
      Joe

      VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation


      "Karl Seguin" wrote:
      [color=blue]
      > There is none.
      >
      > Response.Buffer relies on Response.Buffer Output
      >
      > public bool Buffer
      > {
      > get
      > {
      > return this.BufferOutp ut;
      > }
      > set
      > {
      > this.BufferOutp ut = value;
      > }
      > }
      >
      >
      >
      > Karl
      >
      > --
      > MY ASP.Net tutorials
      > http://www.openmymind.net/
      > "Joe" <joeherro@donot spam.yahoo.com> wrote in message
      > news:F6AF72E9-395C-401F-90C9-DE60879828F8@mi crosoft.com...[color=green]
      > > Could someone please explain the practical differences between
      > > Response.Buffer and Response.Buffer Output?
      > >
      > > TIA,
      > > --
      > > Joe
      > >
      > > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation[/color]
      >
      >
      >[/color]

      Comment

      • Patrice

        #4
        Re: Response.Buffer vs. Response.Buffer Output

        The first thing that comes to my mind would be legacy support for ASP
        (Buffer) and one made "clearer" (BufferOutput else it could be thought as
        being the underlying buffer).
        --
        Patrice

        "Joe" <joeherro@donot spam.yahoo.com> a écrit dans le message de
        news:3F7E2A77-1206-43BF-83CF-89F12954A156@mi crosoft.com...[color=blue]
        > Thanks Karl. Then why have two?
        > --
        > Joe
        >
        > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
        >
        >
        > "Karl Seguin" wrote:
        >[color=green]
        > > There is none.
        > >
        > > Response.Buffer relies on Response.Buffer Output
        > >
        > > public bool Buffer
        > > {
        > > get
        > > {
        > > return this.BufferOutp ut;
        > > }
        > > set
        > > {
        > > this.BufferOutp ut = value;
        > > }
        > > }
        > >
        > >
        > >
        > > Karl
        > >
        > > --
        > > MY ASP.Net tutorials
        > > http://www.openmymind.net/
        > > "Joe" <joeherro@donot spam.yahoo.com> wrote in message
        > > news:F6AF72E9-395C-401F-90C9-DE60879828F8@mi crosoft.com...[color=darkred]
        > > > Could someone please explain the practical differences between
        > > > Response.Buffer and Response.Buffer Output?
        > > >
        > > > TIA,
        > > > --
        > > > Joe
        > > >
        > > > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation[/color]
        > >
        > >
        > >[/color][/color]


        Comment

        • Karl Seguin

          #5
          Re: Response.Buffer vs. Response.Buffer Output

          Probably :)

          Karl

          --
          MY ASP.Net tutorials
          Programming blog exploring Zig, Elixir, Go, Testing, Design and Performance

          "Patrice" <nobody@nowhere .com> wrote in message
          news:OxMtL$K2FH A.904@tk2msftng p13.phx.gbl...[color=blue]
          > The first thing that comes to my mind would be legacy support for ASP
          > (Buffer) and one made "clearer" (BufferOutput else it could be thought as
          > being the underlying buffer).
          > --
          > Patrice
          >
          > "Joe" <joeherro@donot spam.yahoo.com> a écrit dans le message de
          > news:3F7E2A77-1206-43BF-83CF-89F12954A156@mi crosoft.com...[color=green]
          >> Thanks Karl. Then why have two?
          >> --
          >> Joe
          >>
          >> VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
          >>
          >>
          >> "Karl Seguin" wrote:
          >>[color=darkred]
          >> > There is none.
          >> >
          >> > Response.Buffer relies on Response.Buffer Output
          >> >
          >> > public bool Buffer
          >> > {
          >> > get
          >> > {
          >> > return this.BufferOutp ut;
          >> > }
          >> > set
          >> > {
          >> > this.BufferOutp ut = value;
          >> > }
          >> > }
          >> >
          >> >
          >> >
          >> > Karl
          >> >
          >> > --
          >> > MY ASP.Net tutorials
          >> > http://www.openmymind.net/
          >> > "Joe" <joeherro@donot spam.yahoo.com> wrote in message
          >> > news:F6AF72E9-395C-401F-90C9-DE60879828F8@mi crosoft.com...
          >> > > Could someone please explain the practical differences between
          >> > > Response.Buffer and Response.Buffer Output?
          >> > >
          >> > > TIA,
          >> > > --
          >> > > Joe
          >> > >
          >> > > VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
          >> >
          >> >
          >> >[/color][/color]
          >
          >[/color]


          Comment

          • Vadivel Kumar

            #6
            Re: Response.Buffer vs. Response.Buffer Output

            Actually, the Response.Buffer is for backward compatibility for previous versions of .NET, otherwise both are doing the same job.

            But, you can use Response.Buffer Output.

            Comment

            Working...