Combine 2 Solutions in to 1
I have 2 separate MVC applications (Project1.sln, Project2.sln) using Entity Framework in VS 2019. Both applications work fine if the project/solution is loaded separately. When I add Project2 in Project1, I get a long list of errors. What's the best way…
.Net MAUI desctop app
I am new to programming. I am trying to figure out how to work with MAUI. The problem is that the program does not start in Windows Explorer, but everything works fine from Visual Studio (mobile and desktop versions).Windows11
What is the best way to show the loader while uploading the file in gridview
I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…
Paging Issue in asp.net MVC
I am trying to add paging but get the error: CS1061: 'IEnumerable<Subject>' does not contain a definition for 'PageCount' and no accessible extension method 'PageCount' accepting a first argument of type 'IEnumerable<Subject>' could be…
When attempting to add Microsoft.Windows.Desktop.App 8.0.6 I am getting "Package ... has packagetype 'DotnetPlatform' that is not supported
As part of moving from the deprecated WMPLib.WindowsMediaPlayer class to the current Windows.Media.Playback.MediaPlayer class, I am attempting to properly include the required DLL and all dependencies. The MediaPlayer class is a Windows Desktop 8 class…
Publish App Error
I am seeing the following error when I create any .NET Maui app and try to "Reserve a new app name:""An unexpected error occurred when attempting to reserve the app name" This error is occurring repeatedly for different apps, some in…
Dispose File stream and stream
Hi, Does I handle the dispose in correct way ? Note: This line contentStream.CopyTo(fileStream); can take long time. I got contentStream here from download file from our website. var zipPathForFolderOrPathForFile =…
Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
Sporadic System.Net.Http.HttpRequestException: Error while copying content to a stream.
Hi, I receive this sporadic error in subject while calling HttpClient.PostAsync(url, content). I want to make sure that this is not related to my code. public async Task<HttpResponseMessage> UploadPhotoAsync(string productId, MediaGallery…
How to block same value section on for each loop in XSLT 1
Hi Team, Currently we have a created xslt map with foreach to block looping using single value(PartNumbers) - <PartNumbers>099-923-G</PartNumbers>, in the below example same partnumber(Consideration value) repeating on both…
Where can I find the code for this? WPF Resizing Controls at Runtime
https://www.youtube.com/watch?v=ykphg1P2_ag I need to do something similar to this and I'd like to look at the code for it. This video doesn't give enough detail. Please help, thanks!
Gridview row.cells Unable to cast checkbox as textbox
I have this Gridview where I'm updating a SQL table. Everything works fine until I come across a column that has checkboxes. I'm getting an error message stating unable to cast/convert checkbox to textbox. Here are the lines in question. Dim columnValue…
.net maui grouping data binding not working, displays blank lines.
My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…
How to select multiples images on iOS using .NET MAUI
I'm using .NET MAUI and I want to select multiple images in iOS gallery (photos folder). I tried 2 libraries to do so. The first one is FilePicker, here is the implementation public class PicturePickerImpl : IPicturePicker { async public…
Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring nuget packages in VS 2022.
Hi All, I am getting the error "Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring Nuget packages in VS 2022. I have tried to delete Nuget config file as well but it did not help. Can anyone please…
how to write code in cs file in xamarin.ios?
I create xamarin.ios. there is tabbed application in the default file. there is Main.storyboard some of it code is : <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask…
Gridview ID problem
Hello, I have two gridviews set up. Both of them use the default scrolling buttons. In one gridview if you look at the properties of the scroll > buttons the ID property is missing like this: <input type="image"…
When device is locked/using another app, if Navigation occurs it will fail and leave a blank page.
In android, if the user decides to lock their device, the app shows blank page if the navigation happens during this period. In my scenario we are popping the page. I am using .net 8 Please let me know if you need any other details. thanks in advance.
Seeking Alternatives to UIMenuController for Text Input Field Customization
I'm currently working on migrating a Xamarin.Forms project to MAUI, where I need to customize the behavior of text input fields, especially on iOS. Previously, in Xamarin.Forms, I utilized UIMenuController to manage options like copy, paste, and cut.…