jonthysell / TriviaService

Simple service to ask trivia questions via Windows notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TriviaService

Simple background service to ask trivia questions via Windows notifications.

Screenshot 1 Screenshot 2

Trivia questions provided by the free Open Trivia Database.

Setup

Dependencies

  1. Download and install the .NET 6.0 SDK

Build

dotnet build src\TriviaService.sln

Test

dotnet test src\TriviaService.sln

Usage

  1. Run TriviaService.exe to start
  2. Press Ctrl+C to stop

History

This project was built by Jon Thysell as a part of Microsoft's March 2024 Fix/Hack/Learn event.

Goals

  1. Practice some modern .NET development
  2. Learn how to create a Windows Service
  3. Learn how to call Windows App SDK's WinRT APIs from C#
  4. Learn how to create and consume Windows Notifications
  5. Learn how to connect to a web REST API

Resources

About

Simple service to ask trivia questions via Windows notifications.

License:MIT License


Languages

Language:C# 99.4%Language:Batchfile 0.6%