How to configure CSLA4 client without using the WcfPortal?

How to configure CSLA4 client without using the WcfPortal?

Old forum URL: forums.lhotka.net/forums/t/11445.aspx


superkuton posted on Sunday, July 01, 2012

For client testing purposes (no dedicated server yet), I want to configure a windows app in CSLA4 without using the WcfPortal. What settings do I need to do?

Thank you.

JonnyBee replied on Sunday, July 01, 2012

To run everything inline in the same process remove/comment the following setting in app.config

    <add key="CslaDataPortalProxy" value="-....."/>

If you wish to run a local app server you will need to edit the settings to f.ex:

    <add key="CslaDataPortalProxy" value="Csla.DataPortalClient.WcfProxy, Csla"/>
    <add key ="CslaDataPortalUrl" value ="http://localhost:21647/WcfPortal.svc"/>

To use the local "server".

superkuton replied on Sunday, July 01, 2012

JonnyBee,

where will I specify the connection strings?

Thanks.

JonnyBee replied on Sunday, July 01, 2012

Any additional settings required for the "server" must be added to the app.config in your windows app.

superkuton replied on Sunday, July 01, 2012

Got it!

Thanks JonnyBee.

 

Copyright (c) Marimer LLC