-
Thanks Rocky, but uploading a file is not quite what I'm after. I need to be able to send the contents of a file from the client to the server so that said contents can be processed on the server. I am using a CommandBase derived class to do that. In any case, I have discovered what the problem was...why getting the data from the client to the server
-
Yeah, my problem is that the files are large, multi-MB. I tried passing the contents as a string (it's a text file) but the serializer choked big time (yes, I'm using compression). The easiest thing would be to pass the file name from the FileInfo object from the client to the server but that kind of information is off limits in the SL runtime. The
-
I'm currently working on a CSLA Light project, several assemblies in fact. My situation is that I am the only person working on the SL side of things with several other developers working on the server side of things. Using partial classes has removed a lot of friction from the project in several ways. It is easier for multiple developers to work on
-
Can anyone think of a way to get a FileInfo object from the SL client to the WCF server via CSLA?
-
Thank you Rocky, that's what I needed.
-
DataPortalException does not have a BusinessException property, not on the SL client anyway.
-
Under the described circumstances, will I always see a DataPortalException?
-
Thanks for the responses. I'm "catching" the exception in the form of a Csla.Core.SavedEventArgs.Error and I don't see a BusinessException property.
-
I've run into a problem where my exceptions are getting squashed. I am throwing a specific exception in a Child_Update method but as it percolates up through the DataPortal_Update method it is getting squashed by a DataPortalException. I could live with that if the original exception was included as an InnerException but that's not the case. I don't
-
I figured out what the problem was: private static PropertyInfo UsesHostTypeAsIntProperty = RegisterProperty (typeof(Application), new PropertyInfo("UsesHostType", "Uses Host Type")); public int UsesHostTypeAsInt { get { return GetProperty(UsesHostTypeAsIntProperty); } } private static PropertyInfo UsesHostTypeProperty = RegisterProperty (typeof(Application