Blogs

XPO

eXpress Persistent Objects

XPO and WCF

     

And another “leftover” XPO sample – this time tunnelling through Windows Communication Foundation (WCF). Nothing much to say about this really… if you’re reading this as a single post, you might wonder what the “tunnelling of IDataStore” is all about, so let me point you to this article here for the explanation.

The download of the sample is here.

Published Dec 06 2006, 04:03 PM by Oliver Sturm (DevExpress)
Filed under:
Technorati tags: XPO
Bookmark and Share

Comments

 

Rich Logwood said:

Thanks for this great example. I have a question on your choice of singleton for the service.

In the DataStoreServerProxy class you specified the attribute [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]

As I currently understand WCF, multiple clients accessing a singleton service may only do so one at a time. This would cause a bottleneck when multiple users require use of the service simultaneously.

Would you mind providing insights on the following questions:

1. How should one quantify the server side overhead when setting up a remote XPO service?

2. What guidelines would you follow implementing a WCF XPO service when choosing between InstanceContextModes of Session, PerCall and Single?

For example, I’ve read using InstanceContextMode.PerCall is a good idea for services that need to scale dramatically so that server side resources can be disposed of promptly even though this may be slower for individual clients needing to execute multiple calls. Are there any special considerations when implementing an XPO service as PerCall?

Thanks for all your XPO articles :)
December 30, 2006 1:51 AM
 

eXpress App Framework Team said:

This is post no. 10 in the mini series "10 exciting things to know about XAF". You can find

May 31, 2008 11:35 AM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.