New Posts New Posts RSS Feed: in the developer guide, is there a section discuss abt network configuration?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

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

 Post Reply Post Reply
Author
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Topic: in the developer guide, is there a section discuss abt network configuration?
    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?
Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Posted: 09-Mar-2009 at 11:34pm
thx for replying.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down