Meeting the needs of your business from a distance

AppDomain and Static Members

by Mark Shiffer 13. December 2007 00:41

According to some text I am reading you should avoid having any static members on your MarshallByRef object as they will always execute in the context of the calling AppDomain and not your secondary AppDomain. I would think that could cause some interesting and complicated bugs within your code if you didn't know about that. I am documenting this here for future reference.

Tags: , ,

Research | Issues

Comments

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Copyright © 2001-2010 MS Consulting, Inc. All Rights Reserved.