{"id":15662461,"url":"https://github.com/mhrastegari/mauiblazoruibestpractices","last_synced_at":"2025-05-05T23:43:00.285Z","repository":{"id":92701176,"uuid":"593355978","full_name":"mhrastegari/MauiBlazorUIBestPractices","owner":"mhrastegari","description":"MAUI Blazor Best practices for Mobile and Desktop UI","archived":false,"fork":false,"pushed_at":"2023-12-10T12:39:17.000Z","size":287,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T00:51:11.843Z","etag":null,"topics":["blazor","csharp","dotnet","maui"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhrastegari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-25T20:13:28.000Z","updated_at":"2025-01-28T02:28:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3d34400-47f0-43ab-ba82-23d906918d4c","html_url":"https://github.com/mhrastegari/MauiBlazorUIBestPractices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhrastegari%2FMauiBlazorUIBestPractices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhrastegari%2FMauiBlazorUIBestPractices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhrastegari%2FMauiBlazorUIBestPractices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhrastegari%2FMauiBlazorUIBestPractices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhrastegari","download_url":"https://codeload.github.com/mhrastegari/MauiBlazorUIBestPractices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252596320,"owners_count":21773842,"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","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":["blazor","csharp","dotnet","maui"],"created_at":"2024-10-03T13:32:42.714Z","updated_at":"2025-05-05T23:43:00.263Z","avatar_url":"https://github.com/mhrastegari.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MauiBlazorUIBestPractices\n\nAll you need to take from this repo is these files:\n\n## Mobile UI\n- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css) - Change default browser behaviors on mobile\n- [color.xml](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Platforms/Android/Resources/values/colors.xml) - Change Android default system colors\n- [index.html](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/index.html) - Remove the \"Loadnig...\" text\n- [MainPage.xaml.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/MainPage.xaml.cs) - Change default background color of BlazorWebView\n\nBlog Post: [.NET Maui Blazor best practices for Mobile UI](https://dev.to/mhrastegari/net-maui-blazor-best-practices-for-mobile-ui-4def)\n\n## Desktop UI\n- [app.js](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/scripts/app.js) - Disable macOS context menu\n- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L60) - Change mouse cursor\n- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L17) - Disable dragging images\n- [app.css](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/styles/app.css#L59) - Change items background color on hover and click\n- [App.xaml](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Platforms/Windows/App.xaml) - Change Windows titlebar color\n- [Counter.razor](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Pages/Counter.razor#L7) - Tooltip sample\n- [MainPage.xaml.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/MainPage.xaml.cs#L33) - Disable Windows refresh with F5 key and zooming with mouse wheel\n- [Index.razor.cs](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/Pages/Index.razor.cs) \u0026 [windowSize.js](https://github.com/mhrastegari/MauiBlazorUIBestPractices/blob/master/wwwroot/js/windowSize.js) - Detect window size in our code\n\nBlog Post: [.NET Maui Blazor best practices for Desktop UI](https://dev.to/mhrastegari/net-maui-blazor-best-practices-for-desktop-ui-4peo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhrastegari%2Fmauiblazoruibestpractices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhrastegari%2Fmauiblazoruibestpractices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhrastegari%2Fmauiblazoruibestpractices/lists"}