.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?
so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…
How to upload file and view those file in modal popup using gridview
I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…
Is it possible to create and set styles and/or template for combobox in c# only?
Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…
Azure Functions - Logging not working correctly in local
I have a simple dotnet-isolated Azure function written in .Net 8 which has 1 Http trigger function. I have another custom database logger which is added to this function to enable database logging. When I am executing the function, none of the Microsoft…
Dangerous site - attackers on the site you're trying to visit might trick you
I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…
How to get assignedLicenses from Microsoft Graph
Hi, I am using a C# program to retrieve user information from Microsoft Graph. Currently I am passing the following URL to get the information I need. https://graph.microsoft.com/v1.0/users?$filter=accountEnabled eq true&$select=displayName,id I want…
saving the Identity token in the Aspnetusertokens table
Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
How to remove Bottom Border Textbox | UWP
Hello. I have a native TextBox and I'd like to remove this blue border-bottom in Light and Dark: Focus State: Rest: I'd like to remove all these bottom borders. However, if my SO is in High Contrast mode, I'd like to keep these native borders: …
Recognize whether the user is logged in
In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…
How to fix .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance Error.
Hello, I am seeing this error in the event logs: .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{2EB6DCDB-3250-4D7F-AA42-41B1B84113ED}'. HRESULT: 0x80040154. Process ID (decimal): 28340. Message…
How I get 300 DPI with 648 X 1016 Using SKBitmap
I am trying to PNG image to BMP image via using SKBitmap, the BMP image not set in 300 DPI why? below i mentioned my code, if there is any mistakes please correct my code using (SKBitmap pngBitmap = SKBitmap.Decode(inputFilePath)) { …
OpenXML Error when creating new WorksheetPart on deployed dll
So first off, my code works in a console application. I installed OpenXML via NuGet into the solution. I created a new solution that is a .NET dll library and installed openXML the same way and deployed the dll with the OpenXML dlls and when my dll is…
Why Dataset is empty?
Dear all, I am a beginner in C#. Can you please guide me on how to use parameters? I am not sure why ds.Table[0] is underlined in red. Could you please assist me in resolving this issue ?
Working with Access database via OleDbReader
Hey all I have no problem when all my access mdb are string! I'm using Access database engine 2010 to connect to mdb. The problem occurs when I have Boolean / Integer / Date fields: New OleDbCommand("INSERT INTO tableblah (strfield, intfield,…
Serializing a list of objects
Hello people! I have a structure of the form: public class MasterFiles { public GeneralLedgerAccounts GeneralLedgerAccounts { get; set; } public Customers Customers { get; set; } public Suppliers Suppliers { get; set; } public TaxTable…
Empty space between elements .NET MAUI
The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…
Update/Set SignatureHTML with ExchangeService for Office 365 Users
Hello, Could you please confirm if the code below is not working? If so, I need guidance on how to change the OWA user signature globally, as we plan to reflect the company branding for all users. The OWAConfig does not include any key related to user's…
The problem with the MediaElement in WPF .NET 8.0 not supporting relative paths for the media source,Why?
Hi, I'm attempting to utilize the MediaElement in WPF to play video files with either .mp4 or .wmv extensions. However, I've encountered issues when passing the source as a relative path or a Pack URI. Strangely, it works fine when I provide an absolute…
AuthorizationPermissionMismatch error when accessing blob file with indirect permission in RBAC
Hi, I'm using BlobContainerClient for accessing blobs from code (C#) private async Task<BlobClient> GetBlobClientAsync(string blobName, string container, CancellationToken cancellationToken) { var containerClient = await…