Forum Widgets
Latest Discussions
Is clean architecture overkill for small teams maintaining a single web app ?
I've been exploring clean architecture and while I appreciate its separation of concerns and testability, I can't help but wonder, it is over for small teams ( say 2-4 devs) maintaining a single, relatively stable web application ? Implementing clean architecture means more layers, more interfaces, and potenitally more ceremony, which might slow things down, especially if the team is trying to move quickly or lacks deep experience with the pattern. At the same time, I get the value of long-term maintainability and scalability, even for small projects that could grow. What pain points or benefits did you encounter ? Did it help or hinder onboarding, testing or refactoring ?SolvedJohnDobbinsAug 07, 2025Iron Contributor99Views5likes2CommentsIs it normal for CollectionView to lag on larger lists, or am I missing an optimizaiton ?
I've been working with .NET MAUI recently and have run into some performance concerns when using CollectionView. Specifically, when binding a large dataset ( let's say 500+ items), the scrolling becomes noticeably sluggish, especially on Android I've tried a few basic optimizations, like setting CachingStrategy = "RecycleElement" and minimizing the complexity of the DataTemplate, but the lag persists . I'm not using images or heavy UI elements either, it's just a simple text-based item template. is this kind of lag expected with MAUI's CollectionView or is there a known workaround ? Are there additional performance tuning steps I should try ( virtualization tricks, async loading, grouping) ?SolvedBonillaAug 07, 2025Iron Contributor114Views7likes2CommentsException in .Net MAUI App: "System.ObjectDisposedException: Cannot access a closed Stream" on Andro
I am currently developing a .Net MAUI application where I am making an HTTP call. The peculiar issue I am facing is that the function works perfectly fine on Windows, but when I attempt to execute it on my Local Android Device, it throws an exception after line var response = await client.PostAsync(url, content); > "System.ObjectDisposedException: Cannot access a closed Stream." ``` public async static Task InsertParts(IEnumerable<PartDTO> partsToReport) { using (HttpClient client = GetClient()) { AddAuthorizationHeader(client); string url = $"{Url}/endpoint"; string jsonData = JsonSerializer.Serialize(partsToReport); HttpContent content = new StringContent(jsonData, Encoding.UTF8, "application/json"); var response = await client.PostAsync(url, content); if (!(response.IsSuccessStatusCode)) { throw new Exception($"Failed to insert parts: {response.ReasonPhrase}"); } } } ``` ``` public static HttpClient GetClient() { #if DEBUG HttpClientHandler insecureHandler = new HttpClientHandler(); insecureHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; return new HttpClient(insecureHandler); #else return new HttpClient(); #endif } ``` GET and DELETE works on both platforms The Post operation like this works on both platforms > HttpResponseMessage response = await client.PostAsync($"{Url}/inventory/{id}/{destination}", null); but when I try to put content in the request then it does not work on android but works in Windows.SolvedDragon_SlayerOct 12, 2023Copper Contributor2.8KViews0likes2CommentsInspect the visual tree of a .NET MAUI app IS NOT WORKING!
I am attempting to Inspect a Visual Tree in Windows Maui App and it does not work. Followed the instruction provided on this web page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/live-visual-tree?view=net-maui-7.0&tabs=vswin#find-a-ui-elementInspect the visual tree of a .NET MAUI app I am attempting to see the properties for an element and nothing shows up? It works if I use a WPF Project but not in a MAUI project. Please HelpSolvedhoser1Feb 18, 2023Copper Contributor1.1KViews0likes2CommentsMicrosoft.ACE.OLEDB.12.0 Issue
So I have a C# app that reads from Excel (using Microsoft.ACE.OLEDB.12.0) in order to then add those rows into a larger consolidated sheet. It's worked fine for a long time. Suddenly the past couple of weeks I received trouble reports from endusers that the app isn't functioning. When I debugged it, seems that the Excel source files have zero rows read. No runtime errors or anything. I have verified that the column headings are correct, against the OleDbCommand.CommandText query. And the column headings are based on a generic template that all of these source sheets use. The source sheets have rows of valid data. A year or two ago I recall there was a Windows Update that affected some of these Excel OLEDB operations. Due to MDAC era components being deprecated. Hence why I changed over to ACE OLEDB 12.0. Since I did that this app has run without fail. Anyone know if there was indeed a Windows Update that would've affected things? Running this on Windows 10 Pro. I can provide my source code, although it's been unmodified and is relatively verbose.SolvedgregaricanFeb 17, 2023Copper Contributor1.4KViews0likes1CommentDeveloping a .NET MAUI app on a team using Visual Studio on both Windows and Mac
As the title states, our team consists of developers who use Visual Studio 2022 for Mac and for Windows. We are creating a cross-platform application using .NET MAUI, so I'd assume we should be able to contribute using both. However, we seem to have a problem in our .csproj file. In order for the application to load in the solution on Windows machines, the .csproj file must include these lines: <TargetFrameworks>net7.0-windows10.0.19041.0</TargetFrameworks> <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('mac'))">$(TargetFrameworks);net7.0-maccatalyst</TargetFrameworks> However, in order for them to load on Visual Studio for Mac, we must have these lines: <TargetFrameworks>net7.0-maccatalyst</TargetFrameworks> <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks> Is there any configuration we can put that will allow the project to load on either operating system? As the minority OS user, it is quite annoying to have to edit the .csproj each time I switch git branches.SolvedCCannon94Jan 25, 2023Copper Contributor582Views0likes1CommentMAUI XAML "in-app toolbar" / "xaml inspector" no longer visible
Sorry for using some made up term but I have no idea what this little menu is called. So I referred to it as "xaml Inspector" I have 2 systems opening the same project, one is 17.3 preview 6 and the other is 17.3.2. On the preview version I can see this menu when I debug my MAUI app in Windows. I cannot see it on the 17.3.2 release, which seems to also be part of a wider debugging issue that I'm experiencing. Any idea how to fix this? Maybe I have changed a setting somewhere but am not aware of what. Thanks in advance!SolvednickpatemanAug 25, 2022Copper Contributor1.6KViews1like2CommentsPassing variable to custom controls .NET MAUI
So I'm working on an application that allows the user to create a note and attach it to various entities. Because of this I created the note creation as a ContentView in my .NET MAUI project then I can display it wherever I need it instead of recreating it each time. Is there a way to pass a variable (i.e. contact id from the create contacts page) to the ContentView? 4 days of digging and so far haven't found anything close.SolvedWMLCJoshAug 15, 2022Copper Contributor3.3KViews0likes2CommentsIssue with unexpected capability Microsoft.storeFilter.core.notSupported_8wekyb3d8bbwe
Dear comunity, we are preparing an update of our app on the Microsoft partner Center portal. After uploading the new “.appxupload” package, in addition to the capabilities we defined in the app manifest, we also find the following capability: "Microsoft.storeFilter.core.notSupported_8wekyb3d8bbwe" We tried to execute again the app build, also verifying the app manifest, but we still obtain such extra capability that seems to be added after the upload of “.appxupload” package. We also tried to search in the Web for it, but we didn’t get any clarification. Can you please provide us clarifications about such extra capability? Can be an issue during review phase for the app we have to release? Thank you in advance, Kind regards,SolvedFabbrosJul 15, 2022Copper Contributor1.2KViews0likes2CommentsBuild error MT0057 for .net Maui iOS, Mac Catalyst builds with no problem
I can build and run for Mac Catalyst fine with this command dotnet build -t:Run -f net6.0-maccatalyst MyApp.csproj but when I try to build for iOS using this command dotnet build -t:Run -f net6.0-ios -p:_DeviceName=:v2:udid=********-************** MyApp.csproj I get this error EXEC : error MT0057: Cannot determine the path to Xcode.app from the sdk root '/Library/Developer/CommandLineTools'. Please specify the full path to the Xcode.app bundle. [/Users/chris/Documents/Development/MyApp/src/MyApp/MyApp.csproj] /usr/local/share/dotnet/sdk/6.0.201/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(897,5): error MSB3073: The command "/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.2.302-preview.14.122/tools/bin/mlaunch --launchsim bin/Debug/net6.0-ios/iossimulator-x64/MyApp.app/ --device :v2:udid=********-************ --stdout /dev/ttys000 --stderr /dev/ttys000 --wait-for-exit" exited with code 1. [/Users/chris/Documents/Development/MyApp/src/MyApp/MyApp.csproj] It is odd that it can find XCode for Catalyst but cannot find it for iOS. Any help would be appreciated.Solvedchrismg32Apr 28, 2022Copper Contributor2KViews0likes2Comments
Resources
Tags
- .NET MAUI155 Topics
- Windows Forms63 Topics
- android55 Topics
- ios39 Topics
- Xamarin.Forms34 Topics
- Blazor32 Topics
- Console Apps30 Topics
- WPF30 Topics
- UWP18 Topics
- macos17 Topics