I am trying to save a huge data to database through a WCF service call. I am not able to invoke the service. Its throwing a error.
codeProxy.SaveCodes(reques
Use Stream property in message contract of WCF operation to transfer large objects.
[MessageContract]
public class DocumentDescription
{
[MessageBodyMember(Namespace = "http://example.com/App")]
public Stream Stream { get; set; }
}
Configure your binding this way
To upload large data into SQL Server database use approach described in the following article Download and Upload images from SQL Server via ASP.Net MVC