Advantages of developing in user solution
This development of server code in the file system using the Terrasoft.Configuration.sln solution is inconvenient because
of low performance connected with recompilation of all Creatio configuration (Terrasoft.Configuration.dll). This is
significant if the application contains several Creatio products. In addition, the development of server code in the file
system could only be performed by interacting with the database of the application deployed on-site.
Due to the described inconveniences, this approach can be efficiently used to perform complex configuration revision of
the Creatio. It is more efficient to use the built-in Creatio development tools to develop a simple server code (see the
Creatio IDE article). But the built-in development tools do not support full IDE functions: debugging, IntelliSense,
Refactoring, etc.
To develop and debug separate classes or small blocks of server functionality, you can create a separate class library
project and configure it. Then, connect corresponding Creatio class libraries (for example, Terrasoft.Core) and perform
development and debugging of the server code. To debug and test the development result you can use a local database
(use the WorkspaceConsole utility to connect to the database) or an application located in the cloud by connecting to it
via the Executor utility.
Advantages of this approach:
Preliminary settings
For connecting the libraries of the Creatio classes, deploying the local database from an archive copy and working with
the WorkspaceConsole utility, you can use the Creatio installed locally. In all examples of this article used the Creatio
installed to the C:\creatio local folder.
The Executor utility located in the C:\Executor folder is used as an example of working with the Creatio Cloud service.
You can use the following link to download the utility configured for processing the example.
Development of the configuration server code for on-site
application
If you have access to the Creatio local database, to develop configuration server logic do the following:
1. Restore the database from a backup (if need)
Backup of the application database is located in the db folder of the application (for example, C:\creatio\db ).
2. Configure the WorkspaceConsole utility
To operate with the database, you need to configure the WorkspaceConsole utility using the application files. More
information about configuration of the utility is described in the "Transfer solutions (WorkspaceConsole utility)" article. To
configure the utility:
High speed of testing modifications, compiling and execution
Full usage of the Visual Studio functions
Ability to use any tools for Continuous Integration, for example, Unit testing.
Simplicity of configuration – you do not need configuration source codes
You can use the database of an application deployed on-site or in Cloud.
Open the Terrasoft.WebApp\DesktopBin\WorkspaceConsole folder of the application (for example,
C:\creatio\Terrasoft.WebApp\DesktopBin\WorkspaceConsole ).