Add Source Code

Dayforce RESTful Web Services Developer Guide

Version
R2025.2.1
ft:lastPublication
2025-11-05T18:19:39.327058
Add Source Code

To complete the sample client application, insert the logic shown in the following sections into the Main method in the Program.cs source file, then compile and execute.

  1. Ensure that you have downloaded and extracted the .NET Sample application.
  2. Right-click the project and click Add > New Folder and name it Models.
  3. Right-click the new Models folder, then click Add > Existing Item.
  4. In the location where you extracted the Sample application, go to \RestNetClient\Model, select all, and click Add.
  5. Right-click the project and click Add > Existing Item.
  6. In the location where you extracted the Sample application, go to \RestNetClient and select all of the files with a .cs extension.
  7. Click Add.