Question: how to add reference to system.servicemodel?
Answer: Select Project-> Add Reference and then select the assembly name. The System. ServiceModel namespace is in System. ServiceModel.