25,006 questions with .NET-related tags

Sort by: Updated
4 answers

Dynamic Folder Names with AjaxFileUpload

I'm attempting to replace the upload /download pages of our very old ASP classic web site with a web forms app. Keeping as much of the back end stuff the same is important as there is code (mostly VBA in Word, Excel and Outlook) in our daily operation…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,415 questions
asked 2024-07-18T17:04:20.35+00:00
Ken Krugh 116 Reputation points
commented 2024-07-24T16:19:37.1633333+00:00
Ken Krugh 116 Reputation points
2 answers

How to fix error code 2147516556 (0x8000808c) in VS 2022

Reference Library uses .NET 8.0, which I configured it as such. Build is successful but Debugger shows below error and program failed to open. The target process exited without raising a CoreCLR started event. Ensure that the target process is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 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,640 questions
asked 2024-07-24T02:12:43.5233333+00:00
Manfred Koh 0 Reputation points
commented 2024-07-24T16:12:03.16+00:00
Manfred Koh 0 Reputation points
2 answers One of the answers was accepted by the question author.

How and how to return to the main page without losing page data

The page is made with Asp.Net Core Razor Page, In this page >> MAINPAGE (Please see the picture) 1- Populate data and filling dropdown1 Here are the codes: public SelectList TermList { get; set; } public SelectList CourseList { get; set; } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,397 questions
asked 2024-07-22T17:53:32.98+00:00
Ashkan 61 Reputation points
accepted 2024-07-24T16:07:55.0433333+00:00
Ashkan 61 Reputation points
1 answer One of the answers was accepted by the question author.

How to add continuous speech/talk - .NET MAUI Speech

I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2024-07-19T12:58:44.29+00:00
Johnson 81 Reputation points
commented 2024-07-24T16:07:19.32+00:00
Johnson 81 Reputation points
1 answer

ASP.NET Core JWT Authentication Returning Unauthorized(invalid-token 401) for Authenticated Requests in Controller Actions

Hi everyone, I'm encountering an issue with JWT authentication in my ASP.NET Core 8.0 application. While the token generation and authentication seem to work correctly in my AuthenticationController, any requests to other controllers requiring…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,397 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,415 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.
318 questions
asked 2024-07-24T16:02:32.3133333+00:00
Antonio Simonetti 0 Reputation points
answered 2024-07-24T16:04:49.0933333+00:00
Antonio Simonetti 0 Reputation points
4 answers

Azure AD Connect directory sync fails with "SSL/TLS secure channel" error in event log

I have an Azure AD Connect (v2.1.16.0) installation that has recently begun failing during the majority (but not all) of its directory sync attempts. When a directory synchronization fails, the synchronization service manager indicates that it is the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 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,594 questions
asked 2022-08-21T00:37:24.797+00:00
AaronKennedy-2673 6 Reputation points
answered 2024-07-24T15:56:04.2866667+00:00
Bender, Charles 0 Reputation points
0 answers

Will Azure Face Liveness Detection be available on .NET MAUI ?

We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
158 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,640 questions
asked 2024-07-24T15:18:32.8233333+00:00
Maroun ElKady 0 Reputation points
2 answers

C# .NET Bind to CN=Deleted Objects container in domain to list dACL

Hello dear community members, I need some help with C# .NET code to bind to CN=Deleted Objects container in a domain. I tried below methods: In PowerShell - [System.DirectoryServices.DirectoryEntry] In .NET System.DirectoryServices namespace with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,621 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,233 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,640 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,321 questions
asked 2024-07-22T13:59:06.2666667+00:00
iSiek 0 Reputation points
answered 2024-07-24T14:36:52.0166667+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer

An ImageButton with rounded corners does not display well

I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2024-07-18T10:58:16.9666667+00:00
Jalza 761 Reputation points
commented 2024-07-24T14:33:24.2566667+00:00
Jalza 761 Reputation points
1 answer One of the answers was accepted by the question author.

Does System.Text.Json Deserialize into DataTable?

Hello .Net Gurus - I have checked MS Documentation and I couldn't find any example of serialize json data using System.Text.JSON into DataTable. I have .Net Framwork 4.7.2 and did install the System.Text.Json NuGet package. The desrialization is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,872 questions
asked 2020-08-13T21:11:57.34+00:00
Khushi Shaikh 86 Reputation points
commented 2024-07-24T14:18:55.0633333+00:00
Schubert III, William 0 Reputation points
1 answer

Maui Hybrid Power Bi embeded report ios issue

What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…

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,499 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 0 Reputation points
commented 2024-07-24T13:44:03.13+00:00
Brendan Daunt 0 Reputation points
0 answers

Microsoft.Maui version 8.0.70 NuGet packages automatically switch back to 8.0.61

I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project: Error MSB4019 The imported…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,882 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2024-07-23T20:52:20.9+00:00
Kim Strasser 876 Reputation points
edited a comment 2024-07-24T13:42:14.6733333+00:00
Mark Elliott 0 Reputation points
1 answer One of the answers was accepted by the question author.

Build Configurations to change MAUI Settings like ApplicationId

We have a MAUI app that I build for iOS and Android. We use this same code base for 5 different apps that talk to different bluetooth hardware we sell. Each time I switch mobile apps I go into the project properties / App Info and change the Application…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2024-07-23T15:33:44.9333333+00:00
Tony Pitman 80 Reputation points
accepted 2024-07-24T13:29:23.39+00:00
Tony Pitman 80 Reputation points
0 answers

How to mock TaskOrchestrationContext and FunctionContext to get the logger for xUnit Tests in .NET 8 isolated?

If I try to test the activity, fails because it can't mock context and get the mocked logger. Also fails when try to test the http_start, can't create a mocked HttpResponseData. It's a simple durable function with one activity, .net 8 isolated

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,658 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
asked 2024-07-24T12:51:16.5266667+00:00
Selve 0 Reputation points
1 answer

Azure app service reverts to previous version

I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,415 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,882 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,141 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,395 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 5 Reputation points
commented 2024-07-24T12:05:36.8233333+00:00
sabbir saiyed 0 Reputation points
2 answers

Difference between .NET 4.8.0 and 4.8.1

We've found that our program breaks when a machine is updated from .NET 4.8.0 to .NET 4.8.1. Nothing else has changed on the machine. The program is set to target .NET 4.7.2. I know MS isn't going to trouble-shoot our program. But what they can do it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,640 questions
asked 2023-11-29T14:25:52.02+00:00
Matt Bond 0 Reputation points
commented 2024-07-24T11:31:41.08+00:00
DaveInCaz 1 Reputation point
0 answers

Unable to connect Azure SignalR in Dafault mode with .Ner Core app

I have a service made with .Net Core 8, which are Web API with a SignalR Hub. This service will scale horizontally. For this reason I intend to use the Azure SignalR service in Default mode to act as a proxy between the different instances of my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,397 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
136 questions
asked 2024-06-26T10:23:00.21+00:00
César Adriel Airaldo 6 Reputation points
commented 2024-07-24T11:14:08.1266667+00:00
César Adriel Airaldo 6 Reputation points
0 answers

ERROR: An error occurred when writing to the output stream.

My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,222 questions
asked 2024-07-16T11:36:33.8033333+00:00
Kim Strasser 876 Reputation points
commented 2024-07-24T10:32:57.34+00:00
Kim Strasser 876 Reputation points
1 answer

How to fix SystemLoadExecption

Exception has occurred: CLR/System.TypeLoadException An unhandled exception of type 'System.TypeLoadException' occurred in Winappli.dll: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.NotificationActivator' from assembly…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,872 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,640 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,972 questions
asked 2024-07-23T23:13:08.8466667+00:00
Nat323 0 Reputation points
commented 2024-07-24T10:28:00.3+00:00
Viorel 114.7K Reputation points
0 answers

Microsoft Cognitive Services Voise to Text How to Recognise base64string

I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,397 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,640 questions
asked 2024-07-19T15:16:15.11+00:00
Sviatlana 20 Reputation points
commented 2024-07-24T09:50:26.5+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor