25,028 questions with .NET-related tags

Sort by: Updated
0 answers

Distributing WinUI apps with AI

I want to add Phi Silica to my WinUI apps. It`s possible install AI model on users PC as system component or extension for avoiding duplicating if user have few apps using same model? Or I should place models in PublisherCacheFolder?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
752 questions
asked 2024-07-22T17:48:22.51+00:00
Dmytro 0 Reputation points
commented 2024-07-25T02:57:34.5033333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
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,648 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,648 questions
asked 2024-07-24T02:12:43.5233333+00:00
Manfred Koh 0 Reputation points
edited a comment 2024-07-25T01:23:22.9133333+00:00
Manfred Koh 0 Reputation points
2 answers

Why my ASP.NET razor page app cannot access a specific endpoint?

I have an issue with my ASP.NET app where it cannot access a specific endpoint. It throws a 502 error in Azure and a request timed out on my local machine. The endpoint I want to access is the products endpoint. I found that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-22T20:13:11.8566667+00:00
Alex Corsega 0 Reputation points
answered 2024-07-24T22:04:23.6366667+00:00
Alex Corsega 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to use EF Core when two properties in the Principle entity point to the same attribute in the dependent entity?

I have 2 Model classes: Department.cs cs public class Department { public string DepartmentId { get; set; } public string Name { get; set; } public string Description { get; set; } [ForeignKey("FacultyId")] public…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2021-11-01T04:16:37.687+00:00
Uchchay Dugal 21 Reputation points
answered 2024-07-24T21:30:32.9566667+00:00
Hazrat Ali 0 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Core Razor Pages - checkbox asp-for

Hello, New user here, a beginner trying to understand how checkbox asp-for works. In this sample application, I am trying to toggle a checkbox on post by a button, but failing. Having googled, read tutorials and attempted variations, I am still…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-24T06:28:45.1566667+00:00
Joyce 20 Reputation points
accepted 2024-07-24T21:29:44.8433333+00:00
Joyce 20 Reputation points
1 answer

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,888 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-23T20:52:20.9+00:00
Kim Strasser 876 Reputation points
answered 2024-07-24T18:04:50.28+00:00
Bruce (SqlWork.com) 61,731 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,648 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 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,888 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,408 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 5 Reputation points
edited a comment 2024-07-24T16:47:05.44+00:00
sabbir saiyed 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,400 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,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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
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,648 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,629 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 5 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,873 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,500 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 5 Reputation points
commented 2024-07-24T13:44:03.13+00:00
Brendan Daunt 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,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 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,679 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
asked 2024-07-24T12:51:16.5266667+00:00
Selve 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,648 questions
asked 2023-11-29T14:25:52.02+00:00
Matt Bond 5 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,400 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
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,873 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,648 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,989 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,400 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,645 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
1 answer

MAUI MediaElement: How to Include Access Token in Subsequent Video Requests?

I'm using MAUI's MediaElement to stream a video from a server. The video is being served as a static resource, and it's protected, so I need to send an access token when requesting the video. I have the initial URL to fetch the .m3u8 file as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-18T01:59:48.6966667+00:00
Manjunath Vadigeri 0 Reputation points
commented 2024-07-24T09:19:34.2933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor
1 answer

How to convert memory stream to FileResult

I had asked to compress the image file in the following link:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-22T11:35:58.1533333+00:00
Chinmay Dole 140 Reputation points
commented 2024-07-24T09:16:51.31+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,391 Reputation points Microsoft Vendor