An ASP.NET Core 2.0 microservice exposing an API that writes log messages from external services to a text file.
The following system dependencies are required to build the solution:
Open the solution in Visual Studio, and build / run it for debugging purposes. For build servers, run build.ps1
, which uses Cake for building, running unit tests, and publishing.
Browse to the /swagger
endpoint to view the API methods and test them. The message log file path can be set in appsettings.json
under "MessageLog:FilePath"
. Note the path is relative to the wwwroot
folder.