Contents tagged with Threading
-
Run threads and async handlers under the same impersonated identity as the website
When you run a background thread or async handler in asp.net, the thread will not run with the same identity specified in the impersonate tag of the web.config. You can easily get around this by grabbing the identity before the thread starts and either storing it in a variable or passing it to the thread as part of the ParameterizedThreadStart delegate.
-
Lock your web app to 1 outgoing web service call across all threads
One of the things we see a lot of these days are web apps that call other web apps via web services, RSS, or REST APIs.
-
Redirecting without the exceptions...
I was doing some load testing the other year and noticed one of the counters was going off the charts - ASP.Net exceptions. I couldn't understand why my application, which was behaving fine in every other way, was throwing exceptions.
-
Silverlight Databinding – The Observable Collection
If you’re coming from the ASP.Net world and you want to start building silverlight controls, databinding is one those things that works somewhat the same, yet somewhat differently from the standard DataSource, DataBind() world that you may be used to.
-
Silverlight 2 - Finally a version that can change the world!
Yes, folks - that title is not a joke. Silverlight can completely change how we think about the web.
-
Storing Contextual Data in Web and non-Web applications
In Asp.Net apps, we are used to storing data in the current context. Objects that are specific to the currently executing Request, like a User object retrieved a database, or another object that you want to make globally available without requiring multiple database trips, can benefit from this.