logo logo
Friday, 04 July 2008
 
 
English English  Español Español  
Tag Cloud
Architectures Artificial Associations Books Brain Conscious Consciousness Forums Howto Machine Machines Microsoft Neuroscience Projects Publications Research Researchers Reviews Robot Robotics Robots Services Spanish Studio
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").


Related Items:

  1. Microsoft Robotics Studio Pages
  2. How to change my password?
  3. Finding papers about consciousness and robotics
  4. Cognitive Robotics
  5. Polymorphic Robotics
  6. Microsoft Robotics Studio October 2006 CTP
  7. Microsoft Robotics Studio November 2006 CTP
  8. Robotics Studio 1.0 Released
  9. RoboCup Simulator for Robotics Studio
  10. Robotics Studio 1.5 May 2007 CTP

Add as favourites (50) | Quote this article on your site | Views: 1659 | E-mail

  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.

Powered by AkoComment Tweaked Special Edition v.1.4.4

Last Updated ( Monday, 03 September 2007 )
 
 
Top! Top!