SilverlightShow: Uploading and downloading images from WCF in Silverlight Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Uploading and downloading images from WCF in Silverlight <p>any solution on how to get over the 64K exceeded error?</p> <p>i tried the MaxReceiveMessageSize parameter...</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment7545 christroch http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Fri, 17 Feb 2012 15:44:00 GMT Re: Uploading and downloading images from WCF in Silverlight <p>Hi,</p> <p>This is so nice , I want to upload a video in my video folder How can I do ....</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment7376 Devendra http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Sat, 07 Jan 2012 23:51:10 GMT Re: Uploading and downloading images from WCF in Silverlight <p>Dear Gill Cleeren</p> <p>I tried to Upload picture in my project and folow your souce step by step</p> <p>and returns error the remote server returned anerror NotFound</p> <p>error cames from generated code by system</p> <p> </p> <p>public bool EndUpload(System.IAsyncResult result) {</p> <p>           object[] _args = new object[0];</p> <p>           bool _result = ((bool)(base.EndInvoke("Upload", _args, result)));</p> <p>           return _result;}</p> <p> </p> <p>may you please help me?</p> <p>if so please email it via <a href="mailto:imanloo@yahoo.com">imanloo@yahoo.com</a></p> <p>thabk you very much</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment7143 Imanloo http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Tue, 01 Nov 2011 06:57:34 GMT Re: Uploading and downloading images from WCF in Silverlight <p>I hope this blog is still active...</p> <p>Downloaded the source - converted to VS 2010 with no errors...</p> <p>Defaulted to Silverlight 3 and .NET 4.0 framework... following error occured at runtime.</p> <p>Tried Silverlight Version 4 and .Net 3.5 - (all permuntations).. same error?</p> <p>Unrecognized element 'message' in service reference configuration. Note that only a subset of the Windows Communication Foundation configuration functionality is available in Silverlight.</p> <p> </p> <p>Any insights?</p> <p>My REAL issue is another application I have developed wish seem NOT to properly handle MaxReceiveMessageSize... seems no matter what I do - I always get the 65535 exceeded error...</p> <p>Thanks for any assistance.</p> <p>Bob</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment7055 blogan http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 27 Oct 2011 17:16:54 GMT Re: Uploading and downloading images from WCF in Silverlight <p>Muchas Gracias, Funciono Perfecto!! Saludos Mexico</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6608 CesarAmezcua http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Wed, 05 Oct 2011 06:36:43 GMT Re: Uploading and downloading images from WCF in Silverlight Thank you for the sample project. I found a lot how info on this that I could not get to work. Your sample project help save me alot of trial and error. http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6536 bitjunky http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Tue, 20 Sep 2011 19:07:35 GMT Re: Uploading and downloading images from WCF in Silverlight Thank you for the sample project. I found a lot how info on this that I could not get to work. Your sample project help save me alot of trial and error. http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6535 bitjunky http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Mon, 19 Sep 2011 23:02:26 GMT Re: Uploading and downloading images from WCF in Silverlight <p>Gill - I've also read about this solution in your Silverlight Data Services Cookbook.  Can you comment on the steps needed to convert this technique to "streaming" the data between client and service?  Of course you'd have some binding changes, but I'm more concerned with code changes.  <br /> <br /> Also, do you have any comments on adapting this to net.tcp on an intranet?  I'd like the maximum transfer performance but I wonder if there are code changes required or hidden issues beyond simply changing the binding config.</p> <p>Thanks!<br /> Mark</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6534 markaarnold http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Sun, 18 Sep 2011 21:56:13 GMT Re: Uploading and downloading images from WCF in Silverlight <p>Hai sir,</p> <p>   I worked the above program, but i am not able to insert and upload the image in silvelight through wcf service ADO.NET entity , plz give me the solution ( coding and example program )</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6530 skumar http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Sat, 17 Sep 2011 12:31:24 GMT RE: Uploading and downloading images from WCF in Silverlight how did you get round crossdomain problems http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6198 Mark Pearson http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Wed, 25 May 2011 14:03:33 GMT RE: Uploading and downloading images from WCF in Silverlight s it possible to upload and download images using a database, not a class. if it would be possible could you give us a WCF sample code on how to save images in a database. Thank you so much http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment6114 fay http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Wed, 11 May 2011 10:47:34 GMT RE: Uploading and downloading images from WCF in Silverlight Very usefull............... although i was not developing Silverlight application, but it solve me WCF releated problem.<br /> Thanks, Alot............., May Allah Bless you.<br /> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment5529 threekhanz http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 17 Feb 2011 13:45:15 GMT RE: Uploading and downloading images from WCF in Silverlight <p>Excelent post. Very usefull... Thanks!!!!</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment5513 ednsinf http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Tue, 15 Feb 2011 18:15:28 GMT RE: Uploading and downloading images from WCF in Silverlight Thank you very much http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment5397 Matteo http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 27 Jan 2011 18:08:16 GMT RE: Uploading and downloading images from WCF in Silverlight <p>but i m sorry Balaji</p> <p> i m not able to upload  and download the images in database.</p> <p>its giving the message like images uploaded successfully but when i m typing that image name to get it back its say no image exists and even image is not getting stord in database</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment5105 Arati http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 16 Dec 2010 19:46:44 GMT RE: Uploading and downloading images from WCF in Silverlight <p>Hi ,</p> <p>This demo of uploading ang downloading helping me lot in the similar way i need to upload and download any files and files should support  1 GB for uploading and downoading</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment5048 Balaji http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 09 Dec 2010 15:14:09 GMT RE: Uploading and downloading images from WCF in Silverlight Can silverlight be used to personalizie an ecard? http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment4698 distinct http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Sun, 17 Oct 2010 08:57:48 GMT RE: Uploading and downloading images from WCF in Silverlight Great article! It saved me alot work. Thats all i need and as simple as possible. http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment4603 Helianthus87 http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Sun, 03 Oct 2010 22:41:36 GMT RE: Uploading and downloading images from WCF in Silverlight <span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'times new roman'; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"> <p>Hi, thanks for the great article.  I'm trying to test your example out but am running into some problems.  I've created a "Silverlight-enabled WCF Service" in VS2010.  However, when I type in the "filePath = HttpContext.Current.Server.MapPath(".") +..." statement, there's no HttpContext in Intellisense.  </p> <p>A quick Google search informs me that there is no HttpContext in WCF?? </p> <p>Could you please help clarify this?</p> <p>Many thanks in advance!</p> <p>Luck</p> </span> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment4525 Luck http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Tue, 21 Sep 2010 18:54:29 GMT RE: Uploading and downloading images from WCF in Silverlight How can you store an image outside the application boundary ? http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3976 Shrek2 http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Mon, 12 Jul 2010 21:20:43 GMT RE: Uploading and downloading images from WCF in Silverlight Just Wonderful 10x a lot :) http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3727 Georgi http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Fri, 04 Jun 2010 14:01:53 GMT RE: Uploading and downloading images from WCF in Silverlight Interesting work. Nice explanation. http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3646 Girish G. Naik http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Fri, 21 May 2010 09:09:15 GMT RE: Uploading and downloading images from WCF in Silverlight <p>Dear sir,</p> <p>I am not able to upload a file over that 16 kb. Please provide the code for maximum size file storing in database.</p> <p>I did the maximum size setting in web.config file but still not progress.</p> <p>Please suggest me the proper way or setting in config file i am stuck in this</p> <p>thanks</p> <p>Brajesh verma</p> <p>brijmylife@gmail.com</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3642 Brajesh verma http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 20 May 2010 08:40:08 GMT RE: Uploading and downloading images from WCF in Silverlight <p>dear Sir </p> <p>is it possible to upload and download images using a database, not a class. if it would be possible could you give us a WCF sample code on how to save images in a database. Thank you so much </p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3443 rio http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Mon, 19 Apr 2010 18:59:08 GMT RE: Uploading and downloading images from WCF in Silverlight nice concept http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3269 manoj http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Thu, 18 Mar 2010 14:46:50 GMT RE: Uploading and downloading images from WCF in Silverlight <p>The link for the download can be found in the article. For your convenience, here it is: http://www.silverlightshow.net/storage/Uploading%20and%20downloading%20from%20WCF.zip </p> <p>If I understand your question correctly, you want to send the uploaded image from WCF by mail? If so, then the answer is yes.</p> http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3205 Gill Cleeren http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Wed, 10 Mar 2010 09:09:07 GMT RE: Uploading and downloading images from WCF in Silverlight Where can i download the source code, can u email it to me, <a href="mailto:shamrat231@hotmail.com">shamrat231@hotmail.com</a>. By the way is it possible to send the uploaded image as attachment to email in WCF service? thx. Any help appreciated http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx#comment3204 Sharker http://www.silverlightshow.net/items/Uploading-and-downloading-images-from-WCF-in-Silverlight.aspx Wed, 10 Mar 2010 07:06:49 GMT