 Rank: Devotee
Joined: 7/24/2008 Posts: 50 Location: Crewe, UK
|
Hi,
Is it possible by referencing umbraco.dll, cms.dll and businesslogic.dll, for example, to progmatically administer Umbraco via a Win Form application?
There are times where I just want to create a quick application to say import a load of content from an old site or to import a few hundred users.
Obviously it can be done in a web form app in the same application as Umbraco but can it be done independently in win forms? Are the session and httpcontext etc integral to the way Umbraco works?
My main reason is that some long running tasks could time out when doing an import in ASP.NET.
I know there are web services but they don't seem all encompassing at the moment. <<< Might be wrong though.
Cheers
DC.
|
 Rank: Addict
Joined: 3/17/2008 Posts: 982 Location: Nyborg, Denmark
|
Webservices is the only way to go as the rest requires a web context (unfortunately). However the webservices are fully encompassing for basic needs like creating and modifying content, media and members - including uploading images to the media library. You might want to take a look at THöhlers image upload winform application which is on codeplex for inspiration: http://www.codeplex.com/ClientTools4Umbraco
Jeeeez, did I really start this :-)
|