Hello! I apologize for the delayed response. This is the answer to your first question: We only store workplace models as xml files. Xafari currently only uses one file storage of workspaces (FileWorkplaceStorage). But you can implement your own repository, which will somehow store the workstation model in the database. To do this, you need: 1. create your new storage and inherit it from the IWorkplaceStorage interface. 2. initialize WorkplaceStorage for the WorkplaceManager, for this you need to subscribe to the CreateCustomWorkplaceStorage event (after the application completes the installation), and in the event handler, initialize Storage with your storage. For example: void application_SetupComplete(object sender, EventArgs e)
{
if (WorkplaceManager.Instance != null)
{
WorkplaceManager.Instance.CreateCustomWorkplaceStorage+= WorkplaceManager_CreateCustomWorkplaceStorage
}
}
private void WorkplaceManager_CreateCustomWorkplaceStorage(object sender, CustomWorkplaceStorageEventArgs e)
{
e.Storage = new CustomStorage();
}
I did not understand the next questions: Do you want to setup a custom WorkPlace or message queue Service? Feel free to contact us if you have any questions. Regards, Mariya On behalf of Xafari Client Services Team |