How liam-dev96/secw works
Project type and purpose
• SECW is a cross-platform client application built with .NET MAUI.
• It targets mobile (Android, iOS, Tizen) and desktop (Windows, MacCatalyst).
• Purpose: a role‐based environment monitoring and management app. It handles user authentication (login/signup), user management (Admin operations), sensor data interaction, and local data persistence in SQLite.
File structure
• Root files: App.xaml(.cs), AppShell.xaml(.cs) (Shell navigation), MauiProgram.cs (DI & service registration).
• XAML UI pages & code-behind: Login, AdminPage, AdminSettingsPage, ManageUsers, EditUserPage, EnvironmentalScientist, OperationalManager.
• Helpers folder: DatabaseHelper.cs (SQLite CRUD), SensorsHelper.cs (sensor APIs), NullToBoolConverter.cs (UI converter), Password Hasher.py (prototype).
• Platforms: per-OS entry points/manifests under Platforms/{Android, iOS, MacCatalyst, Tizen, Windows}.
• Config & dependencies: SECW.csproj, packages.txt, launchSettings.json.
README for additional insights
• Uses Microsoft.Data.Sqlite for local DB.
• Bcrypt (via NuGet) for password hashing; DataAnnotations for validation.
• Docfx chosen for automated HTML docs from XML comments.
• Commands to restore .NET workloads, install Android workload, add packages, and generate docs.
Detail
– Show AppShell as the navigation root connecting pages.
– Illustrate the platform projects all pointing to the shared code.
– On the side, show Docfx consuming XML comments and producing documentation.