Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

storing OperationContext info permanently

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 01-31-2007   #1 (permalink)
ginkim@gmail.com
Guest


 

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
Guest


 

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
Guest


 

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
Guest


 

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
Guest


 

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
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Ripping / Storing JoJo9 via WindowsKB.com Vista file management 2 04-14-2008 11:44 PM
Storing Passwords Jim Vista mail 4 02-22-2007 08:41 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com 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 2005-2008