logo logo
Home arrow Robotics Studio... arrow Robotics Developer Studio Resources and Howto arrow How to create a generic contract
Monday, 01 September 2014
 
 
How to create a generic contract Print E-mail
Written by Raúl Arrabales Moreno   
Monday, 03 September 2007

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:

[assembly: ServiceDeclaration(DssServiceDeclaration.DataContract)]

5. Compile.

6. Your other services should implement the proxy file which is generated by step 5.

dssnewservice -i:"MyService.Y2007.M08.Proxy.dll" -s:Foo

(Note the "-i" stands for "implements").


Add as favourites (404) | Quote this article on your site | Views: 11318

  Comments (1)
RSS comments
 1 A new tutorial for Generic Service Decla
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 08-09-2007 08:13
As posted today by Henrik F Nielsen a new couple of tutorials have been added to explain in detail how to create generic contracts: 
Service Tutorial 8 (C#) 
 
And how to use them: 
Service Tutorial 9 (C#)

Only registered users can write comments.
Please login or register.


Related Items:

  1. How to change my password?
  2. Jobs: Two Chair positions for new Centre for Computational Neuroscience and Co
  3. Birmingham Fellows in Robotics and Cognitive Systems
  4. Marie Curie Funded PhD in Cognitive Robotics or Computational Neuroscience
  5. Two Fully-Funded PhD Positions in Intelligent Mobile Robotics
  6. PhD Position in artificial intelligence and robotics
  7. Three Postdoctoral Research Fellowships in Intelligent Mobile Robotics
  8. Post-doctoral scholarships in cognitive robotics – University of Aveiro
  9. Finding papers about consciousness and robotics
  10. Paladyn. Journal of Behavioral Robotics
Last Updated ( Monday, 03 September 2007 )
 





Lost Password?
 Conscious Robots RSS FeedConscious Robots RSS Feed

Find us on Facebook

Follow us on TwitterFollow us on twitter
Spotlight

Machine Consciousness Bibliography Database

 

ConsScale
The Cognitive Machine Consciousness Scale

 
Categories
Last Posts in Forum
 
CR
miel continental