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.
- Ensure that you have downloaded and extracted the .NET Sample application.
- Right-click the project and click Add > New Folder and name it Models.
- Right-click the new
Modelsfolder, then click Add > Existing Item. - In the location where you extracted the Sample application, go to
\RestNetClient\Model, select all, and click Add. - Right-click the project and click Add > Existing Item.
- In the location where you extracted the Sample application, go to
\RestNetClientand select all of the files with a .cs extension. - Click Add.