AddMutableTrack mediaType string value
I'm using Swift AVFoundation in MAUI to perform audio file manipulation. As part of that I need to use the AddMutableTrack method. Swift's documentation says to use: let compositionAudioTrack = composition.addMutableTrack(withMediaType:…
Deployment problem - error MSB4186: Invalid static method invocation syntax
I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…
how to check user data
Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…
Binding Errors in a Simple Project
I have carved out a simple project from a larger one to demonstrate the binding errors I am getting so the names I use might seem ... odd. The following is the ENTIRE project: Window…
Multiple forms with common buttons
I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…
Could you suggest anti-tampering solution for .NET MAUI mobile application ?
Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…
How to update MAUI workload to latest (8.0.20)
How do I update my .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version of…
Maui packaged as iOS 17 system failed to send message using udpClient No Route to Host
I have implemented the following code in C#: IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(udpServerIp), udpPort); udpClient.Send(requestBytes, requestBytes.Length, remoteEP); However, Packaging it as Android can send UDP messages, when using…
How can i get current user groups from Azure AD using claims in dotnet core?
I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…
How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"
I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…
How to implement layered architecture?
Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…
Why does daemon app require user sign-in in API service principal?
I am following the code sample here: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/2-Call-OwnApi#register-the-client-app-daemon-console I am not using the sample code API, instead I have a simple test API. Both API…
What could be the potential impact of changing the registry value Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SystemDefaultTlsVersions from 0 to 1. Could it have any negative impacts for other applications, tools, etc...?
User was unable to login to Power BI the login window was not appearing. But after changing the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319\SystemDefaultTlsVersions registry value from 0 to 1 on my machine. It seems to…
Is there a way to minify or bundle or pack blazor wasm js?
Is there a way to minify or bundle or pack blazor wasm js? For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.
How to reference/consumme assembly manifest based on CPU in WPF C# Application project?
I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# project…
.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error
We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file and the…
Edit directly in Grid on WEB Page in Razor
I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…
Cannot access a disposed object when Upload file in Background Service
This is the error I am facing: Error occurred executing workItem. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.String'. at…
Trying to figure out why ocx file wont load form.
Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…
how can my pc allow certain apps to work without ruinning my router?
hello so i have docker and another app and whenever i launch them the internet in the house stop working, some websites like telegram or so still work but other then that the internet doesnt work at all, my question is can i allow the pc in settings or…