Click here to Skip to main content
15,894,343 members
Articles / Programming Languages / C# 9.0

A FluentMigrator Controller and Service for .NET Core

Rate me:
Please Sign up or sign in to vote.
3.80/5 (3 votes)
5 Feb 2022CPOL6 min read 10.1K   152   7  
Manage your database migrations with web API endpoints
I find FluentMigrator to be a great tool for making revisions to a database. It's an easy to learn "fluent" syntax and accommodates 90% of what I need to do, and if there's something unique that needs to be done, it provides an Execute method for custom SQL operations. As I find it useful to provide web API endpoints for performing migrations and checking on the migration version, this article is about how to do that in .NET 6.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Interacx
United States United States
Blog: https://marcclifton.wordpress.com/
Home Page: http://www.marcclifton.com
Research: http://www.higherorderprogramming.com/
GitHub: https://github.com/cliftonm

All my life I have been passionate about architecture / software design, as this is the cornerstone to a maintainable and extensible application. As such, I have enjoyed exploring some crazy ideas and discovering that they are not so crazy after all. I also love writing about my ideas and seeing the community response. As a consultant, I've enjoyed working in a wide range of industries such as aerospace, boatyard management, remote sensing, emergency services / data management, and casino operations. I've done a variety of pro-bono work non-profit organizations related to nature conservancy, drug recovery and women's health.

Comments and Discussions