c# - Upload a text file with Azure Mobile Services -


i want create application user after authentication can upload file(txt/xml etc.) using azure mobile services , after can download files uploaded himself.

i've watched lot of tutorials (including one: link ) in case inserts row database table. want same thing, files. how can that?

i'm new this, i'm guessing, should upload files blob storage, , store link in database pointing file? i'm searching best practice.

yes, correct! limited in size if tried store text file field in database. http://azure.microsoft.com/en-us/documentation/articles/mobile-services-windows-store-dotnet-upload-data-blob-storage/ shows how want images.
want change image stream text stream here:

 // new image stream. using (var filestream = await media.openstreamforreadasync()) {     ... } 

and use stream classes instead open file stream: http://msdn.microsoft.com/en-us/library/windows/apps/system.io.stream(v=vs.105).aspx


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -