How can I record the screen of my iOS/Android device in Visual Studio?
I have .NET 8.0 iOS and Android projects in Visual Studio (Windows) and I use .NET MAUI NuGet packages in my projects. I want to record the screen of my iOS/Android game when I debug the project on my iOS/Android tablet. How can I record the screen of my…
How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model
In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async…
CA1416 Warning after upgrading from .NET Framework 4.8 to .NET 8 with Windows Forms
Hello, I recently upgraded my project from .NET Framework 4.8 to .NET 8 and I’m using Windows Forms. Although I’m not getting any errors, I’m seeing some warnings that I would like to resolve. One of the warnings is CA1416, which indicates that…
How to restart the service when time is reach only once a day
Hi, in continue to https://learn.microsoft.com/en-us/answers/questions/1663229/service-monitor how to restart the service when time is reach only once a day ? protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while…
Accounts count sets to 0 in MSAL, after the application auto update. (Windows)
Hello, I hope this message finds you well. I am reaching out to report an issue I am encountering with MSAL authentication in my MAUI application, specifically related to the automatic update process using the embedded appinstaller. Here is the…
URL Rewrite rule not working Http to Https Redirect IIS 10 - Asp.Net Framework 4.8 - aspx - Web Forms
Using URL rewrite module 2.1 in IIS 10 is not working as expected. Here is my requirement I have several web applications running under "Default Web Site". One of them is "WebAppDemo" The Default Web Site has bindings as in the…
When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please
When creating a project as an ASP. NET Web Application (. NET Framework) Empty, MVC in Visual Studio Community 2022 I get this error: Excepction from HRESULT: 0x80040402 I would like to know how to fix it please
Blazor Server OIDC Logout with Keycloak Redirects but Session Not Cleared
have a Blazor Server application configured with OpenID Connect (OIDC) authentication using Keycloak. Login works fine and I can authenticate successfully. However, when I log out, I get redirected to the Keycloak logout page but upon returning to my…
How to activate front camera in MAUI using Media Picker?
Hello... I need to allow my MAUI app users to take a selfie, so that, I need to activate front camera. When using MediaPicker.Default.CapturePhotoAsync rear camera is used. Any help, please? Thanks.
How to save individual files per JSON array
I am writing my own API to talk to CyberArk's API. I have one part complete where it imports a text file containing a list of safes per each line. Example: "safeListFromCyberArk.txt" PasswordManager Test002 Test003 The method opens the…
Toolbox has no items
Visual Studio 22 Windows Forms App has the following message in the Toolbox, "There are no usable controls in this group. Drag an item onto this text to add it to the toolbox." I have tried the reset toolbox and choosing items but neither…
Keep old url but redirect to new url - IIS - Asp.Net - .aspx
Running - IIS 10 - Asp. Net - Web Forms "Web Application" - .NET Framework 4.8 WebAppDemo is a web forms "application" under "Default Web Site" Default Web Site WebAppDemo Allows only a http:80 binding on default port…
Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'
Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…
Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old ASP.NET website to new ASP.NET Core web app
https://stackoverflow.com/questions/78589165/confused-about-how-to-use-microsoft-aspnetcore-systemwebadapters-while-trying-to Can some one tell me how to approach this?
How to fix Signature validation failed when trying to validate an access token of Microsoft Entra ID
Hi, I'm trying to validate my access token signature from Microsoft Entra ID, as you can see in the below image, the "kid" attribute is different from the keys retrieved in the second image below that were retrieved from…
How to hide the modal popup if another modal popup is open in ASP.NET
I am using multiple modal popup window (bootstrap) in the gridview. one is for onclick (link button) second one is for onclick (image button) i have used two different design popup model (dialog). i am facing the issue, when i click linkbutton, it is…
What is the best way to show the loader while uploading the file in gridview
I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…
PDF File not opening in modal popup in asp.net using embed
I am unable to open the pdf file which is located in file server path through modal popup. pls. find below code. <script type="text/javascript"…
Azure.Search.Documents vector search successful, but response is null
I am currently performing vector search according to the code guide that can be found here:…
What is a good way of track link clicks in Asp.Net Core 7 MVC app in Application Insights?
I have an MVC app with several <a> tags, and I want to have a way of tracking link clicks, preferably without doing redirects (i.e., without changing link addresses). Is there any way this can be done? and the link clicks are tracked on Application…