How to extend execution of background task in WinUI 3 (analog of ExtendedExecutionSession in UWP)?
My application has a background task that performs a cleanup of unnecessary or unused system files selected by the user. However, this task takes more than 30 seconds to complete, which exceeds the standard time limit. Question: Is there any way to…
can I return object in razor pages?
can I return object in razor pages? public async Task<object>OnPostDeleteAsync() { return MySuccessMessage(); }
how to use my font in UIGraphics in MAUI?
.ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); }); how to use this font in UIGraphics in ios? new…
Portal returns updated results while the API returns outdated ones
I have created a GPT4 model in Azure OpenAI Service, and I want to add data source which is Azure AI Search (Cognitive Search Service). The problem is at the time of deployment i cannot see any data source adding option, it is deployed first and then…
MAUI CollectionView selected item not shown as selected
Hello. I starts to learn MAUI Enterprise apps patterns and I found en error (or unexpected behavior) in CollectionView. In my example, I have TrainingsViewModel whitch have ObservableCollection of TrainingViewModel property named as AllTrainings. This…
MAUI CollectionView selected item not shown as selected
Hello. I starts to learn MAUI Enterprise apps patterns and I found en error (or unexpected behavior) in CollectionView. In my example, I have TrainingsViewModel whitch have ObservableCollection of TrainingViewModel property named as AllTrainings. This…
getting error on picker when binding data CommunityToolkit.Mvvm
xmlns:viewModels="clr-namespace:Dev.ViewModels" xmlns:models="clr-namespace:Dev.Models" x:DataType="viewModels:LoginViewModel" <Picker ItemsSource="{Binding Genders,Mode=TwoWay}" …
Touch events on background elements triggered when popup is open in .NET MAUI
I am using a ContentView as a popup in my .NET MAUI app. The popup displays correctly, but when I tap inside the popup (e.g., on the title), touch events from background elements (like a Entry or Button) are still triggered. This causes issues like the…
.NetCore 9.0 webAPI published and deployed to IIS gives HTTP Error 404 upon browsing -
Hello, I need some pointers reg. this scenario I am about to describe. I created a .NetCore 9.0 WebAPI and published it to my IIS. My installed IIS version is 10 (v10.0.19041.1). I created separate Application Pool setting the CLR Version to 'No…
When users sign in to my app I can't get their Google profile info
Please view here. The issue is carefully documented with all screen shots etc: https://stackoverflow.com/questions/79424370/how-do-i-get-google-users-profile-details-such-as-their-name-and-pic I ended up with a duplicate question because this Microsoft…
API returns status 200 but empty body after IIS restart or Idle time
I have a .Net core 8 webapi project. it works fine normally. but when it is called after a long idle time or after the iisrestart, returns 200 and the response body is empty. I tried to log the data, and there is data in the log. don't know what is…
How to draw the path as imaged attached
Need to draw the path as shown in the image in .NET Maui, it was implemented in Xamarin forms while converting to MAUI path are not creating same as Xamarin forms used same coordinates to create the path, please help us to create the path. It was…
I'm having an issue with Android SDK not found in Visual Studio Code on Mac(For Run .Net maui)
Error : Android platform failed with an unexpected error: The type initializer for 'AndroidSdk.SdkLocator' threw an exception.. Please verify the Android SDK and JDK installation. Additional information: Android studio (required SDK Tool and emulator)…
I'm having an issue with Android SDK not found in Visual Studio Code on Mac(For Run .Net maui)
Error : Android platform failed with an unexpected error: The type initializer for 'AndroidSdk.SdkLocator' threw an exception.. Please verify the Android SDK and JDK installation. Additional information: Android studio (required SDK Tool and emulator)…
Error when attempting to connect to a Mac
I am getting and error when attempting to connect to my Mac to build my Maui App. The UI says Error: 'I' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0. The log files show the error details below. I have cleared all the caches,…
How to Save a WPF DataGrid Back to Database after Editing
Hi, I am wondering if theirs a way to save a updated Line from WPF DataGrid back to Database . I don't Know the best way to do this without going back to WinForms Apps. I would like to use WPF, any help would be appreciated.
How can I connect to my SQL server from my VM using a .NET application.
I have a .NET application on my azure virtual machine that will not connect to my azure SQL database. I can otherwise connect to the db on my vm using SSMS. My .NET application will connect from my local laptop. I am using ENTRA ID authentication.
How can I connect to my SQL server from my VM using a .NET application.
I have a .NET application on my azure virtual machine that will not connect to my azure SQL database. I can otherwise connect to the db on my vm using SSMS. My .NET application will connect from my local laptop. I am using ENTRA ID authentication.
Visual studio 2022 Maui project unable to compile for .net 9.0-ios target
Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…
Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory
Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory I have Webview2 control in WPF Window as shown below in webViewStrings.xaml file <Window…