I have a WCF REST service that has to provide a video in one of its methods. The interface looks like under here (I did not provide the implementation because the problem lies here).
[ContentType]
is recognized but I get a System.Net.Mime.ContentType is a type but is used like a variable
.
Please Help! I know NOT what to do
public interface MyService
{
//stream video from camera
[WebGet(ContentType("video/x-msvideo"), UriTemplate = "video/preview")]
[OperationContract]
Bitmap VideoPreview();
}