Browse by Tags

All Tags » Threading (RSS)

Run threads and async handlers under the same impersonated identity as the website by joelvarty

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...
Filed under: ,

Lock your web app to 1 outgoing web service call across all threads by joelvarty

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. I do this all the time, and often cache the response of the request (especially RSS and stuff like that) so that my high-traffic site...
Filed under: , ,

Redirecting without the exceptions... by joelvarty

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. It turned out that...
Filed under: ,

Silverlight Databinding – The Observable Collection by joelvarty

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...

Silverlight 2 - Finally a version that can change the world! by joelvarty

Yes, folks - that title is not a joke.  Silverlight can completely change how we think about the web. We're not writing activeX controls anymore, we're not coding "ActionScript" on a "Timeline" - we're talking about something...

Storing Contextual Data in Web and non-Web applications by joelvarty

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...
Filed under: , ,
More Posts