{"id":31065152,"url":"https://github.com/hflexgrig/maui---cleanarchitecture","last_synced_at":"2025-09-15T15:46:11.737Z","repository":{"id":45434489,"uuid":"434997986","full_name":"hflexgrig/MAUI---CleanArchitecture","owner":"hflexgrig","description":"MAUI application template following the principles of Clean Architecture","archived":false,"fork":false,"pushed_at":"2022-08-07T15:54:18.000Z","size":178,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-14T09:47:34.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hflexgrig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-04T20:05:04.000Z","updated_at":"2023-02-02T10:24:07.000Z","dependencies_parsed_at":"2022-08-12T11:52:11.218Z","dependency_job_id":null,"html_url":"https://github.com/hflexgrig/MAUI---CleanArchitecture","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/hflexgrig/MAUI---CleanArchitecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hflexgrig%2FMAUI---CleanArchitecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hflexgrig%2FMAUI---CleanArchitecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hflexgrig%2FMAUI---CleanArchitecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hflexgrig%2FMAUI---CleanArchitecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hflexgrig","download_url":"https://codeload.github.com/hflexgrig/MAUI---CleanArchitecture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hflexgrig%2FMAUI---CleanArchitecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275281945,"owners_count":25437090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-15T15:46:05.090Z","updated_at":"2025-09-15T15:46:11.726Z","avatar_url":"https://github.com/hflexgrig.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MAUI---CleanArchitecture\nMAUI application template following the principles of Clean Architecture\n\nWORK CURRENTLY IN PROGRESS\n\n\n\nhttps://user-images.githubusercontent.com/24684337/145751149-eea4dc3e-5168-4d3b-b373-2ea9b02e18b7.mp4\n\n\n# Technologies\n- [.NET 6 MAUI](https://github.com/dotnet/maui)\n- [Entity Framework Core 6](https://docs.microsoft.com/en-us/ef/core/)\n- [MediatR](https://github.com/jbogard/MediatR)\n- [AutoMapper](https://automapper.org/)\n- [FluentValidation](https://fluentvalidation.net/)\n- [Aspnet Identity authentication with SQLite database](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0\u0026tabs=visual-studio)\n\n# Description\n\n This is sample EShop app. It retrieves data from [Fake Store API](https://fakestoreapi.com/) once, stores it into local SQLite database, consequent times it takes only from local storage. ASPNet Identity authentication used to create new user and sign in.\n \n \nKeep {viewname}**View** {viewModelName}**ViewModel** naming conventions, as assembly scanners from ViewModelLocator will be able to locate and assign BindingContext to it's view. Also on some views don't forget to add\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\u003cContentPage x:Class=\"MAUI.CleanArchitecture.Views.LoginPageView\"\n             xmlns=\"http://schemas.microsoft.com/dotnet/2021/maui\"\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\n     ```\n     xmlns:viewModelBase=\"clr-namespace:MAUI.CleanArchitecture.ViewModels.Base\"\n     viewModeBase:ViewModelLocator.AutoWireViewModel=\"True\"\n     ```\nThis will help ViewModelLocator to find viewModel and set BindingContext\n\t     \n```\n        private static void OnAutoWireViewModelChanged(BindableObject bindable, object oldValue, object newValue)\n        {\n            var view = bindable as Element;\n            if (view is null) return;\n\n            var viewType = view.GetType();\n            \n            if (!ViewToViewModelDict.TryGetValue(viewType, out var viewModelType))\n            {\n                return;\n            }\n\n            var viewModel = ServiceProvider.GetService(viewModelType);\n\n            view.BindingContext = viewModel;\n        }\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhflexgrig%2Fmaui---cleanarchitecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhflexgrig%2Fmaui---cleanarchitecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhflexgrig%2Fmaui---cleanarchitecture/lists"}