Custom Namespaces and Prefix for XML file
I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! desired XML structure: <?xml…
POS for .NET - Arabic characters appear reversed.
Dears, I have issue with printing Arabic characters in POS for .Net. the Arabic word "مرحبا" appears "اب ح رم". I have "EPSON TM-T20II". I used "Epson.opos.tm.setpos.exe" to add device with character set…
How to get Custom Namespaces and Prefix for an XML file?
I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! public class AuditFile { public Header Header { get;…
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…
Xamarin iOS unable to debug over local device iOS 17.1.1
I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…
how to pass data from child table to controller
I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…
Intermittent slowness in website
We have a website that is accessed through the web and also through the android apps given to the sales team. It mostly works fine, and the response is also fast. Of late we noticed (could have been happening earlier also, may have gone unnoticed), but…
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…
.Net-6 docker image from Microsoft Container Registry has vulnerabilities
Hello, I am trying to pull .NET docker images from Microsoft Container Registry and while scanning these images I am seeing below vulnerabilities. Does any body have any suggestion to fix this please? FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine FROM…
How to ignore ETag checking and fix this error
I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…
How to secure web api in asp.net c# (offboarding and crossboarding users.)
Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…
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 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…
internal error in the .NET Runtime at IP 70DE92C3
Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"
Xamarin navigate to page throws "Object reference not set to an instance of an object."
I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…
i cannot open windows default application?
i am trying to open snipping tool ,Paint and Notepad but attached will pop up.
How to update entire MAUI workload to latest? (8.0.20)
How do I update my entire .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…
Entry UnFocused Event not trigger after change value
After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.
On Click of hyperlink Teams chat opening
Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…
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:…