Create a Sample .NET Console Client Application

Dayforce RESTful Web Services Developer Guide

Version
R2025.2.1
Create a Sample .NET Console Client Application

This section provides detailed steps for creating a sample console application.

Important: The code provided in this section is a sample only, and not production ready code. You must add the code qualities needed to make it production ready, such as better error handling.

To create a sample .NET console client application, you must:

  • Create a project.
  • Add references.
  • Add source code from the provided samples applications into the Main method in the Program.cs source file.
  • Compile and execute the sample application.

Each of these is described in the following topics: