Bug found on trunk concerning Global.Application_Start...need reviewers

16 views
Skip to first unread message

Billy

unread,
Mar 9, 2009, 8:34:34 PM3/9/09
to S#arp Architecture
Hi all,

A bug was found on the RC 2 trunk affecting IIS 7 users:
http://code.google.com/p/sharp-architecture/issues/detail?id=72

As thread locking is not my forte, I'd like to request that someone
review this problem and proposed patch and let me know what you think.

Thank you!
Billy

Simone Busoli

unread,
Mar 10, 2009, 6:29:18 AM3/10/09
to sharp-arc...@googlegroups.com
I'll give it a look. I would like to avoid going back to Init and thus having to care about threading, if at all possible.

Simone Busoli

unread,
Mar 10, 2009, 6:49:24 AM3/10/09
to sharp-arc...@googlegroups.com
Hi Billy, seems a good solution. But the object on which you lock must be shared among all instances of the class, therefore it needs to be static.

Billy

unread,
Mar 10, 2009, 8:05:10 AM3/10/09
to S#arp Architecture
Good call Simone... found a good resource that echoes your suggestion
at http://msdn.microsoft.com/en-us/magazine/cc188793.aspx

Billy

On Mar 10, 4:49 am, Simone Busoli <simone.bus...@gmail.com> wrote:
> Hi Billy, seems a good solution. But the object on which you lock must be
> shared among all instances of the class, therefore it needs to be static.
> On Tue, Mar 10, 2009 at 11:29, Simone Busoli <simone.bus...@gmail.com>wrote:
>
> > I'll give it a look. I would like to avoid going back to Init and thus
> > having to care about threading, if at all possible.
>

Billy

unread,
Mar 10, 2009, 8:29:52 AM3/10/09
to S#arp Architecture
The fix has been checked in to both the VS project template and
http://sharp-architecture.googlecode.com/svn/trunk/src/NorthwindSample/app/Northwind.Web/Global.asax.cs

Billy


On Mar 10, 6:05 am, Billy <wmccaffe...@gmail.com> wrote:
> Good call Simone...  found a good resource that echoes your suggestion
> athttp://msdn.microsoft.com/en-us/magazine/cc188793.aspx
Reply all
Reply to author
Forward
0 new messages