.Net Core has excellent support for REST services through ASP.NET Core. In terms of SOAP services, classic .NET handles them with WCF technology. In WCF, service specifications are defined through .NET interfaces and the actual service code is supplied in classes that implement those interfaces.
Endpoints, underlying protocols (HTTP and TCP/IP), and any other features are defined in a configuration file. In turn, the configuration file can be edited with an easy to use configuration tool. Therefore, the developer is responsible for providing just the service behavior as a standard .NET class and for configuring all the service features in a declarative way. This way, the service configuration is completely decoupled from the actual service behavior and each service can be reconfigured so that it can be adapted to a different environment without...