Hi there.

I'm writing some very basic performance tools for our sites to help pre-release testing. Basically, ensuring that the site maintains decent performance under increasing load.

I was thinking of just wrapping the app around standard .Net HttpWebRequest but I think that's just going to return me the source which isn't going to help if I'm interested in recording the actual time-to-last-byte for the full page (including js, images, etc).

Does anyone know if there is a way to do something like...?

<font class="small">Code:</font><hr /><pre> WebPageObject x = RequestWebPage("http://mysite.com");

double timeToLastByte = x.downloadTimes.LastByte();
double timeToDownloadHTML = x.downloadTimes.HTML();
</pre><hr />

Basically, a type of request function that pulls down all page resources instead of just the text?