Response.Buffer vs. Response.BufferOutput

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

TIA,
 
There is none.

Response.Buffer relies on Response.BufferOutput

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



Karl
 
Thanks Karl. Then why have two?
--
Joe

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


Karl Seguin said:
There is none.

Response.Buffer relies on Response.BufferOutput

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



Karl
 
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 said:
Thanks Karl. Then why have two?
 
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.BufferOutput.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top