Print Page | Close Window

in the developer guide, is there a section discuss abt network configuration?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1123
Printed Date: 27-Apr-2025 at 5:59am


Topic: in the developer guide, is there a section discuss abt network configuration?
Posted By: monkeyking
Subject: in the developer guide, is there a section discuss abt network configuration?
Date Posted: 08-Mar-2009 at 5:57pm
I know WCF is becoming porpular, but i notice Devforce doesn't use WCF in the app.config file, so how Devforce deal with the network communication between client and server? is it possible to use TCP in Devforce?is there a section in the developer guide that discusses abt the configuration of network?



Replies:
Posted By: smi-mark
Date Posted: 09-Mar-2009 at 9:55am
Are you using EF or Classic? I believe EF is only WCF. In your config you would have something like:

<objectServer isDistributed="true" remoteBaseURL="http://localhost" serverPort="9009" serviceName="EntityService" />

If you are running the BOS as a console/windows service. If you run the BOS as an IIS service it is of course on port 80 or whatever your IIS port is set to.


Posted By: kimj
Date Posted: 09-Mar-2009 at 11:08pm
As smi-mark said, DevForce EF uses only WCF for communications to a BOS.  Both http(s) and tcp are supported.  For a "vanilla" configuration the objectServer element in the ideaBlade section of the configuration file is all that's needed for configuring communications.  For more advanced configurations or to override default settings, you need to include a WCF serviceModel section in the configuration file.   Sample config files can be found in the SampleCode folder of your DevForce installation. 
 
Check the BOS and Deployment chapters in the Developer's Guide for more information.


Posted By: monkeyking
Date Posted: 09-Mar-2009 at 11:34pm
thx for replying.



Print Page | Close Window