Click here to Skip to main content
15,895,831 members

Comments by Dalerico (Top 4 by date)

Dalerico 15-Jan-20 16:39pm View    
Thank you very much sir for your response. I pretty much I believe have done exactly what you mentioned in your post, but I'm having issues decoding the UTF-8 (Base64) back into characters. It's really strange to me that I have 2 additional wcf services (buffered type) requests come through this same entry point and they were encoded and decoded with no issues. I've tried so many different senarios, I can't even decode the buffered data through stream network part of my application. I should of saved the orginal code, because it also attempted to decode the stream as well, but failed to keep the data decoded. Can you look at code snipplet of mines where the stream is coming into the functioning and basically being converting from a string (memoryStream wrapped into a json format) and passed into a inputStreamArray constructor, to be process for decoding?
Dalerico 23-Dec-19 16:07pm View    
Okay then, thanks anyway for your response.
Dalerico 22-Dec-19 21:21pm View    
Thanks for the response, but I didn’t really make my question clear as I should have. Please let me reiterate my question. Can you show me a example of how I could covert the above code to stream for that particular IService Contract.

Example: buffered mode - List<loadalbumtracks> LoadTracksByAlbum(string AlbumID); vs stream mode List<stream> LoadTracksByAlbum(string AlbumID);

Do you have any ideals how I could possibly implement the above proxy Service (LoadTracksByAlbum method) to wrap the TrackUrl property to stream the mp3 file. The TrackUrl property, which is in the foreach statement is where the mp3 file path exist in SQL Server database. And this property basically gets the path of the music mp3 individually and pulls the actual file from a folder that's located on the web server of the application.
Dalerico 22-Dec-19 21:19pm View    
Thanks for the response, but I didn’t really make my question clear as I should have. Please let me reiterate my question. Can you show me a example of how I could covert the above code to stream for that particular IService Contract.

Example: buffered mode - List<loadalbumtracks> LoadTracksByAlbum(string AlbumID); vs stream mode List<stream> LoadTracksByAlbum(string AlbumID);

Do you have any ideals how I could possibly implement the above proxy Service (LoadTracksByAlbum method) to wrap the TrackUrl property to stream the mp3 file. The TrackUrl property, which is in the foreach statement is where the mp3 file path exist in SQL Server database. And this property basically gets the path of the music mp3 individually and pulls the actual file from a folder that's located on the web server of the application.