EF Core 3.1 - System.InvalidOperationException: 'The entity type 'Pntbec03' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.'
Hello . I need to handle a EF Core Entity relating to a table , but without having EF managing all its columns , but just a subset of them. I have scaffolded the small database to which the table belongs into a DbContext , and I though I could create…
How to play a web mp4 file with headers in MAUI?
I'm trying to player a web media with community's mediaelement,but there isnot any ways to set http headers. In Android, I can use the factory property in exoplayer,but in windows,I can't find any document about using winui's mediaplayer to player a…
How to bring app to the top of all other apps in .Net MAUI mac catalyst
I want to bring the application to the top of all other apps, but i have tried all the below codes, but none of them working as expected. code snippet UIWindow window = UIApplication.SharedApplication.Windows[0]; if (window != null) { …
The type Prism not found in MAUI (prism.form dll not found in MAUI)
public partial class App { private static readonly string StartPage = DebugAppConfig.StartupPage; public App(IPlatformInitializer initializer = null) : base(initializer) { } private Maybe<Uri> LaunchUri { get; set; } =…
building simple MAUI app causes an error
Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.
Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS
I am binding an ObservableCollection to a Carousel view and displaying images and text. What I am noticing is that if I change the contents of the ObservableCollection, the Carousel doesn't reflect the change in realtime. I have to swipe through a few…
In ScrollView, first entry is becoming focus. i need to stop it.
<ScrollView Grid.Column="1" x:Name="myScrollView" WidthRequest="500" > <Border StrokeThickness="2"> <StackLayout> <Entry x:Name="MainEntry"…
How to check crash log sent by Apple review team for iOS .Net MAUI application.
We have developed an application using .Net MAUI in Visual Studio 2022 on Windows machine. Application is working properly on android devices and also working on iPhone device. We upload an application version on Apple App Store, but it was rejected with…
Request targets an app that is not in allowed receiving apps list by WNS
Hello, I have a problem during sending WNS raw notifications to my app on client's computers. I receive this error sometimes, but not for all my clients: 2024-05-29 19:16:06.244 +02:00 [WRN] X-WNS-Debug-Trace: BY3PEPF000195A1 2024-05-29 19:16:06.245…
How To Download .NET Runtime For MSIX Or Appx?
I Want To Use MSIX Hero On My PC And It Requires .NET Runtime 6.0 but i can run exe's for some reason i cant figure out. i am not looking into figure out how to run exes i just want to know or if there is a way do get .NET Runtime 6.0 for msix (bundle)…
How to remove page navigation animation in .Net MAUI?
I am using Appshell for navigation. Appshell.Xaml.cs Routing.RegisterRoute(nameof(LoginPage), typeof(LoginPage)); In Viewmodel relay command i am call the below AppShell.Current.GoToAsync(nameof(LoginPage)); Animation is moving from left to…
Certification configuration: I'm not able to verify my domain
Hello, after developing a Blazor Web App I tried to connect the app with my own domain. So I have to verify my domain to bind the certificate to my app. First step (import certificate to key fault) seems to work (step is checked). But I do not see the…
publish app in mac
Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
How to implement Session time out in .NET MAUI?
Target platform - Widows We need to close the application, if the application is idle for longer then 30 minutes
.Net Maui, ability to access external sd card
With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…
Webrequest populate UserAgent and Headers
asp net version 2.0 asp.net forms with vb.net Dim strData As String = String.Empty Dim wr As HttpWebRequest = Nothing Dim wrRes As HttpWebResponse = Nothing wr = DirectCast(WebRequest.Create(URi),…
ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"
I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…
How can I change BackgroundColor of CustomLabel in Selected Action State Event CreateCustomLableNavigationState method Similar to ListviewItemSelection Event
<ListView x:Name="listView" ItemsSource="{Binding ItemList}" RowHeight="43" Margin="0,-5,0,0" CachingStrategy="RecycleElement"> <ListView.ItemTemplate> …
how to fix this -An error occurred while accessing the file from the web. Please try downloading and opening the file locally.
I'm trying to configure automatic updates in via appinstaller, I had configured my appinstaller and when I open that I'm facing this issue. here's my appinstaller: <?xml version="1.0" encoding="UTF-8"…
Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera
When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…