Upload photos using Silverlight - Ria Services

I am trying to find a good example when downloading and uploading images using exclusively Silverlgith + Ria Services, I tried to find some, but I could not, please, any help would be appreciated.

Thanks to everyone in advance.

+3
source share
2 answers

I just found a useful walking trough here and be sure to read the tracking that improves the save process and uses the image

+1
source

We did this by saving the images to disk (not in the database) - like this:

Upload image:

  • void UploadJPGImage(string uniqueName, byte[] jpgBytes). ClientAccess. ( ) .
  • Name, GUID

:

  • HTTP - HTTP , URL-, ,
  • , byte[] DownloadJPGImage(string uniqueName)
+1

Source: https://habr.com/ru/post/1756900/


All Articles