How gavinlondigital/clubmembershipapplication works
Project type and purpose
• This is a C# console‐based “Club Membership” tutorial application that demonstrates use of EF Core (SQLite), delegates, interface‐based validation, and a simple layered architecture. It consists of two projects:
• ClubMembershipApplication – the main console app with presentation, business logic, data access, and factory code.
• FieldValidatorAPI – a reusable class‐library exposing common regex patterns and validation functions.
File structure
• Top‐level solution file (.sln) and two project folders.
• ClubMembershipApplication/
• Program.cs – bootstraps the app.
• Views/ – console UI views implementing IView.
• Models/ – domain entities (e.g., User).
• Data/ – EF Core DbContext, repository‐style interfaces (ILogin, IRegister) and implementations (LoginUser, RegisterUser).
• FieldValidators/ – interface IFieldValidator plus concrete validators using delegates.
• CommonOutput* – classes handling console output formatting.
• Factory.cs – builds instances and wires dependencies.
• FieldValidatorAPI/
• Provides CommonFieldValidatorFunctions and regex patterns for reuse.
README
• Confirms it’s a tutorial demonstrating C# delegates, EF Core with SQLite migrations, and advises on running migrations before execution.