24,442 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,742 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 questions
asked 2024-06-06T12:37:47.9133333+00:00
Kim Strasser 686 Reputation points
accepted 2024-06-08T11:59:43.8466667+00:00
Kim Strasser 686 Reputation points
0 answers

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…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,007 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
618 questions
SQL Server Training
SQL Server Training
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Training: Instruction to develop new skills.
5 questions
asked 2024-06-08T10:40:43.1+00:00
Gbenga Banuso Odumosu 40 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,861 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-08T02:59:37.03+00:00
Roberto C 80 Reputation points
answered 2024-06-08T10:34:40.6833333+00:00
Karen Payne MVP 35,201 Reputation points
2 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
asked 2024-06-06T10:23:27.6266667+00:00
Dani_S 3,026 Reputation points
edited a comment 2024-06-08T10:11:21.4166667+00:00
Dani_S 3,026 Reputation points
0 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 questions
asked 2024-06-08T09:03:40.0266667+00:00
Vaibhav Methuku 80 Reputation points
1 answer

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…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
asked 2024-06-07T19:10:18.9433333+00:00
techthiru 20 Reputation points
edited an answer 2024-06-08T08:59:33.3433333+00:00
AgaveJoe 26,581 Reputation points
0 answers

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,742 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
983 questions
asked 2024-06-08T03:23:05.2466667+00:00
ESTEBAN UGALDE 0 Reputation points
1 answer

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…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,760 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,445 questions
asked 2024-06-07T15:16:04.19+00:00
Mohamed Moussa 0 Reputation points
edited an answer 2024-06-08T00:49:47.7633333+00:00
Souleymen Hacini 0 Reputation points
0 answers

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,030 questions
asked 2024-06-06T20:21:19.8266667+00:00
Jaime Stuardo 66 Reputation points
edited a comment 2024-06-07T23:36:04.0233333+00:00
Jaime Stuardo 66 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
asked 2024-06-07T20:43:53.1233333+00:00
muttBunch 80 Reputation points
commented 2024-06-07T23:27:04.2166667+00:00
muttBunch 80 Reputation points
6 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,861 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,742 questions
asked 2022-01-05T11:35:59.977+00:00
cshermak 1 Reputation point
commented 2024-06-07T22:43:06.76+00:00
Roman Zakharchuk 0 Reputation points
1 answer

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…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
asked 2024-06-06T18:52:46.7233333+00:00
techthiru 20 Reputation points
commented 2024-06-07T22:25:51.5433333+00:00
techthiru 20 Reputation points
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
709 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,007 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-07T10:02:04.1466667+00:00
Arthur Menétrey 0 Reputation points
answered 2024-06-07T21:28:42.8333333+00:00
Erland Sommarskog 102.9K Reputation points
0 answers

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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-07T21:23:00.4833333+00:00
Sameer Ranade 0 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,005 questions
asked 2024-06-07T20:44:34.87+00:00
Bernardo Garza García 0 Reputation points
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-07T09:43:53.13+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T20:30:29.25+00:00
AgaveJoe 26,581 Reputation points
3 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T20:08:14.0566667+00:00
Albert Kallal 5,056 Reputation points
3 answers One of the answers was accepted by the question author.

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"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-06T13:53:41.8333333+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T19:57:51.7466667+00:00
AgaveJoe 26,581 Reputation points
0 answers

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:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
783 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,038 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,450 questions
asked 2024-06-07T19:05:07.25+00:00
Rossana Modolin 0 Reputation points
edited the question 2024-06-07T19:10:05.69+00:00
Rossana Modolin 0 Reputation points
2 answers

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…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,909 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
asked 2024-05-20T07:49:05.8166667+00:00
Astha Gangwar 0 Reputation points
commented 2024-06-07T18:22:48.42+00:00
Monalla-MSFT 12,281 Reputation points