Is there any way to paralel programming in .NET 3.5? I have a problem with threads. I create many threads. But i need to control them. I mean if one thread takes more time from 5 seconds i need to abort it. When i use Thread.Abort() sometimes i get ThreadAbortException at logs. I don’t want it. In .NET 4 there is TPL. TPL is a good solution for me. I made some tests and read a few books. It works perfectly. But if i upgrade to .NET 4 i need to test other web sites and this process will take much more time and i need a quick solution for now. I will upgrade to .NET 4 but this is a long term solution and a plan for me. For now i need a quick solution. Is there any way to parallel programming in .NET 3.5? I found Rx. Do you suggest Rx? Because it says it is not supported.
Share
.NET 4 is a side-by-side upgrade. This means that you can run this particular website on .NET 4 using the Task Parallel Library and any other new features that you want to use, while any other sites/apps continue to run on .NET 3.5 unless you specifically upgrade them. It works fine – we have several websites running on .NET 2.0, 3.5 & 4.0 all on the same server and there are no problems whatsoever.