![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| | #5 (permalink) |
| | 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 Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| storing messages | Vista mail | |||
| CD Ripping / Storing | Vista file management | |||