Pranesh Nair
Pranesh Nair

Reputation: 313

WCF Contract Attributes

I am new to WCF so can any one explain what is the use of using the attributes in

Service contract attributes like:

Operation contract attributes like:

Data contract attributes:

Can anyone please help me learn more about these attributes.

Thanks...

Upvotes: 1

Views: 8462

Answers (1)

marc_s
marc_s

Reputation: 754478

The online MSDN documentation is your first source for things like that:

  • Read about the ServiceContractAttribute here
  • Read about the OperationContractAttribute here
  • Read about the DataContractAttribute here

All the MSDN documentation pages contain detailed explanations of all the settings on those contract attributes.

Upvotes: 3

Related Questions