c# - send image via web service -


i want write 1 program visual studio 2008 (c# , asp) has web application , windows application.

i want clients images in web app(upload) , store them in db (mysql) send these images windows app via web service (so new web service, not web site). have 2 problems:

  1. i have 2 ways store images in mysql, first should have blob field in db -that takes more space-, second should save name of each image in db(so have image in 1 folder) -in way don't know how image clients , store them in folder-. one? or other?

  2. how (code) can transfer image via web service(byte[] or? ).

one of options transfer image using wcf convert image byte array , pass client. convert byte[] image on client side.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -