Content
The type 'MediaSessionCompat' exists in both 'Xamarin.Android.Support.Media.Compat' and 'Xamarin.AndroidX.Media'
The type 'MediaSessionCompat' exists in both 'Xamarin.Android.Support.Media.Compat' and 'Xamarin.AndroidX.Media' and probably recognises twice the class MediaSessionCompat. I have tried to delete all Android.Support references and keep only the AndroidX,…
Asp.Net Machine Account
Hello everyone. ASP.NET Machine Account. take over my computer. Every time I open an application, it asks for a password and I don't know what the password is. I have only local account. I need help...
Xamarin Android App Seems to Start Up in the Middle of a Bluetooth Callback Even After Being Removed
I have a Xamarin app build with the latest versions of Xamarin as of when this is being posted. This app uses a bluetooth plugin, but I am not sure that is relevant. One of the first things that is done in this app is to initialize a Logging component.…
App icon not showing in the correct size in Maui
My .SVG app icon is not showing correctly in my Maui app. The icon in my Maui app it looks like this: This Icon if from when I wrote the app in Xamarin on VS 2019. This is how the image shows in my Maui appL I made the following edits…
Why changing a form graphic property will affect the software?
Description: I create a VB.NET Windows Forms application [.net6+] that loads an HTML file using the HtmlAgilityPack library, extracts data from it, and displays it in a list box. Imports System.IO Imports HtmlAgilityPack Public Class Form1 Public…
File uploader component not triggering onUploadProgress in Blazor WASM hosted on IIS
I'm using a file uploader component in Blazor WebAssembly and I've implemented the upload action in JavaScript. The file upload works fine when I run the sample locally, but when I host the sample in IIS, the onUploadProgress function doesn't trigger and…
SsdtHelper.DeployDacPacWithOptions() fails with System.MissingMethodException: Method not found: 'Void Microsoft.SqlServer.TransactSql'
I have a .NET Framework 4.6.1 (upgrading to 4.6.2 doesn't solve it) project that uses DacServices to deploy my database's SSDT on a Docker container. This eventually uses the following code: using (var fileStream = new FileStream(dacpacPath,…
Remote Debug ASP.NET Core on Azure App Service modules not loading and not hitting the breakpoint
I have followed the steps from the below microsoft URL. But windows-->modules are not loading and break point not hitting. https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure-app-service?view=vs-2022
MAUI - Android touch pressure
Hi everybody. I am writing an app using .NET MAUI App (.net 7, latest) , mainly for Android Platform. User draws signs on a tablet screen. I'm using GraphicsView and related Start, End, Drag interaction. For my application I need pressure data too.…
Programmatically Change Field Name at runtime
Is there a way to change the FieldName of a model at runtime instead of using resource files? I'm trying to develop a multi-language set of forms where the FieldName is loaded from a database rather than a resource file. The reason for this is the…
Program does not run even though .NET Desktop Runtime 7.0.2 is installed
I want to run a program called PKHeX. I was told to install .NET Desktop Runtime, so I installed it, but it still looks like the picture above and doesn't work. How do you solve this? Please explain in detail.
Is Webforms javascript scripts secure?
I did a security scan on an app that uses webforms. I found 10 security-related issues in several javascript files. I have not modified these scripts in any way. Can these issues be considered false positives? Most of the issues raised by the security…
how to fix System.IO.FileNotFoundException: 'Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.19.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' or one of its dependencies. The system cannot find the file specified.'
I tried to run a excel file in my application and it is showing me the error mentioned below System.IO.FileNotFoundException: 'Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.19.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17'…
How to hide Cancel button for .Net MAUI SearchBar control for iOS using MAUI handlers?
In .Net MAUI using handlers how can I hide "Cancel button" for SearchBar control when user enters text in SearchBar for iOS? In Xamarin forms this we had implemented using custom renderer like below: protected override void…
Required a Jquery | suming checkbox in aspx form
Hi, I have two gridvies, with one Label <asp:Label ID="Gender" runat="server"></asp:Label> If Lable having Gender Value is "Male" then count Limit is 2 if "Female" then count limit 4 Grid-1 …
How to test a subdomain / webpage in VS, with localhost
Hi, I'm building a ASP.NET MVC app, using VS2019. For this app, the url in Prod should be: www.myapp.com; and the functionality for this application requires a list of pages customied for each client, for example: For client 1, they should go to:…
how to automatically redirect to a page when the session has timeout?
I have a session timeout page, but I don't have an idea on how to automatically redirect to a page when the session has timeout? program.cs builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(options => { …
Invoking azure functions server SignalR group functions from ASP.NET Core Client
I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…
How to reset all input fields in the selected TabItem from a TabControl (WPF/C#)
I have a WPF page, In that page I have inserted a TabControl with 2 TabItems (Add / Update). In each TabItem I could have several "fields" of different types as for example TextBlock, DatePicker, ComboBox, CheckBox.... I would like to introduce…
Call the Button OnClick method generically?
Is it possible to call the Button OnClick method generically? I have tried the following, unfortunately nothing has worked: <Button Type="primary" OnClick="() => OnClick_Reload<CustomerModel>()" /> <Button…