[mb-devel] Re: No C# Samples?
Mark Garvin
mgarvin at panix.com
Fri Jan 12 20:37:49 UTC 2007
> Mark Garvin wrote / nap?sal(a):
> > Your replies seem to indicate that there is no C# sample code
> > available at present. Picture vs 1000 words and all, wouldn't
> > it be good to have a basic skeleton of a running app in various
> > languages? (especially C#). That would be a good start for the
> > OP, and maybe a compelling illustration for others.
>
> Lukas wrote:
> I've put something simple together, see the attachment. It uses libdiscid
> [1] to
> calculate a DiscID, System.Net.WebClient to get the XML from the web service
> and
> then System.Xml.XmlDocument to parse it to a DOM tree. It's written for
> Linux,
> but I think that porting it to Windows should be only matter of changing
> "libdiscid.so.0" to "discid.dll".
Lukas,
I just noticed your reply. The original never made it to my server.
Anyway, thanks for posting the code. I'll definitely look into it.
Keep up the good work!
And Robert, I appreciate your comments on C# and Ruby. I wonder why
there hasn't been more enthusiasm there. I can't speak for Ruby,
but I love C# (never quite got Java--kept hitting snags).
I think that a few C# samples could get quite a few programmers on
board and enthusiastic, if that's the desired result. Even experienced
programmers can benefit if they have a page of code to compile and
run in their familiar environment. Something to start things rolling.
MG
More information about the MusicBrainz-devel
mailing list