C#: Code review needed for GUI blocking reasons



An already finished application is working and doing what it should be - even in a long time test.

From the GUI you can start some BackgroundWorker threads which are using HttpWebRequest in the DoWork function and display status information via the OnProgressChanged event in the GUI.

For the GUI DevComponents SuperGrid is used. Displaying of progress results is working fine.

Even with 10-15 active BackgroundWorker tasks the program is running fine from the results and is low on CPU and memory.

Problem 1 (Minor problem): The GUI from the program is not "freezing" but "lagging" in a strange way. After some seconds the GUI is working proper again.

Problem 2 (Main problem): The real problem is, that somehow the program affects the whole computer where it is running on. The whole systems becomes slow in visual response. The GUIs of other already running programs start to build up slowly, starting other programs is slow, etc. But again, see above, the task manager reports NO CPU and NO memory problems. CPU is around 11% and memory is around [url removed, login to view] to [url removed, login to view] (depends on the number of active tasks).

My guess is that the problem lies somewhere within the feedback from the BackgroundWorker tasks to the GUI.

The software is confidential, that's why I am not able to post source code here for now. But some information about the size of the BackgroundWorker class:

LOC total: 669

LOC main function (DoWork): 297

Rest: BackgroundWorker initialization, helper functions.

So if you are familiar with threads and GUI updates this size is quite manageable.

Your profile:

You should be familiar with the following

* HttpWebRequests with proxy support (already implemented and working)

* Thread GUI data exchange

* Profiling

After your first offer I will send you the BackgroundWorker class with more infos on the functionality of the class for a first review to adjust your offer.

Skills: .NET, C# Programming, Reviews, Software Architecture

See more: working for first data, what is computer programming used for, what is an event in computer programming, what is a function in computer programming, thread programming, source c code, programs for my computer, programs for computer, programming tasks in c++, net it systems, gui number, first computer programming, event in c sharp, c sharp test, c # sharp test, c sharp event, c# programming problems, c programming problems, computer systems programming, computer programming programs, computer programming code, computer programming class, code programs, code 2, c computer programming

Project ID: #4171785