How to build a service assembly containing generic contract(s)?
I asked this question in the MSRS forum as I wanted to test different exploration algorithms with minimal impact in my existing code, and I think the correct way to do it is by defining a DSS generic contract. In this case a Generic Exploration Algorithm Contract.
This is the answer by Dave Lee (MSFT):
How to create a generic contract:
1. Use DssNewService to clone or create a new service.
DssNewService -s:MyService
2. Add your operation types and data contracts, exactly as you would to a service implementation.
3. Delete the service implementation file (MyService.cs).
4. Open AssemblyInfo.cs and change the service declaration to: