Conference Track Management
- Install .NET Core 1.1
- Restore the packages (required once). In the solution folder, where Track.sln is, folder execute the followin command:
dotnet restore
- In the project folder, where Track.csproj is, execute the following command:
dotnet build -c release
- Running using the project file. In the project folder, where the Track.csproj is, execute the following command:
dotnet run input.txt
- Running using the binary. Execute the following command with the binary file:
dotnet Track.dll input.txt
- Executing unit tests. In the unit tests project folder, where the UnitTests.csproj is, execute the following
dotnet test
The solution is composed of:
- Models
- Talk : Information about a conference talk.
- Session : Collection of talks that occurs in the morning or in the afternoon.
- TrackDay : Conference day that has a morning and a afternoon session.
- Services
- Parser : Responsible for creating talks from the user input.
- TrackBuilder: Responsible for distributing all the talks in sessions and days.
- Interfaces : Services are implemented using interfaces to be extensible.
The main program is composed of:
- Composition Root: where all modules are put together.
- Execution of the talk parser.
- Execution of the track builder.
Highlights:
- Extensibility: main modules are provided with an interface so it can be replaced in the composition root for evolution.