Skip to content

Refactor to minimal APIs, remove MVC controllers#88

Merged
StuartFerguson merged 1 commit intomainfrom
task/#76_use_minimal_api
Feb 26, 2026
Merged

Refactor to minimal APIs, remove MVC controllers#88
StuartFerguson merged 1 commit intomainfrom
task/#76_use_minimal_api

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Replaced ASP.NET Core MVC controllers with minimal API endpoints using handler classes. Removed TransactionMobileConfigurationController and TransactionMobileLoggingController. Introduced TransactionMobileConfigurationHandler and TransactionMobileLoggingHandler for configuration and logging logic. Updated Program.cs to map endpoints directly and removed AddControllers. Cleaned up Models.cs and updated appsettings.json connection string. Project now uses minimal APIs for all HTTP endpoints.

closes #76

Replaced ASP.NET Core MVC controllers with minimal API endpoints using handler classes. Removed TransactionMobileConfigurationController and TransactionMobileLoggingController. Introduced TransactionMobileConfigurationHandler and TransactionMobileLoggingHandler for configuration and logging logic. Updated Program.cs to map endpoints directly and removed AddControllers. Cleaned up Models.cs and updated appsettings.json connection string. Project now uses minimal APIs for all HTTP endpoints.
@StuartFerguson StuartFerguson added the task Tasks and work items label Feb 26, 2026
@StuartFerguson StuartFerguson merged commit 31446cf into main Feb 26, 2026
8 checks passed
@github-actions github-actions Bot deleted the task/#76_use_minimal_api branch April 28, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task Tasks and work items

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert controllers to Minimal API

1 participant