| .github/workflows | ||
| DaytimeService.NET | ||
| DaytimeService.NET.CLI | ||
| DaytimeService.NET.TestClient | ||
| .gitignore | ||
| DaytimeService.NET.sln | ||
| LICENSE | ||
| README.md | ||
| stylecop.json | ||
DaytimeService.NET
DaytimeService.NET is an implementation of the daytime protocol (RFC867) for C#.
It provides a console application for running the daytime server through the CLI and a test tool for triggering the daytime server. It is developed against .NET Standard 2.0.
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
Microsoft Visual StudioorJetbrains Rider. - You have installed the latest version of
.NET Core SDK.
Using DaytimeService.NET
To build DaytimeService.NET, follow these steps:
- Clone this repository.
- Open the
DaytimeService.NET.slninMicrosoft Visual StudioorJetbrains Rider. - Build it with
Microsoft Visual Studio,Jetbrains Rideror withdotnet build.
For starting the server, follow these steps:
- Build the project with the before mentioned steps.
- Open PowerShell, CMD or terminal.
- Navigate to
pathToProject\DaytimeService.NET\DaytimeService.NET.CLI\bin\Debug\netcoreapp3.1with
cd pathToProject\DaytimeService.NET\DaytimeService.NET.CLI\bin\Debug\netcoreapp3.1
- Run it with
.\DaytimeService.NET.CLI.exe -c <connection-mode> -s <listening-port>
You can get additional help with the help-command. Use it as follows:
.\DaytimeService.NET.TestClient.exe --help
For starting the test client, follow these steps:
- Build the project with the before mentioned steps.
- Open PowerShell, CMD or terminal.
- Navigate to
pathToProject\DaytimeService.NET\DaytimeService.NET.TestClient\bin\Debug\netcoreapp3.1with
cd pathToProject\DaytimeService.NET\DaytimeService.NET.TestClient\bin\Debug\netcoreapp3.1
- Run it with
.\DaytimeService.NET.TestClient.exe -c <connection-mode> -d <port-of-daytime-server> -s <source-port-of-test-client>
You can get additional help with the help-command. Use it as follows:
.\DaytimeService.NET.TestClient.exe --help
Contributing to DaytimeService.NET
To contribute to DaytimeService.NET, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>. - Make your changes and commit them:
git commit -m '<commit_message>' - Push to the original branch:
git push origin <project_name>/<location> - Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
Dependencies
- NET.Core 3.1 for demo test client and demo server
- CommandLineParser 2.8.0
- Library is compatible to .NET Standard 2.0.
Contributors
Thanks to the following people who have contributed to this project:
Contact
If you want to contact me you can reach me at philip.markus.wille@gmail.com.
License
This project uses the following license: MIT.