Wednesday, April 18, 2007

Some info about Windows Services in 2.0

This are some tips i've learned about windows services:
  • to debug a windows service, we need to start the service first and attach the debugger to the service's process.
  • you must always create installation components for windows services.
  • the Main method of the service application should always issue the Run command for the services.
  • error messages should be logged in the windows event logger.
  • run your service with the fewest privileges possible to minimize potential damage.

No comments: