Showing posts with label silverlight. Show all posts
Showing posts with label silverlight. Show all posts

Sunday, June 20, 2010

SilverLight WCF Size Problem



Hello;
I've been recently developing an application using Silverlight 4 as with WCF service back end, so some of the functionalities in the project required to upload dome files and store them in a database, but I had a problem reagrding the size of the uploaded file, after googling a lot; all sites were talking about the configuration of the WCF service and the client (you know maxReceivedMessageSize and maxBufferSize="2147483647" and so...); but after changing the configuration it seemed that the problem remains.

The exception I kept receiving when the file is about 3 MB is:

System.ServiceModel.CommunicationException was unhandled by user code
Message=The remote server returned an error: NotFound…

Today I found out the solution in some site; it has nothing to do with the configuration of the WCF and SL client; it is related to the httpRuntime in system.web :)

So if you had the same problem just add this in system.web in your service config file:

Thursday, November 26, 2009

Advanced Large Scale Applications with Silverlight at PDC 09

Here is a nice presentation by john papa about building large scale silverlight applications, i recommend you to watch it, i will include links for the video, presentation and the source code for a demo presented...Enjoy

Video

Presentation

Demo Source Code