I'm just getting started with WCF. I created the service and added it to a project. I was able to see my new function but
not my new data contract when I consume the service.
I'm probably missing something simple, but here's my code. On the client end, CompositeType shows up ( the sample ), but
not my object ( TwoInts ).
<DataContract()>
Public Class CompositeType
<DataMember()>
Public Property BoolValue() As Boolean
<DataMember()>
Public Property StringValue() As String
End Class
<DataContract()>
Public Class TwoInts
<DataMember()>
Public Property MyInt1() As Integer
<DataMember()>
Public Property MyInt2() As Integer
End Class
not my new data contract when I consume the service.
I'm probably missing something simple, but here's my code. On the client end, CompositeType shows up ( the sample ), but
not my object ( TwoInts ).
<DataContract()>
Public Class CompositeType
<DataMember()>
Public Property BoolValue() As Boolean
<DataMember()>
Public Property StringValue() As String
End Class
<DataContract()>
Public Class TwoInts
<DataMember()>
Public Property MyInt1() As Integer
<DataMember()>
Public Property MyInt2() As Integer
End Class