473,387 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

BufferOutput property of the HttpResponse class?

Hello,

I've been told that I can make my Web Pages render quicker if I set
the BufferOutput property of the HttpResponse Class to false. I have
a "test" Web App that works, but it doesn't seem to have the
HttpResponse Class. Where do I adjust this?

Thanks
Sam
Q3

Aug 15 '07 #1
2 2470
You should take ALL of your ASP.NET questions over to an ASP.NET group. Your
questions have nothing to do with the C# language in particular.

Try: microsoft.public.dotnet.framework.aspnet
<so***********@gmail.comwrote in message
news:11*********************@q3g2000prf.googlegrou ps.com...
Hello,

I've been told that I can make my Web Pages render quicker if I set
the BufferOutput property of the HttpResponse Class to false. I have
a "test" Web App that works, but it doesn't seem to have the
HttpResponse Class. Where do I adjust this?

Thanks
Sam
Q3

Aug 15 '07 #2
Sam,

You can set this in the Page directive, like so:

<%@ Page Buffer="true" %>

Or, if you want to set it in code in your ASPX page, you can use the
Response property exposed by the Page class (which your page derives from)
to get the HttpResponse instance to set the BufferOutput property value on.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
<so***********@gmail.comwrote in message
news:11*********************@q3g2000prf.googlegrou ps.com...
Hello,

I've been told that I can make my Web Pages render quicker if I set
the BufferOutput property of the HttpResponse Class to false. I have
a "test" Web App that works, but it doesn't seem to have the
HttpResponse Class. Where do I adjust this?

Thanks
Sam
Q3

Aug 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Adrian Albisser | last post by:
Hey to everybody, im just beginning to program in python. So i was trying some function but always when i try the range function i get a error message. for number in range(1,100): print number...
0
by: James Thurley | last post by:
I'm creating an XmlDocument manually, adding content using the Xml classes such as XmlElement and XmlText, and I then write it out as as "text/xml" to the HttpResponse.Output TextWriter object...
6
by: Calvin Lai | last post by:
Does anyone know the difference and usage of them? Great thanks!
0
by: Matthew Trunnell | last post by:
Hi everyone, I'm implementing the HTTP 206 Partial Content spec. This requires an additional header of the form: "Content-Range: xxx-yyy/zzz" See http://www.w3.org/Protocols/rfc2616/rfc2616-...
1
by: James Dixon | last post by:
I am hitting a j2ee website that is using cookies to maintain session state. In the headers, it has the syntax Set-Cookie:JSESSIONID=XXXXXXXXXXX When I inspect the HTTPResponse.Cookies collection,...
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
5
by: Joe | last post by:
Could someone please explain the practical differences between Response.Buffer and Response.BufferOutput? TIA, -- Joe VB.NET/C#/ASP.NET/ASP/VB/C++/Web and DB development/VBA Automation
2
by: Vadim | last post by:
Hi, I will have to send a file to a user's browser to be opened in a Save, Open manner, I am using HttpResponse.WriteFile for this, the info to be sent will have to be first accumulated in a...
8
by: Richard Collette | last post by:
When attempting to debug a webservice, I get the error: Cannot serialize member System.Exception.Data of type System.Collections.IDictionary, because it implements IDictionary. In reading...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.