Shaking off the WCF rust in 2025

Okay, was looking back through WCF earlier this week for a prospective client, and figured I'd leave some notes. Here's the stock code, give or take: public interface IService { [OperationContract] string GetData(int value); // ... } public class Service : IService { public string GetData(int value) { return string.Format("You entered: {0}", value); } // ... } And all that's in Service.svc is <%@…