Skip to content

Rename to TaskTurnstile; add fluent DI builder and SqlServer table auto-initializer#3

Merged
chunty merged 3 commits intomasterfrom
copilot/rename-to-task-turnstile
May 1, 2026
Merged

Rename to TaskTurnstile; add fluent DI builder and SqlServer table auto-initializer#3
chunty merged 3 commits intomasterfrom
copilot/rename-to-task-turnstile

Conversation

@chunty
Copy link
Copy Markdown
Owner

@chunty chunty commented May 1, 2026

Summary

This PR renames the project from TaskControlTower to TaskTurnstile and adds several improvements.

Changes

Rename: TaskControlTower → TaskTurnstile

  • Renamed solution file (TaskControlTower.slnxTaskTurnstile.slnx)
  • Renamed project files, namespaces, and class names throughout
  • Updated README.md to use turnstile metaphor consistently

New: TaskTurnstileBuilder (fluent DI builder)

  • Adds a fluent builder API for configuring the backing store during service registration
  • Supports AddDistributedStore(), AddDistributedStore(factory), UseTaskStateStore<T>(), and
    UseTaskStateStore(factory)

New: SqlServerTableInitializerHostedService

  • Automatically creates the SQL Server distributed cache table on startup if it doesn't exist
  • Avoids requiring manual schema setup or calling dotnet sql-cache create
  • Decoupled TaskTurnstile.SqlServer from the core TaskTurnstile project reference

New: Directory.Build.props

  • Centralises Microsoft.Extensions.* version selection per target framework (net9.0 / net10.0)

chunty and others added 3 commits May 1, 2026 23:15
…Build.props

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chunty chunty merged commit 95e81b9 into master May 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant