The online MSDN documentation is your first source for things like that:
- Read about the ServiceContractAttribute
- Read about the OperationContractAttribute
- Read about the DataContractAttribute
All the MSDN documentation pages contain detailed explanations of all the settings on those contract attributes.