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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -