Using LibrariesManager in another program
Hi guys,
I am writing a windows service that needs to update the sitefinity database regularly.
I need it to create and manage image libraries in Sitefinity so I really want it to be able to use the LibrariesManager like so...
LibrariesManager libraries = LibrariesManager.GetManager();<br>
var album = libraries.CreateAlbum();
Of course when I reference this Telerik class and its .dlls in the separate windows service and try and create the LibrariesManager it throws a typeinitialization exception, presumably because it doesn't have a database connection or any configuration.
"Value cannot be null.\r\nParameter name: path1"
How do I configure it to work in a separate program?
Cheers!
Hello Adam,
Sitefinity supports Web services. We do not have any resources available for Windows services. I can recommend you create a WCF service to handle this task. More information on how to implement it can be found in our Documentation.
Regards,
Ivan D. Dimitrov
Telerik
If you're brave, you can try this approach :)
It's not the LibrariesManager buuuuuuut...should be able to get you where you want to be.