16,558 questions with .NET-related tags

Sort by: Updated
0 answers

getting error code on newest .net installation in registry editor 0x80131700

whenever i try to start powershell it just closes but i see a flash of it's screen, but i can open x86 version of powershell fine. i wanted to run something on it so i thought why not on this version, but when i run it it says version 4.0.3....…

.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,220 questions
asked Apr 25, 2025, 11:58 AM
Balkaran Singh 0 Reputation points
commented Apr 25, 2025, 12:44 PM
RLWA32 48,151 Reputation points
0 answers

I am providing the icon still facing issue in .net maui single structured project

Validation failed (409) Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 25, 2025, 11:54 AM
Kavitha Vegulla 0 Reputation points
2 answers

how-to-forcefully-set-ies-compatibility-mode-off-from-the-server-side

Hi, I have an application that opens in Edge wih IE mode due to organization policy. From that application we open Blazor application in new tab/window. Due to redirection it also opens in Edge with IE mode and Blazor does'nt wor in IE mode. Please help…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,539 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 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,672 questions
asked Dec 22, 2023, 4:15 PM
Arti Shukla 0 Reputation points
edited a comment Apr 25, 2025, 10:06 AM
AgaveJoe 30,031 Reputation points
1 answer

IP blocked from accessing Microsoft services via .NET HttpClient

Hello, Since today, April 24th, I'm experiencing connectivity issues to most Microsoft services from my public fix IP address given by my hosting provider. Specifically, with dotnet tools (dotnet add package, dotnet restore, or actually anything that…

.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,220 questions
asked Apr 24, 2025, 7:23 PM
Stéphane Royer 0 Reputation points
edited the question Apr 25, 2025, 9:29 AM
Stéphane Royer 0 Reputation points
0 answers

Implementing OIDC client in ASP.NET Framework 4.8 application

Hi, We have our ASP.NET web application which has been developed using .Net Framework 4.8. We have done the authentication using WS Feb (Auth0). It has been configured in Web.Config. I would like to change it to OIDC. Kindly suggest how it can be…

.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,220 questions
asked Apr 25, 2025, 8:01 AM
Banu 20 Reputation points
1 answer

Toasts pop-up and automatic closure issues

hello, I implemented a pop-up box using JavaScript, Here is the JavaScript calling scheme. Toasts: <div class="toast-container bottom-0 end-0 p-3"> <div id="deptStatusChangeTip"…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
29 questions
asked Apr 25, 2025, 6:55 AM
929Free 581 Reputation points
commented Apr 25, 2025, 7:57 AM
929Free 581 Reputation points
4 answers

How to register .net 8 build activex so that test program can run access it from different folder

I can run C:\Windows\syswow64\regsvr32 to register my activex.dll which is stored at the C:\Program Files (x86)\AA but the test program, test.exe, could not access it from C: \Program Files (x86)\BB folder. Any thought?

.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,220 questions
asked Apr 17, 2025, 7:07 PM
Oliver Lan 0 Reputation points
commented Apr 25, 2025, 5:40 AM
RLWA32 48,151 Reputation points
0 answers

Best Practice for Managing Multiple .NET Hosting Bundle Versions on the Same Server

Hi, We currently have a self-contained .NET project (Project A) running on our Windows server, built with .NET Runtime 8.0.10. The application is hosted using IIS, so we also installed the .NET 8.0.10 Windows Hosting Bundle to support it. Now, we are…

.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,220 questions
asked Apr 25, 2025, 4:25 AM
Song Xu 0 Reputation points
0 answers

problem of aspnetcore-browser-refresh.js connection failed.

Microsoft Team, I am working with Visual Studio version 17.13.6 and facing the aspnetcore-browser-refresh.js:350 WebSocket connection to 'wss://localhost:' failed:. issue. Also, I found the below solution from Microsoft, but unfortunately, I cannot find…

.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,220 questions
asked Apr 25, 2025, 4:03 AM
Veerasamy, Shankar (COT) 0 Reputation points
1 answer

Crashing while opening the webview in maui - Net 9

Recently we had migrated our application from the .net 8 to the .net 9. we are having the web view in our application. in the .Net 8 the webview is working fine. where comes to the .net 9 the application is crashing while opening that page with the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 24, 2025, 3:57 PM
Vaibhav Methuku 160 Reputation points
commented Apr 25, 2025, 1:40 AM
Bruce (SqlWork.com) 74,851 Reputation points
1 answer

the rotation is not work as expected?

I am using .net-android and want to use canvas to draw cube and rotate it.this is the code:`public class XyCube { public float width; public float height; public Color Color; public float center_x; public float center_y; public float…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 24, 2025, 7:21 AM
mc 5,206 Reputation points
answered Apr 24, 2025, 9:14 PM
Bruce (SqlWork.com) 74,851 Reputation points
1 answer One of the answers was accepted by the question author.

How to discard/undo a check-out on a DriveItem?

Hello friends, I'm using the latest version of the Microsoft.Graph nuget package for .net. How can I undo a check-out of a DriveItem without creating a new version in the File history? Currently I check-in the DriveItem, get the Version History and take…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,513 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.
11,417 questions
asked Jan 19, 2023, 7:34 AM
Matt Weingartner 25 Reputation points
commented Apr 24, 2025, 4:37 PM
Javier Alvarez 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Why do I keep getting an error when trying to use different packages in a session using a .yml file?

I am trying to run sentiment analysis with flair through an Apache Spark session using a Spark Pool in Azure Synapse Analytics. I need to have several packages that are not pre-installed in synapse, so I am using a .yml file to upload the packages I need…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,307 questions
asked Oct 12, 2021, 8:12 PM
edited a comment Apr 24, 2025, 2:45 PM
Mohamed El-Qassas 1,401 Reputation points MVP
1 answer

AADSTS165000: invalid Request: The request tokens do not match the user context,

MAUI. Android app, use Oauth2D to login. Always get the error: Requestld:50664542-03a0-48dc-b330-acf123cf9f00 Correlationld:27fdf9bd-1dd4-4b3b-a556-34f7c03c17af Timestamp:2025-04-02T02:58:37Z Message:AADSTS165000: invalid Request: The request tokens do…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 2, 2025, 5:47 AM
AlexJK 6 Reputation points
commented Apr 24, 2025, 10:07 AM
Mudasir TheMudasir805 0 Reputation points
0 answers

can not add this jar file to .net android?

this is jar file which to search BLE I can use it in android but can not use it in .net-android WCHBLELibrary.log you can rename this file to jar I create in android binding project and add it. and get dll file and add it to .net-android. If I call the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 24, 2025, 7:50 AM
mc 5,206 Reputation points
4 answers

How to call stored procedure procedure using entity framework core?

I work on asp.net core entity framework I have csharp function done using ado dotnet stored proceure  i need to convert it using entity framwork core with another meaning how to call stored proceure using entity framework core 6 and i don't need to use…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked Jul 8, 2023, 10:24 AM
Ahmed Abd El Aziz 315 Reputation points
answered Apr 24, 2025, 7:14 AM
Gitanza 003 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to obtain the number of rows of data in a table tag through C # code ?

Hello, I want to obtain the number of rows of data in the table tag through C # code, but, However, I couldn't find how to bind table DOM elements. Can you teach me? Thank you test.razor : @page…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
29 questions
asked Apr 23, 2025, 4:42 PM
929Free 581 Reputation points
answered Apr 24, 2025, 6:10 AM
Gitanza 003 0 Reputation points
1 answer

Entity framework 6.0 in .NET framework not reflecting latest table addition in MSbuild

Hi, i have an issue with legacy code using Entity framework 6.0 (DB first) model DLL build from .NET framework 4.6.2 & MS Build 15.0 not reflecting latest table additions after it is build in CI/CD, but works fine, when it is build & run from…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
10 questions
asked Apr 23, 2025, 10:24 PM
Vinjimoor, Bharath 0 Reputation points
edited an answer Apr 24, 2025, 4:15 AM
Pradeep M 7,705 Reputation points Microsoft External Staff
1 answer

HttpClient showing not registered Blazor WebAssembly

How to consume WebApi in blazor webassembly in .net 8 or 9. I added scope Http Client but am still getting the error not registered Http Client. My project is the render InteractiveWebAssembly Project, which has two project Client and Main. …

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
29 questions
asked Apr 23, 2025, 4:18 PM
Prathamesh Shende 401 Reputation points
commented Apr 24, 2025, 3:58 AM
Prathamesh Shende 401 Reputation points
0 answers

How to cancel navigation to a page in .NET MAUI

Please tell me how I can stop navigation to a page in a .NET MAUI Shell app if, for example, the user is not authorized to access the page. I have a nice authentication system and I have access and refresh tokens for communicating with the server, but…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,076 questions
asked Apr 19, 2025, 2:16 AM
Marcus Wolfe 20 Reputation points
commented Apr 23, 2025, 8:33 PM
Bruce (SqlWork.com) 74,851 Reputation points