26,308 questions with .NET-related tags

Sort by: Updated
1 answer

Astronomy sample does not build - file path for java src not found.

Severity Code Description Project File Line Suppression State Error (active) XA5301 Failed to generate Java type for class: Google.Android.Material.Behavior.HideBottomViewOnScrollBehavior/IOnScrollStateChangedListenerImplementor due to MAX_PATH:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
asked 2024-12-02T19:45:54.25+00:00
LWG 0 Reputation points
answered 2024-12-02T21:59:52.7266667+00:00
LWG 0 Reputation points
1 answer

Error in our ASP.NET Web Host app after updating to the latest version of Visual Studio 2022

Hi there, We have an ASP.NET solution running on our dev machines, which are Windows Server 2022 Datacenter. Previously, the app was working fine. However, after updating Visual Studio to the latest version (Microsoft Visual Studio Enterprise 2022…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,338 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,177 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.
348 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.
1,056 questions
asked 2024-12-02T01:40:26.98+00:00
Juan-4116 20 Reputation points
edited the question 2024-12-02T21:30:00.6666667+00:00
Juan-4116 20 Reputation points
1 answer

how to get pcm in android in MAUI?

I want to use fftSharp in MAUI both android and ios. and it can not open mp3 or other file to fftsharp how to use it ? how to get pcm in android and ios?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
asked 2024-12-01T14:33:25.2466667+00:00
mc 4,796 Reputation points
answered 2024-12-02T21:06:05.3433333+00:00
Bruce (SqlWork.com) 67,916 Reputation points
1 answer

System.ArgumentException: Options.ClientId must be provided (Parameter 'ClientId')

I am trying to host my .NET core project on windows server IIS, have published the files there but having an error. Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer EventId: 2 SpanId: 15ef495fc1e97c42 TraceId:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,663 questions
asked 2024-11-30T10:41:50.34+00:00
Anisha 0 Reputation points
edited an answer 2024-12-02T20:47:12.3233333+00:00
Bruce (SqlWork.com) 67,916 Reputation points
1 answer

Azure deployment for tutorial failed

The deployment of the tutorial server for "Exercise - Consume a REST service with HttpClient" on azure failed. How do I fix it? [ { "id": "fa64322c470c419da27840996cea099b", "status": 3, …

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
14 questions
asked 2024-12-01T22:29:10.7066667+00:00
Don Beer 0 Reputation points
edited a comment 2024-12-02T20:41:53.74+00:00
Don Beer 0 Reputation points
2 answers

Application_start event not firing in server, but works just fine in debug.

We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,531 questions
asked 2024-10-08T00:55:19.7766667+00:00
Anish Soman 20 Reputation points
answered 2024-12-02T18:00:20.5766667+00:00
Anish Soman 20 Reputation points
1 answer

POST API Call Failing with 405 Error in Azure Static Web Apps

A Blazor WebAssembly app is configured to connect to a SQL database following the guidance in this article: How to host static web apps. The API status is healthy, and GET calls work as expected. However, POST calls to add records to the database return…

Azure SQL Database
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,611 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
998 questions
asked 2024-12-02T16:13:21.29+00:00
Shreyas Rastogi 225 Reputation points
commented 2024-12-02T17:13:22.2633333+00:00
Shreyas Rastogi 225 Reputation points
0 answers

Azure B2C: User not logged out after logoutURI

Hi, I've configured a B2C tenant and built a .NET MVC app to use it as a login. Now, I'm trying add an option for the user to sign out, so a different account can be selected. Signing out of the app is easy, I just do await…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,417 questions
asked 2024-11-29T09:53:38.1933333+00:00
Hannes Dendoncker 20 Reputation points
edited a comment 2024-12-02T17:08:21.3233333+00:00
Hannes Dendoncker 20 Reputation points
2 answers

"The NPM script 'start' exited without indicating that the create-react-app server was listening for requests" In .Net React Application

When I try to run my project I always get this error: I've tried everything I've seen online, and it still fails. I've executed "npm install" and a lot of npm commands I've seen in similar questions online. I've updated npm, node.js…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,663 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,092 questions
asked 2022-03-09T16:10:47.987+00:00
Manuel Rom 1 Reputation point
commented 2024-12-02T16:53:09.1866667+00:00
Bruce (SqlWork.com) 67,916 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix "Disallow the fast IO path for this operation" error in NuGet Package Manager for Visual Studio 2022?

When attempting to install any package from NuGet Package Manager in Visual Studio 2022, the error "Disallow the fast IO path for this operation" appears. To resolve this issue, steps taken include updating Visual Studio, uninstalling antivirus…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,663 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,248 questions
asked 2024-11-30T09:42:44.4433333+00:00
Pipul Rahman 20 Reputation points
accepted 2024-12-02T16:31:45.3433333+00:00
Pipul Rahman 20 Reputation points
1 answer

Build automation - Deployment Center - failing System.Text.Json 8.0.0.4 - Including fix C# ASP.NET

I have getting an error with my latest build using DotNet 8.0 when using the "Deployment Center" on Azure which is connected to my git repo. I couldn't find a fix specifically online so I dug deeper and through trail and error I've come to this…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,663 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,092 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
1,006 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,001 questions
asked 2024-11-25T15:42:56.3866667+00:00
Poelder, Niels 0 Reputation points
edited the question 2024-12-02T16:12:04.2+00:00
simo-k 790 Reputation points
0 answers

Multiple ASP.NET Core Web API instances runs only once

I have an ASP.NET Core 8.0 Web API hosted on two IIS applications (app-1 and app-2) under the Default Web Site on a Windows 11. Both IIS applications point to the same physical path (inetpub\wwwroot\myapp) and each application has its own dedicated…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,663 questions
asked 2024-12-02T08:05:25.4233333+00:00
Adriano Iannotta 0 Reputation points
commented 2024-12-02T16:10:20.7866667+00:00
Adriano Iannotta 0 Reputation points
0 answers

Firebase Analytics not logging events in MAUI .net9 for both iOS and Android ?

Hi, Firebase dashboard is not registering any logs for my MAUI app. I am using Xamarin.firebase.Analytics for Android and AdamE.Firebase.iOS.Analytics for iOS. .csproj <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-ios'"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
asked 2024-12-02T14:09:37.8866667+00:00
Jermin Contractor 0 Reputation points
1 answer

Find Mac address

Hi, I used this code to find mac address,but if there is virtual adapter there is no mac addtess and function return me null, how is can be fix ? I'm in net 8,using MAUI. /// <summary>   /// Get MAC address   /// </summary>   ///…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
asked 2024-11-28T07:32:51.2+00:00
Dani_S 3,806 Reputation points
commented 2024-12-02T14:02:37.3433333+00:00
Trivedi, Tejas 0 Reputation points
1 answer

Find Mac address

Hi, I used this code to find mac address,but if there is virtual adapter there is no mac addtess and function return me null, how is can be fix ? I'm in net 8,using MAUI. /// <summary>   /// Get MAC address   /// </summary>   ///…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,695 questions
asked 2024-11-28T07:32:51.2+00:00
Dani_S 3,806 Reputation points
commented 2024-12-02T14:02:37.3433333+00:00
Trivedi, Tejas 0 Reputation points
0 answers

EfCore owned property state for parent entity

Hi, I use EfCore v8 with some Json columns. My code: // Parent entities public class Project { public Guid Id { get; set; } public string Name { get; set; } public ICollection<KolomMetadata> KolomMetadata { get; set; } } public class…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
761 questions
asked 2024-12-02T13:37:34.0566667+00:00
Arnaud Boussaer 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?

Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,812 questions
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,795 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,092 questions
asked 2024-10-03T02:05:10.09+00:00
MERUN KUMAR MAITY 601 Reputation points
accepted 2024-12-02T13:33:35.3033333+00:00
MERUN KUMAR MAITY 601 Reputation points
1 answer

I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system

Is there a way to disable scaling for all the WPF application even if windows has some scale per monitor or system-wide scale? I need to have WPF windows that is always 1:1 with physical pixels (DPI is always 96), and by this time I found no way to do…

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,795 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,092 questions
asked 2024-08-03T21:54:46.15+00:00
MERUN KUMAR MAITY 601 Reputation points
commented 2024-12-02T13:06:13.28+00:00
MERUN KUMAR MAITY 601 Reputation points
2 answers One of the answers was accepted by the question author.

entity frameowrk

hi iam using dotnet 6 iam new to dotnet can any one tell me is there any way to enable lazy loading for certain queries in dotnet6 s currently enabling globally working its not giving too much improvement in performance and memory use and and also want…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
761 questions
asked 2023-12-13T06:37:55.8366667+00:00
usha 100 Reputation points
commented 2024-12-02T12:05:50.76+00:00
Chat Point 0 Reputation points
1 answer

Capturing the Pixel Color at the Cursor Position Doesn't Return Correct Color on Different DPI Monitors with Multiple Monitor Setup

Hello, In the provided sample, we are trying to capture the pixel color at the cursor position. This works correctly in a single monitor setup and in multiple monitors with the same DPI settings. However, when used in a multi-monitor setup with different…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,962 questions
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,795 questions
asked 2024-12-02T07:16:57.55+00:00
Karthick Arjunan 0 Reputation points
edited an answer 2024-12-02T11:57:24.2966667+00:00
Viorel 118.4K Reputation points