I have checked it for multiple AppDomains, it is working fine. Thanks to
.NET Framework
Thanks
Regards,
Girish Jain
From: Girish Jain <[EMAIL PROTECTED]>
Reply-To: "Discussion of advanced .NET topics."
<[email protected]>
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] Writing data to the beginning of a file
Date: Mon, 21 Nov 2005 04:39:54 +0000
J. Merill,
Thanks for pointing the bug in code. I have rectified the same.
Secondly, This class is used in a ASP .NET web project, so the multiple
AppDomains writing...certainly, I need to check.
Thanks for your suggestions
Regards,
Girish Jain
From: "J. Merrill" <[EMAIL PROTECTED]>
Reply-To: "Discussion of advanced .NET topics."
<[email protected]>
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] Writing data to the beginning of a file
Date: Sat, 19 Nov 2005 16:58:38 -0500
Your class is multi-thread safe, but not multi-user (on different
machines)
safe. If that's your requirement, fine -- just want to make sure that you
realize that the locking won't do anything useful if more than one machine
is writing to the same file with this code. (I am uncertain whether the
locking is sufficient if you have multiple AppDomains using this code to
write to the same file -- Ian?)
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com