Dynamic appConfig

Dynamic appConfig

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

Niemand posted on Monday, November 21, 2011

I'm developing an accounting program and a relatively small business management program with CSLA 2.1.4.

The specifics is that a user should be able to connect to an application server using different channels.

E.g. Company A runs its own application server using direct to SQL server connection, Company B runs its own application server using web service portal, Accountant C needs to access the servers of both of the companies using client program .

The problem is that CSLA choses dataportal by the application config file, which is readonly for non admin user (as any other file in Program Files).

Is there any way around to dynamically switch between dataportals/servers for a limited user?

Copyright (c) Marimer LLC