0
I MVC 4 및 WCF 서비스를 사용합니다.wcf 서비스에 byte [] 배열 매개 변수 전달
여기 내 서비스를 호출하는 뷰 모델입니다.
The objSwatchClass has a property byte[] of an image.
int updatedSeqNo = objSwatchService.InsertSwatch(objSwatchClass);
내 응용 프로그램의 web.config에 바인딩
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
objSwatchClass에는 이미지에서 볼 수있는 SwatchImage 속성이 있습니다. SwatchImage = imgArray. 그것은 통과했다. 바이트의 속성으로 byte []를 가진 전체 객체를 전달하려고합니다. – Sakthivel