WCF Service Library vs Class Library project types
问题 What does a WCF Service Library do that a regular class library doesn't? Edit: I posted my own answer. Am I missing anything? Are they fundamentally both just class libraries with a few template classes added? 回答1: I created both and compared. This is what I found. WCF Service Library adds references to System.Runtime.Serialization and System.ServiceModel . does not contain a reference to System.Data.DataSetExtensions as the Class Library does. contains sample service classes IService1 ,