J
josh
Hi,
can I know the request and the response page bytes (its length)?
Thanks
can I know the request and the response page bytes (its length)?
Thanks
josh said:Hi,
can I know the request and the response page bytes (its length)?
Request.InputStream.Length will give you the size of entity posted.
However Response.OutputStream.Length is not supported. Untill the request
is complete there is no way to know how big it will finally be.
What do you need this info for?
Request.InputStream.Length will give you the size of entity posted.
However Response.OutputStream.Length is not supported. Untill the request
is complete there is no way to know how big it will finally be.
What do you need this info for?
Indeed there must be a zillion existing (and probably some free) profiling
tools.
The InputStream represents the entity body posted (and there isn't one for a
GET request) not the total size of the headers that have arrived.
josh said:Yes, but my boss wants a custom profiling application
Ok but (I also made searching on google) is it possible that I can't
know
the page request/response length?
Anthony said:My advice would be to spend a day researching existing log analysers
and profilers. Turn on IIS Logging and spend another day determining
how you would write a custom app to analyse the generated log files.