2

Closed

ServiceModule has potential race condition in ASP.NET v4.5

description

The ServiceModule class (which used to spin up instances of the "services" but not just gets error handling up) has a potential race condition. It attempts to get instances of ISettingsManager, even though it's possible that the Ninject container might not yet have any repository classes registered for it yet. That's because this module might be loaded before global.asax's Application_Start(), where the data layer Ninject module is typically loaded.

This has never manifest itself prior to v4.5 of ASP.NET, and the going assumption is that this is because v4.5 has some kind of async warm up for applications, leading to the race condition.
Closed Nov 8, 2012 at 8:00 PM by jeffyjones

comments

jeffyjones wrote Sep 16, 2012 at 3:13 AM

Fixed in the v10.0.1 update.