24,226 questions with .NET-related tags

Sort by: Updated
2 answers

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,307 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,686 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T22:28:36.3666667+00:00
Albert Kallal 4,896 Reputation points
1 answer

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

I created a.net core application in Visual Studio 2022. When I see the properties, I see this: I deployed the application on IIS and this is installed on the server: when I do dotnet --info, I see this: My networking person is telling me that older…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 questions
asked 2024-03-26T21:01:06.98+00:00
Anjali Agarwal 1,386 Reputation points
answered 2024-05-10T22:11:19.7166667+00:00
Bouzid Kobchi 0 Reputation points
2 answers

Issue creating ASP.NET Core web application in Visual Studio 2022

I'm having trouble creating a new ASP.NET Core web application project in Visual Studio 2022. I've tried creating a new project using the built-in templates, but when I do so, nothing appears in the solution that was created, even though the project…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 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,686 questions
asked 2023-02-18T15:14:52.12+00:00
sahar rst 10 Reputation points
commented 2024-05-10T18:07:47.8433333+00:00
Justin Fuller 0 Reputation points
1 answer

Blazor Server Side AuthorizationHandler - PreLoad - HttpContext is Null

I have a Multi-Tenant Blazor Server Side application, that uses Pre-Load to use HttpContext in the Razor Pages. I am setting up Authentication and Authorization using Azure Entra. For Authorization I need to Authorize the user against the Tenant. The…

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,415 questions
asked 2024-05-08T13:56:02.2933333+00:00
Tom McCartan 5 Reputation points
edited an answer 2024-05-10T17:57:12.1466667+00:00
Bruce (SqlWork.com) 57,806 Reputation points
1 answer

iOS build getting a crash with a report

In iOS I am getting a crash in stimulator after launching splash screen. After it crashed i can see a crash report and it mentioned as signal 6 abort trap : 6 as Termination Reason.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
asked 2024-05-09T10:24:55.66+00:00
Vinothkumar Swaminathan 20 Reputation points
answered 2024-05-10T17:27:48.7666667+00:00
Bruce (SqlWork.com) 57,806 Reputation points
1 answer

Issues with EF Update Command and Azure Credentials in ASP.NET Core Application

I am encountering errors while attempting to run an Entity Framework (EF) update command (dotnet ef database update) from my ASP.NET Core application. The application is connected to a database hosted on Azure. After executing the EF update command, I am…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 questions
asked 2024-05-09T18:29:21.49+00:00
Yamen Edel 0 Reputation points
answered 2024-05-10T16:22:42.6+00:00
Yamen Edel 0 Reputation points
1 answer

When application is entered into background mode how we need to process the application to continue in Xamarin forms ios

How to handle when application entered into background mode in Xamarin forms ios? In my case when button click event is done. Before processing entire function the application entered into background mode. So ,how we can continue it in background mode in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
asked 2024-05-10T15:16:29.8033333+00:00
Sk 61 Reputation points
answered 2024-05-10T15:26:33.02+00:00
myannar-2d-tips 0 Reputation points
1 answer

Unable to upload an image to my blob storage account

So i am trying to upload an image to my blob storage and I keep getting this error <Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,484 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.
96 questions
asked 2024-05-03T08:58:12.4+00:00
ProDevs 0 Reputation points
commented 2024-05-10T15:17:17.7933333+00:00
Amrinder Singh 3,165 Reputation points Microsoft Employee
9 answers

Identity scaffolding in .net core 6.0 gives error message "Length cannot be less than zero."

Hello, I've been trying to scaffold various Identity pages, however I keep getting an error dialog which says "There was an error running the selected code generator: 'Length cannot be less than zero. (Parameter 'length')'". . In the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 questions
asked 2022-07-18T13:50:12.27+00:00
Jonathan Feucht 26 Reputation points
commented 2024-05-10T14:44:40.35+00:00
Kenneth R. Jones 46 Reputation points
1 answer One of the answers was accepted by the question author.

Zindex dosent work

I am trying to make a custom control that resembles a Material Design textbox My app is almost there ContentView x:Class="CustomEntry.Controls.CustomEntry" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
asked 2024-05-08T23:17:02.51+00:00
Eduardo Gomez Romero 225 Reputation points
accepted 2024-05-10T12:53:21.3033333+00:00
Eduardo Gomez Romero 225 Reputation points
1 answer

InternalServerError on Azure Web App deployment

Hi, I'm having some trouble figuring out why a deployment for an Azure Web App fails. I've tried deployment to a container app, and an app service, with both GitHub actions workflow and through a web deploy using pubxml. My application runs fine and as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,006 questions
asked 2024-05-10T01:30:24.82+00:00
Cesar Vera 0 Reputation points
answered 2024-05-10T09:46:58.4433333+00:00
JasonPan - MSFT 4,391 Reputation points Microsoft Vendor
0 answers

How to fix .NET Framework error

I have a problem with my .NET Framework, whenever I run programs like Visual Studio, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,795 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,131 questions
asked 2024-04-30T16:02:07.9433333+00:00
Jonathan Joseph 0 Reputation points
commented 2024-05-10T09:12:40.34+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
0 answers

Disable local authentication for Application Insights

Hello, I have a .NET 8 Api App hosted in Azure that sends telemetry to Application Insights. This applications has some web jobs that are configured like this to connect to Application Insights: var connectionString =…

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,860 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,456 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,006 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,816 questions
asked 2024-05-10T08:30:50.8933333+00:00
Angela Calborean 71 Reputation points
edited the question 2024-05-10T09:04:03.9633333+00:00
Angela Calborean 71 Reputation points
0 answers

How to include extra files in Visual Studio Publish for WPF Application?

I have my .net 5 WPF application setup to publish with these settings below. My application is a PRISM (MVVM framework) application and uses a modular structure. The module projects are not directly referenced by the main application project.…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,686 questions
asked 2021-11-18T08:58:02.333+00:00
James Baker 1 Reputation point
commented 2024-05-10T07:55:28.6233333+00:00
James Baker 1 Reputation point
2 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,307 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
305 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 936 Reputation points
commented 2024-05-10T06:52:40.0766667+00:00
Lan Huang-MSFT 26,361 Reputation points Microsoft Vendor
1 answer

Upload de arquivos no ASP.NET 4.6.1

Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,307 questions
asked 2024-05-03T12:47:51.6933333+00:00
Sergio Luiz da Silva 0 Reputation points
commented 2024-05-10T06:51:49.09+00:00
Lan Huang-MSFT 26,361 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,456 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 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,208 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited a comment 2024-05-10T06:35:23.3666667+00:00
JasonPan - MSFT 4,391 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") Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}), ({"B", ({"10-12",…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,854 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,686 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,601 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-10T06:32:29.4533333+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
1 answer

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-10T05:02:14.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
0 answers

我们用webform框架使用edge弹窗用什么方式兼容性最好?

使用webform框架RegisterStartupScript方法注入JS实现弹窗功能,在edge浏览会有卡死的情况。请问有什么好的方式来处理这种兼容性问题?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,307 questions
asked 2024-05-10T02:28:01.4133333+00:00
罡 孙 0 Reputation points
commented 2024-05-10T03:42:42.5466667+00:00
Lan Huang-MSFT 26,361 Reputation points Microsoft Vendor