Skip to content

irzyxa/chemistry-portcmis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Chemistry PortCMIS 0.2
=============================

Apache Chemistry PortCMIS is a Content Management Interoperability Services (CMIS)
client library for the .NET framework 4.5 or higher.

See http://chemistry.apache.org/dotnet/portcmis.html for more information.

This release is the initial release.
If you find a problem, please let us know: https://issues.apache.org/jira/browse/CMIS


Libraries
---------

PortCMIS consists of two libraries: PortCMIS and PortCMISWin.

The PortCMIS library is a Portable Class Library and contains the main code.
The PortCMISWin library adds support for Windows Runtime APIs, especially the
Windows.Web.Http.HttpClient. Use it only if you need a specific feature that is
not available with the System.Net.Http.HttpClient.


Use this code to create a session with PortCMIS:

    IDictionary<string, string> parameters = new Dictionary<string, string>() {
        {SessionParameter.BindingType , BindingType.Browser},
        {SessionParameter.BrowserUrl , "http://localhost:8080/inmemory/browser"},
        {SessionParameter.RepositoryId , "A1"},
        {SessionParameter.User , "user"},
        {SessionParameter.Password , "password"}
    };

    ISessionFactory factory = SessionFactory.NewInstance();
    ISession session = factory.CreateSession(parameters);


Use this code to create a session with PortCMISWin:
	
	IDictionary<string, string> parameters = new Dictionary<string, string>() {
        {SessionParameter.BindingType , BindingType.Browser},
        {SessionParameter.BrowserUrl , "http://localhost:8080/inmemory/browser"},
        {SessionParameter.RepositoryId , "A1"},
        {SessionParameter.User , "user"},
        {SessionParameter.Password , "password"}
    };

    ISessionFactory factory = WindowsSessionFactory.NewInstance();
    ISession session = factory.CreateSession(parameters);


Please note that the authentication provider interfaces are different for
PortCMIS and PortCMISWin. Custom authentication provider implementations have
to developed for either PortCMIS or PortCMISWin.
	
	
Change log 
----------

PortCMIS 0.2:

Bug fix release


PortCMIS 0.1:

Initial release

  
Strong-Name signing
-------------------

The DLL included in this release is signed with a public/private key pair that is also 
included in this package. This allows you to deploy it to the global assembly cache (GAC) 
and to make changes to the PortCMIS source code without recompiling your application.
However, since the private key is publicly available, this strong name cannot be trusted.
If a trust relationship between your application and the PortCMIS DLL is important to you, 
you have to rebuild the DLL from the source code and sign it yourself.

About

Mirror of Apache Chemistry PortCMIS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.5%
  • Batchfile 0.5%