Tagged Questions
1
vote
1answer
93 views
Multi threading in ASP.Net to increase performance of processing data from entity framework using anonymous types
Intro
I am trying to populate a Multi-column Combo-box with a large amount of records.Depending on the selection the user has taken there can be 1 - 50000 items in the Combo-box (I may not display ...
4
votes
1answer
790 views
Thread-safe wrapper around WCF ServiceModel.ClientBase subclass
I have an ASP.NET application which uses a Service Reference to a (third-party, offsite) payment processor.
The service reference class is generated automatically.
Its implementation is a subclass of ...
4
votes
6answers
1k views
Strategy for avoiding threadpool starvation while performing cpu bound jobs in a queued fashion
My aim is to avoid using threadpool threads for CPU bound work, thus avoiding a situation where IIS stops responding to new requests.
Can you see any problems with the code below? Is this a ...
5
votes
2answers
780 views
Optimizing a Fire and Forget page tracker
I have a bit of code that came from Egg Head Cafe a long while ago and it's been working great. But I ran the entire site through Redgate's Profiler. and it came up as the biggest hot spot in my code. ...
1
vote
1answer
158 views
Is this a good way to optionally run some code on a background thread?
I'm attempting to keep this as DRY as possible; is this a good method to optionally run some code on a background thread depending on a configuration setting? This will primarily be called from an ...