Deploying Remotely for first time - Questions...

Deploying Remotely for first time - Questions...

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


dtabako posted on Thursday, August 21, 2008

Hi,

I am about to do a remote deployment for my first CSLA app. I want to make sure I understand what I'm doing here. I will be using .NET Remoting via IIS.

In my WinForms project, I added the following line to my app.config file in the appSettings section:

<add key="CslaDataPortalProxy"

value="Csla.DataPortalClient.RemotingProxy, Csla"/>

<add key="CslaDataPortalUrl"

value="http://xxx.xxx.xxx.xxx/CompanyRemoteHost/RemotingPortal.rem"/>

where xxx.xxx.xxx.xxx is the IP address of the app server and 'CompanyRemoteHost' is the name of the virtual root set up in IIS.

In IIS I set up a virtual root called CompanyRemoteHost and made it an "Application".

I created a .NET web app in which I created a web.xml (copied the contents exactly from the book for the remoting stuff). I also added references to CSLA and my project library. I then compiled and copied the bin directoy and my web.xml into the directory referenced by my virtual root. The connection strings for my DB are in the web.xml on the app server.

For my Windows app, I published the app to a CD for install on the client machines.

Does it look like I have things set up correctly? Is there anything I forgot or that I appear to have done wrong? Any input would be greatly appreciated.

Thanks, Dennis

Copyright (c) Marimer LLC