if you want the source of my current app ask for it! If I can be of any help, count on me too
Well, if you're willing to do some beta testing, that would be a major help already. And if by the end of that you still feel it's a good idea to move your app over to my API, that'd be great.
I thought about implementing a comet message passing, even more, I have part of the code commented on the assembly. But as you can read from my first post it all started as a quick hack for a news year party, long polling was totally out of scope
Yeah, I figured as much, taking the slower approach on my end - hope the party was a success
.
Great for maintenance, but maybe it's not a good idea to mimic the full as is on a web service. Take in account that there are a lot of functions that are dangerous to expose or require input validation before allowing it to go to music bee... even more some functions assume that you are working in .net as the getartwork ones where you receive a base64 encoded bitmap... not so practical for web uses.
I agree, though I would not expect anyone to expose this web service to anything but the local LAN. Still, to be able to use it in the workplace or in a public location, you're right - there should be some restrictions and security.
I didn't have too much trouble with the base64 encoded images - I actually kinda liked the speed of it, so I'm a bit miffed that Steve is now considering dropping it
.
But I do agree that some of the functions don't make all that much sense in a web service, whereas others would require some security. For the applications I have in mind, I don't need to do anything like modifying metadata, so I will probably just skip that functionality. Or perhaps add an option to the configuration panel where you can simple disable that entire category of functions.
For now, I don't want to have to implement authentication or anything of the sort, so the web service should be maximally useful, with a minimum of risk - meanwhile staying as close to the original as possible.
Even more if do you want we can collaborate on that project and make mine an "example implementation" of the web api.
Sounds great, but first I will focus on getting some sort of beta out, then once it takes a beating, we can head that way
.
Out of curiosity, what do you use for a web server in your plugin? I picked a fairly decent embedded web server by the name of HybridDSP.Net HTTPServer, curious to hear what you're hosting your application in, or what you're embedding.