I know how to "create" a Service application.
I know what to write in the main() function.
I know how to add an EventLog (or other components) to the service.
I know how to define what happens when the service starts, stops or resumes.
What I want to know is this...
I want my Windows Service to perform certain function (like Indexing files).
Where do I add the code to perform this function in the Service application?