Couple of suggestions

Dec 6, 2007 at 3:40 AM
Hi,

I took a quick look at this today and I must say it's pretty comprehensive. I have two observations so far;

- The Winforms sample suffers from the cross thread GUI issue. No big deal but it generated a few messages on my system.
- For me upload bandwidth throttling is important (DSL connection). Some form of configurable delay or external event raised inside GenerateAndSendHttpWebRequest() to cater for slower uploading (and a corresponding mechanism for downloads too, I suppose) would be really helpful.

For the first I added

void RefreshGrid()
{
if (this.InvokeRequired)
{
this.Invoke(new RefreshGridDelegate(this.RefreshGrid));
}
else
{
if (this.dataGridViewStatistics.Rows.Count > 0)
{
this.dataGridViewStatistics.UpdateRowHeightInfo(0, true);
this.dataGridViewStatistics.Refresh();
}
}
}

and replaced the corresponding lines in BindStatistics() with RefreshGrid(). I've bodged around the second with some judicious use of Sleep but it's not very elegant!

This is an excellent piece of work and will be very useful. Thanks very much.
Coordinator
Dec 13, 2007 at 8:27 PM
Hi,
Thanks for the feedback. Always appreciated. I'm working on Release 1.2 right now. The cross-thread issue will be fixed in it. As for bandwidth throttling, I like the idea and will look into it. If I can do it elegantly, it will definitely be included.

Thanks,
Joel Wetzel
Affirma Consulting