Console application with access to Sitefinity API
Hello,
We have a page on the backend that we use to control our indexing via a program called dtSearch. This operation takes about 30+ minutes to complete due to the amount of records returned through our web service. So we decided to set up background process but have been having trouble with threads. So we decided to create an entirely separate console application that would have our list of records supplied to it.
Doing this a couple question arise that I have not been able to get much information on:
1) Since we are using DynamicContent types and we need to update, create and soft delete DynamicContent items is there a way possible for our console application to take advantage of the Dynamic Module manager that comes with Sitefinity?
2) If the above can not be done what is the recommend method for execution of long running process that will need to take advantage of the Dynamic Module not using a console application?
Thank you in advance,
Rixhers Ajazi
Hi Rixhers,
In order to manage the Dynamic Items externally you can create in Sitefinity custom services and using the API to manage them.
Regards,
Svetoslav Manchev
Telerik