Skip to content

Determining if the CSLA is running in "client" or a "server" mode #1734

Discussion options

You must be logged in to vote

You can use Csla.ApplicationContext.ExecutionLocation to determine where the code is currently running.

E.g. check to see if running on client:

if (Csla.ApplicationContext.ExecutionLocation != ApplicationContext.ExecutionLocations.Server)
{

}
''''

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JacoJordaan
Comment options

@GreatBarrier86
Comment options

Answer selected by rockfordlhotka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants