Re: webservice concurrency

From: Paolo Liverani (paoloat_at_alpiwooddot.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 23:56:15 +0200

Ok, thank you Luke.
That's not exactly what I was looking for but if there is no other solution
I'll for the first one.
    -Paolo

"[MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:YLKd24MLEHA.3564@cpmsftngxa10.phx.gbl...
> Hi Paolo,
>
> I think there are two approuch to achieve this:
>
> 1. Instead of a text file, you may consider use a database. ADO.NET will
> take care the concurrency issue.
> 2. Create a type library for read/write the status file. In your web
> method
> call the type library. In the type library, you can consider
> ReaderWriterLock Class to control the read/write. For more inforamtion
> about it, you can refer to:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
> frlrfSystemThreadingReaderWriterLockClassTopic.asp
>
> Luke
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
>
>



Relevant Pages