Source for .NET API
Issue #10 resolved
can you publish the source code for this shiny software?
I would really like to use the API for my private webinterface / .NET API.
If you can't publish, can you point me into the right direction how to create my own API? I already tried slice2cs and got my murmur.cs file but I don't know how I can access / use the classes.
If would be enough if you provide an example how I can get the Servers running in the default ICE connection.
Would really appreciate your feedback.
I thought about that. It's needed some tuning and documentation but now I busy on other projects.
I can't promise but I hope I'll publish sources on GitHub when I'll return to the project. We have great plans to make it base for a new web project.
The main problem for .NET Ice implementation is you must use
Murmur.icethe same version as a Murmur server you connect to. I've made
MurmurAdapter.dllfor that and
MurmurXXX.dllfor each Murmur version, and
MurmurPlugin.dllas a wrapper on Ice connection and classes. It's easier use than direct Ice methods.
If you need not need dynamic version switcher then you can add only
MurmurXXX.dllinto your project references. Don't forget place
Ice.dllnear your program executable.
Usage example (replace
Thanks for you fast response.
Can't you release an unfinished project? I'd really like to contribute to this project.
I know that it must use the same Murmur.ice as my server version. I used the following command on linux to generate the Murmur.cs for my 1.2.8 instance:
I copied the file into my c# project but I can't find the Instance Method within the Murmur Namespace / File. Did I miss some command when I created the .cs file? What command parameters did you use?.
See this gist for my Murmur.cs: https://gist.github.com/Giswald/d9dc28eaab3c69422ec8/edit
I'm talking about DLLs that are distributed with Yulli. For now I can't release unfinished project.
If you use my code above you should not use Murmur.cs that is generated using slice2cs.
For instance, If you reference
Murmur128.dllthen you should replace
Murmur128in my code example.