cancel
Showing results for 
Search instead for 
Did you mean: 

.NET API through webservices

cederic
Champ in-the-making
Champ in-the-making
Hi

I developped in .NET an API around the webservices that excist for alfresco. This can be used lik en rich clients , asp.net, silveright etc… .

I can now do allready some feutures like. check in check out. Versioning of documents. Insert / download documents etc, . A file browser in .NET etc. And a lot more

All this in a very simple manner like.

AlfrescoWS alfr = new Alfresco("endPointURL", "loginname", "password");

Document doc = alfr.GetDocument("noderef");

or

alfr = alfr.InsertDocument("spacenode","docname","bytestream");


Now I know many people try to accses alfresco through .net in an very easy way, but they stumble fast on the complexity of the webservies … . This can help a lot of dev by a very quick manner.

Now i'm not intend to spread it totally free. But I want some feedback of this should be a hit/success before I tottaly complete every aspect of the api and put in on the internet for a small fee.

By example with the api you could make very easy an office 2007 plugin that interacts great with alfresco.

Cheers
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
I'm sure that there will be takers for your application.   There are frequent questions here.

However
a) Alfresco recommends the use of WebScripts rather than WebServices. 
b) You should probably be using CMIS for those types of operations.  There are already Open Source Java projects in particular OpenCmis/Chemistry.    The .Net equivalents will exist very soon, if not already.

cederic
Champ in-the-making
Champ in-the-making
I'm sure that there will be takers for your application.   There are frequent questions here.

However
a) Alfresco recommends the use of WebScripts rather than WebServices. 
b) You should probably be using CMIS for those types of operations.  There are already Open Source Java projects in particular OpenCmis/Chemistry.    The .Net equivalents will exist very soon, if not already.

Wel for point A.

Imagine that a user uses a scanner to scan a document on a client pc somewhere in the world. The client has a printdriver that prints(read: auto uploads) to alfresco . Something that we realised allready.
I don't think this is possible with webscript. Or am i wrong. I only saw webscript for presentation of content etc… .

for B
Isn't CMIS not a kinda webservice offcoarse I can implement it again to a very easy to use set … ?

Maybe i'll go for it en see where it goes Smiley Happy

mrogers
Star Contributor
Star Contributor
Yes of course you can upload content via web script.   Its a far better approach than sticking the content into an XML wrapper.