The commonly used method for uploading files in SharePoint’s Client Object Model API is the Microsoft.SharePoint.Client .SaveBinaryDirect method. For example, calling:
public static void SaveBinaryDirect(
ClientContext context,
string serverRelativeUrl,
Stream stream,
bool overwriteIfExists )
should be quite enough to get through. However, when it comes to Silverlight, the developer is limited to the Microsoft.SharePoint.Client.Silverlight namespace, and the SaveBinaryDirect...(read more)
↧