What is the best way to create an .net rest service including the endpoint, operationcontract and data binding from a config file?
The config file includes for instance:
- Endpoint: www.cars.com
- OperationContract
- GetCarFuel
- GetCarHorsePower
- Data binding:
- GetCarFuel should use or return the dataContract CarFuel
- The same for GetCarHorsePower