Voice recorder upload in Silverlight 4

Jun 29, 2012 at 8:21 AM

I got a solution which store the audio in wav format. It is of large memory size. i want to upload this recorded audio to the server running on another machine via internet. due its large size (above 4 MB) uploading is very difficult . plz suggest me a suitable method and c# code to get it. whether visual studio 2010 is enough for this activity or i want to seek any other open source dlls for encoding?

Jul 13, 2012 at 5:33 PM

you can search the web for file uploading methods for Silverlight

Jul 13, 2012 at 5:34 PM

there's even a Silverlight upload/multiupload control on codeplex that you could embed in your SL app to do the uploads

Jul 13, 2012 at 5:35 PM

Also note that in IIS need to make a Files subfolder under web appp folder and give modify/write access rights to the AppPool under which the webapp is running

If running from IIS, need to give “IIS APPPOOL\DefaultAppPool” user (or whatever AppPool you’re running the Web Application under at IIS) to the Files subfolder

If you can’t find AppPool related users in your system using the pattern “IIS APPPOOL\”, see http://serverfault.com/questions/81165/how-to-assign-permissions-to-applicationpoolidentity-account for more info

Jul 26, 2012 at 1:52 PM
Edited Jul 26, 2012 at 1:52 PM

The uploader code used in this sample is highly problematic and corrupts large uploads, but managed to replace it and use HSS Interlink (http://interlink.codeplex.com) under the hood.

See the discussion at http://interlink.codeplex.com/discussions/387878 for the code that does upload via interlink library (the resulting project is at http://clipflair.codeplex.com - see Client/AudioUpload solution in the latest sourcecode)

Also with a little work you could replace the audio upload UI with a nicer looking one that uses MVVM concept - http://blog.ondrejsv.com/post/Audio-recorder-Silverlight-4-sample.aspx