Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - storing OperationContext info permanently

 
 
Old 01-31-2007   #1 (permalink)
ginkim@gmail.com


 
 

storing OperationContext info permanently

Hi,

I'm new to the WCF as I'm guessing a lot of people are right now... I
am currently working with the subscribe-publish project that's
available online. Everything seems to be working fine and before
getting users onboard, I want to add an enhancement.

Currently, the clients subscribe to the host server for a specific
event. When the host publishes, it loops thru the list of
subscribers(= OperationContext.Current.GetCallbackChannel<T>). My
concern is that if the host server goes down for some reason, we will
lose the list of all the subscribers.

Is there a way to store the subscriber or the OperationContext.Current
data in the database?

Thanks.


My System SpecsSystem Spec
Old 02-01-2007   #2 (permalink)
Arkady Frenkel


 
 

Re: storing OperationContext info permanently

That will not give you a lot IMHO because when service gone the clients will
receive communication exception and all channel's of clients gone. So you
need to re-establish channel once more each time service gone
Arkady
<ginkim@gmail.com> wrote in message
news:1170289443.896326.84790@j27g2000cwj.googlegroups.com...
> Hi,
>
> I'm new to the WCF as I'm guessing a lot of people are right now... I
> am currently working with the subscribe-publish project that's
> available online. Everything seems to be working fine and before
> getting users onboard, I want to add an enhancement.
>
> Currently, the clients subscribe to the host server for a specific
> event. When the host publishes, it loops thru the list of
> subscribers(= OperationContext.Current.GetCallbackChannel<T>). My
> concern is that if the host server goes down for some reason, we will
> lose the list of all the subscribers.
>
> Is there a way to store the subscriber or the OperationContext.Current
> data in the database?
>
> Thanks.
>



My System SpecsSystem Spec
Old 02-01-2007   #3 (permalink)
ginkim@gmail.com


 
 

Re: storing OperationContext info permanently

On Feb 1, 1:42 am, "Arkady Frenkel" <arka...@hotmailxdotx.com> wrote:
> That will not give you a lot IMHO because when service gone the clients will
> receive communication exception and all channel's of clients gone. So you
> need to re-establish channel once more each time service gone
> Arkady<gin...@gmail.com> wrote in message
>
> news:1170289443.896326.84790@j27g2000cwj.googlegroups.com...
>
>
>
> > Hi,

>
> > I'm new to the WCF as I'm guessing a lot of people are right now... I
> > am currently working with the subscribe-publish project that's
> > available online. Everything seems to be working fine and before
> > getting users onboard, I want to add an enhancement.

>
> > Currently, the clients subscribe to the host server for a specific
> > event. When the host publishes, it loops thru the list of
> > subscribers(= OperationContext.Current.GetCallbackChannel<T>). My
> > concern is that if the host server goes down for some reason, we will
> > lose the list of all the subscribers.

>
> > Is there a way to store the subscriber or the OperationContext.Current
> > data in the database?

>
> > Thanks.- Hide quoted text -

>
> - Show quoted text -


If only the host server goes down for momentarily, and in the
meantime, the clients are not actively subscribing to the host, I'm
wondering whether the clients will get any communication exception? We
don't want to ask all our users to re-subscribe to the host each time
our host server goes down.

My System SpecsSystem Spec
Old 02-02-2007   #4 (permalink)
Arkady Frenkel


 
 

Re: storing OperationContext info permanently

Really , I don't know what is "actively subscribing" , but if you do
subscribe for services that mean that underlaying socket ( in WCF ) wait for
incoming data ( event ) you do receive exception ( if server whet down )
want you or not. The problem is that if client silently gone server have no
knowledge of that

Arkady

<ginkim@gmail.com> wrote in message
news:1170348581.917902.246830@h3g2000cwc.googlegroups.com...
> On Feb 1, 1:42 am, "Arkady Frenkel" <arka...@hotmailxdotx.com> wrote:
>> That will not give you a lot IMHO because when service gone the clients
>> will
>> receive communication exception and all channel's of clients gone. So you
>> need to re-establish channel once more each time service gone
>> Arkady<gin...@gmail.com> wrote in message
>>
>> news:1170289443.896326.84790@j27g2000cwj.googlegroups.com...
>>
>>
>>
>> > Hi,

>>
>> > I'm new to the WCF as I'm guessing a lot of people are right now... I
>> > am currently working with the subscribe-publish project that's
>> > available online. Everything seems to be working fine and before
>> > getting users onboard, I want to add an enhancement.

>>
>> > Currently, the clients subscribe to the host server for a specific
>> > event. When the host publishes, it loops thru the list of
>> > subscribers(= OperationContext.Current.GetCallbackChannel<T>). My
>> > concern is that if the host server goes down for some reason, we will
>> > lose the list of all the subscribers.

>>
>> > Is there a way to store the subscriber or the OperationContext.Current
>> > data in the database?

>>
>> > Thanks.- Hide quoted text -

>>
>> - Show quoted text -

>
> If only the host server goes down for momentarily, and in the
> meantime, the clients are not actively subscribing to the host, I'm
> wondering whether the clients will get any communication exception? We
> don't want to ask all our users to re-subscribe to the host each time
> our host server goes down.
>



My System SpecsSystem Spec
Old 02-02-2007   #5 (permalink)
MobileMan


 
 

Re: storing OperationContext info permanently

Check out the following links for Pub/Sub systems .... some good info here:

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

and

http://www.idesign.net/idesign/Deskt...dex=5&tabid=11

You'll have to scroll down about 1/3 the way to see the 2 links on Publish &
Subscribe. From what I have gathered, the group at IDesign have made a big
commitment to WCF.
--
Stay Mobile


"ginkim@gmail.com" wrote:

> On Feb 1, 1:42 am, "Arkady Frenkel" <arka...@hotmailxdotx.com> wrote:
> > That will not give you a lot IMHO because when service gone the clients will
> > receive communication exception and all channel's of clients gone. So you
> > need to re-establish channel once more each time service gone
> > Arkady<gin...@gmail.com> wrote in message
> >
> > news:1170289443.896326.84790@j27g2000cwj.googlegroups.com...
> >
> >
> >
> > > Hi,

> >
> > > I'm new to the WCF as I'm guessing a lot of people are right now... I
> > > am currently working with the subscribe-publish project that's
> > > available online. Everything seems to be working fine and before
> > > getting users onboard, I want to add an enhancement.

> >
> > > Currently, the clients subscribe to the host server for a specific
> > > event. When the host publishes, it loops thru the list of
> > > subscribers(= OperationContext.Current.GetCallbackChannel<T>). My
> > > concern is that if the host server goes down for some reason, we will
> > > lose the list of all the subscribers.

> >
> > > Is there a way to store the subscriber or the OperationContext.Current
> > > data in the database?

> >
> > > Thanks.- Hide quoted text -

> >
> > - Show quoted text -

>
> If only the host server goes down for momentarily, and in the
> meantime, the clients are not actively subscribing to the host, I'm
> wondering whether the clients will get any communication exception? We
> don't want to ask all our users to re-subscribe to the host each time
> our host server goes down.
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
storing messages Vista mail
CD Ripping / Storing Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46