I'm developing my first windows service project.
First, I created a class library project, which contains the class file that does the batch update (see attached code). I've successfully compiled the project into an assembly. I've stepped thru the class file using the immediate window to verify the batch update runs successfully. This class uses a web service (Salesforce API) that I have compiled into an assembly and referenced the assembly within this class library project.
The next step was to create a windows service project. After creating the project, I have my service1.cs file and program.cs file. I added a reference to the above assembly.
My question is how and where do I include the method to start the batch program in the service1.cs file?
See the attached code snippets:
Thanks in advance for any help.
class file from class library project:
using Syste ...
Go to the complete details ...