Does anyone know how to add an interface to a .NET service so that parameters can be passed to it?

(The service would sit on a remote machine until it gets sent some stuff from another small app and it would use these parameters to do something.)

Is there any good web material for learning how to do this?
Thanks.