logo logo
Home arrow Robotics Studio... arrow Robotics Developer Studio Resources and Howto arrow How to create a generic contract
Saturday, 11 February 2012
 
 
Main Menu
Home
Conscious Machines...
AI Techniques...
Neuroscience...
Researchers...
Publications...
Reviews...
MC Bibliography
Robotics Studio...
Forums...
Blog...
Frontpage
Upcoming Events
22.Feb. 2012

CogSys 2012
Vienna, Austria
04.Apr. 2012

TSC 2012
Tucson, Arizona
17.May. 2012

EAIS 2012
Madrid, Spain
05.Jun. 2012

Cognition & Consciousness
Menorca. Spain
02.Jul. 2012

ASSC 16
Brighton, UK
02.Jul. 2012

Revisiting Turing and his Test
Birmingham, UK
31.Oct. 2012

BICA 2012
Palermo. Italy
Tag Cloud
Associations Books Conferences Conscious Conscious Machines Consciousness Developer Documentación Documentation Español Machine Machine Consciousness Machines Neuroscience Positions Publications Research Researchers Reviews Robotics Robots Spanish Studio VPL
Spotlight
More
Reader's Preferred
MCexperts List
FAQs
Glossary
Site Map
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 (234) | Quote this article on your site | Views: 9537

  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. Finding papers about consciousness and robotics
  5. Paladyn. Journal of Behavioral Robotics
  6. International Journal of Social Robotics
  7. Cognitive Robotics and Machine Consciousness
  8. Cognitive Robotics
  9. Polymorphic Robotics
  10. Urbi goes Open Source
Last Updated ( Monday, 03 September 2007 )
 





Lost Password?
No account yet? Register
 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