24,049 questions with .NET-related tags

Sort by: Updated
0 answers

Unauthorized error when logging in with IdentityModel.OidcClient in MAUI

I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,914 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,297 questions
asked 2024-05-09T07:10:13.6466667+00:00
Jalza 736 Reputation points
2 answers

Visual Studio problem

I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,682 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,632 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,297 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
943 questions
asked 2024-05-04T04:29:26.4733333+00:00
Hamoude Assaf 0 Reputation points
answered 2024-05-09T07:06:54.5866667+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
1 answer

System.Data.SqlClient conflict between versions

In a Dll project in C# .Net Framework 4.8 with the latest version of VS I have installed the Nuget package System.Data.SqlClient 4.8.6 but when checking it in the solution explorer, "References", "Properties" appears as 4.6.1.6 and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
asked 2024-05-09T04:28:33.6166667+00:00
zequion 111 Reputation points
answered 2024-05-09T07:03:05.33+00:00
Jiachen Li-MSFT 26,746 Reputation points Microsoft Vendor
0 answers

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,297 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-09T07:01:33.6833333+00:00
Gani_tpt 1,586 Reputation points
1 answer

What NuGet package to I use for Microsoft.Office.Interop.Excel?

I maintain an old ASP.NET WebForms application, which is at .NET Framework level 4.5.2. The original developers incorporated an Excel report in this application. I'm trying to get the app to build using a GitHub Self-Hosted Runner running on one of our…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,525 questions
asked 2024-05-07T21:01:02.6533333+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-09T06:59:48.2+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
1 answer

How to get the index of duplicate elements along with the range of empty elements after it. LINQ

hi Dim ComplexArray As String() = Split("A C A B C A B A B C") 'Need Result As Array (3 dimensional) Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}),…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,837 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,632 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,591 Reputation points
edited the question 2024-05-09T06:52:37.2033333+00:00
Mansour_Dalir 1,591 Reputation points
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,914 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-09T06:44:36.59+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,914 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-09T06:40:06.7433333+00:00
Sreejith Sreenivasan 691 Reputation points
1 answer

How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'

I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 questions
asked 2024-05-08T14:30:44.39+00:00
Preeti Gupta 0 Reputation points
edited the question 2024-05-09T06:37:24.76+00:00
Jiale Xue - MSFT 33,751 Reputation points Microsoft Vendor
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,914 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 20 Reputation points
commented 2024-05-09T06:20:05.5833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,061 Reputation points Microsoft Vendor
0 answers

ASP.NET MVC area issue on IIS 10

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as expected on the local server (server-localhost: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,285 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,193 questions
asked 2024-05-06T10:06:31.3666667+00:00
Mahdi Khardani 0 Reputation points
edited a comment 2024-05-09T06:19:26.4366667+00:00
Yurong Dai-MSFT 2,786 Reputation points Microsoft Vendor
1 answer

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,632 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-09T05:56:56.1966667+00:00
Lan Huang-MSFT 25,871 Reputation points Microsoft Vendor
11 answers One of the answers was accepted by the question author.

TypeScript VS Jquery using for Razor page

Now I am developging using the Razor page with .Net Core . Please help me to to suggest Shoud i used Typescript ro JQuery which one shoud i use ? Please advise . Thank you .

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
asked 2020-12-03T00:46:45.613+00:00
Htet Lin 46 Reputation points
commented 2024-05-09T05:49:46.71+00:00
Bharatkumar Ghode 5 Reputation points
1 answer

The code generator for identity command failing saying No MSBuild was detected?

The code generator for identity command failing saying No MSBuild was detected?

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
6 questions
asked 2024-05-06T13:47:43.7333333+00:00
Muhammad Naeem 0 Reputation points
commented 2024-05-09T05:39:42.3433333+00:00
Pradeep M 475 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,200 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited a comment 2024-05-09T05:25:59.91+00:00
Vijayan, Neethu 0 Reputation points
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,285 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,297 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
edited a comment 2024-05-09T04:46:10.26+00:00
Anjali Agarwal 1,386 Reputation points
0 answers

Tooltip taking more time to render in .Net MAUI Mac catalsyt

I've been using Tooltip text with some views, but it's taking a considerable amount of time to render initially. However, after the first rendering, it works perfectly. Sometimes, it doesn't appear for a longer period, but when I unfocus and refocus the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,914 questions
asked 2024-05-08T06:58:54.9+00:00
Kiran Mohanty 0 Reputation points
edited a comment 2024-05-09T03:16:19.3133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
2 answers

How do I install .NET on a Windows 11 machine

How do I install .NET on a Windows 11 machine?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,411 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,262 questions
asked 2024-05-08T21:59:29.1766667+00:00
Marsha Harner (Applause App Quality LLC) 0 Reputation points Microsoft Vendor
edited an answer 2024-05-09T03:10:47.56+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 30,361 Reputation points Microsoft Vendor
1 answer

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 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.
12,787 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
commented 2024-05-09T03:02:23.4833333+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

how to fix this?

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
94 questions
asked 2024-05-01T10:26:25.1133333+00:00
XareXD 0 Reputation points
commented 2024-05-09T02:54:53.8833333+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor