Forums: 

Hello,

 

do you have the SDK for .NET C#?

 

I also search a methode to generate an MusicId from a File.

 

Best regard

Armin

Really. Also I need!

Coming soon... stay tuned!We are planning to add C#, Java and C++ support.

Hi Do you have already planned a date to ship it ?

We have uploaded our latest development build with C# wrapper.

I just downloaded the C# SDK and it looks as if a 2 year old has written it.I don't even dare call it an SDK. Here is a list of shortcommings I found already in less than 10 min

1. there is no documentation in the code, even the 'generated' html pages contain no useful info. Hey're all just EMPTY!!!!!!
2. This is not even a real wrapper, it's just been hauled though a 'freeware' converter and put online. They don't even check WHAT they put online.
3. all the info they place on the website is either missing links, unaxisting links or a lot of BS. I believe they never heard about REAL development before looking at the amateuristic way of working. I've seen opensource projects that were better desinged than this bunch of crap.
a little example:

~GnAlbum() {
Dispose();
}

public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
gnsdk_csharp_marshalPINVOKE.delete_GnAlbum(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}

is supposed to be implemented as follows


~GnAlbum() {
Dispose(false);
}

public override void Dispose() {
Dispose(true);
GC.SuppressFinalize(this);
}

private void Dispose(bool disposing) {
// release managed resources
if (disposing) {
// release managed resources
}
// release native resources.
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
gnsdk_csharp_marshalPINVOKE.delete_GnAlbum(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
}

If you guys ever bothered to read a bok anbout c#, you would know this instead of just writing the shit as if you're working in C++

PS. why can't you just create a single WebAPI that everyone can use. This would make things so much simpeler and more professional. All your wrappers do is make web requests. If you don't know how, hire someone for god sake. It' can be even wriiten in JSP, ASP.NET, ASP,Ruby on Rails, ...)

all you have to do is create a web service. All the code behind it can still remain C, but get's the hassle of for other deverlopers and make use of a single URL. Have a look http://gsoap2.sourceforge.net/ for doing this from C++

Hello, and thanks for your feedback (really!).

This specific Gracenote SDK (GNSDK) is targeting developers who wants to embed Gracenote technology in their application. Gracenote has many applications that need to work both offline and online, so a Web API offering is not enough of a solution for our target customers.

As you’ve noted we’ve been working on bringing our C based SDK to other languages. We currently have 6 languages on top of C being supported. Ensuring these languages (basically, entire SDKs to themselves) are consistent and up to date with each other we’ve gone to creating these wrappers through automated means. The implementation of our C# wrapper is the product of the tool SWIG, which yes is freeware (www.swig.org), but is also actively developed by many commercial and talented private individuals. From our perspective, it’s not the internals of the wrapper that is important (as long as it’s efficient and functional) but that the C# API and Objects reflect the intent and consistency of the GNSDK API overall. Do peruse though the classes hierarchy and you will find that finalize-dispose pattern is implemented. (albeit with a few changes to better suit the way swig handles inheritance for native ptrs). As to the documentation, more of that is on the way. Do take the time to try out the samples in C#.

We are making updates to GNSDK a quickly as possible, with a new one coming soon. We expect steady improvements to the overall API and implementation with each release. If you are really searching for a Web API, check out the link for the Web API on the main developer page.

Best Regards,
-Paul Quinn

can you please tell me where to download the c# sdk from ?

Amazing post! You should join the craftsmanship school in light of the fact that, along these lines, you can win the great cash. In any case, it is all your determination with best essay for you

that which field is beneficial for you. In general, this is a phenomenal wellspring of data. Thank you.

Forum Discussions