26,690 questions with .NET-related tags

Sort by: Updated
0 answers

Could not find a part of the path '/tmp/functions\standby\wwwroot/Templates/template1.html'. ReadAllText on Linux Azure functions app seems not to append correct root path.

Following line of code is breaking for Azure function app in Flex Consumption plan with .net 8 Isolated worker, while its working perfectly on local windows machine. Even though I am using Path.Join for platform specific separator. Here templatePath is…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,334 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,214 questions
asked 2025-01-21T12:43:59.6333333+00:00
Abhishek Chandel 0 Reputation points
edited the question 2025-01-21T12:46:25.6433333+00:00
Abhishek Chandel 0 Reputation points
0 answers

Maui app in mac using VS Code stop working

Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-05T08:46:43.92+00:00
Dani_S 3,911 Reputation points
edited a comment 2025-01-21T12:22:55.3133333+00:00
Dani_S 3,911 Reputation points
0 answers

"Issues Finding the Correct Microsoft WebView2 WinForms and Core DLLs with Evergreen Loader DLL

I installed the Microsoft evergreen webview2 runtime back in Dec. I started to develop A WINFORM application using visual studio 2022 community and dotnet 8 targeting x64. After compiling the app I found I was using a wrong version of the winform and…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,426 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,473 questions
asked 2025-01-21T12:03:18.0766667+00:00
GnM Gunn Edm 0 Reputation points
edited the question 2025-01-21T12:07:07.4466667+00:00
GnM Gunn Edm 0 Reputation points
2 answers

Table border issue

Hi, What is wrong below? How to correct it?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,569 questions
asked 2025-01-21T03:55:30.69+00:00
Peter_1985 2,691 Reputation points
edited an answer 2025-01-21T11:32:47.8433333+00:00
AgaveJoe 29,281 Reputation points
0 answers

Called multiple times

Minimal code example AppShellViewModel public partial class AppShellViewModel { private readonly IConnectivity _connectivity; public AppShellViewModel(IConnectivity connectivity, NoInternetPopUp noInternetPopUp) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-14T16:59:23.9566667+00:00
Eduardo Gomez Romero 1,215 Reputation points
commented 2025-01-21T10:15:09.4166667+00:00
Eduardo Gomez Romero 1,215 Reputation points
0 answers

Weird disappearing error

I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
commented 2025-01-21T10:11:55.1433333+00:00
Eduardo Gomez Romero 1,215 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Serilog log file is not creating

I am trying to write all log details to a file and send that to our server using an API. I am using Serilog for this. I did below steps: Installed Serilog, Serilog.Extensions.Logging and Serilog.Sinks.File. MAUIProgram.cs added below code: public static…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-14T13:05:45.6333333+00:00
Sreejith Sreenivasan 921 Reputation points
accepted 2025-01-21T10:08:19.92+00:00
Sreejith Sreenivasan 921 Reputation points
1 answer

Create exe for .NET MAUI windows

I am developing a windows application in .NET MAUI using Visual Studios 2022. I need to test it on another machine so I publish the app and create MSIX file. But when I install the certificate there, it is installed successfully but on executing the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,367 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-20T11:21:50.29+00:00
developer 0 Reputation points
commented 2025-01-21T10:07:28.0766667+00:00
developer 0 Reputation points
2 answers

How to fix Process with an Id of (Random number) is not running

Hi Team, I have been stuck with an error "Process with an Id of (Random number) is not running" and the number keeps on changing every single time. This is what I get in my output window :The program '[17716] iisexpress.exe' has exited…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,367 questions
asked 2025-01-17T18:58:22.0866667+00:00
Dhruvin lad 0 Reputation points
answered 2025-01-21T10:03:55.7133333+00:00
Tianyu Sun-MSFT 32,416 Reputation points Microsoft Vendor
1 answer

Playing Video in WPF

Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,814 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,814 questions
asked 2025-01-21T05:57:40.91+00:00
Prasanth R A 0 Reputation points
commented 2025-01-21T09:44:03.3433333+00:00
Hongrui Yu-MSFT 4,040 Reputation points Microsoft Vendor
1 answer

Playing Video in WPF

Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,814 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,814 questions
asked 2025-01-21T05:57:40.91+00:00
Prasanth R A 0 Reputation points
commented 2025-01-21T09:44:03.3433333+00:00
Hongrui Yu-MSFT 4,040 Reputation points Microsoft Vendor
1 answer

compile binding help

So I am trying to follow the docs <HorizontalStackLayout BindingContext="{x:Reference slider}" x:DataType="Slider"> <Label Text="{Binding Value}" /> <Label Text="{Binding Text,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-15T13:54:16.1466667+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited a comment 2025-01-21T09:31:37.5+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,751 Reputation points Microsoft Vendor
0 answers

How do I add a dataset to an RDLC report, and why does an "An unhandled exception occur in the component of the application" when adding a dataset? If you click Continue, the program will ignore the error and attempt to maintain it. “

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,367 questions
asked 2025-01-21T09:27:12.6833333+00:00
SDL SD 0 Reputation points
1 answer

Requirements to register and authenticate a .NET desktop app in M365

Hi, all. I have a .NET desktop application (C# + WPF) which is to be registered in Microsoft Store and made available via subscription. Part of the process is clear, such as having authentication via MSAL (which I understand as having the user…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,528 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 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,919 questions
asked 2025-01-13T17:49:26.8733333+00:00
Saulo Silva 0 Reputation points
edited an answer 2025-01-21T09:18:28.9033333+00:00
Janaki Kota 230 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MSAL Android Xamarin Stuck Dialog - "Are you trying to sign in to {your_appname}"?

We are using MSAL through Azure Portal in single tenant mode. This dialog comes up and pressing the buttons gives nothing. Pressing "continue" does nothing and no output comes to the debugger Pressing "cancel" does nothing…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,371 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,919 questions
asked 2021-09-29T17:42:53.127+00:00
joel schaubert 101 Reputation points
commented 2025-01-21T08:57:39.4266667+00:00
Vassis, Manolis 0 Reputation points
1 answer

COMException -2147023728 when calling BackgroundTaskRegistration in MAUI WinUI project

I downloaded the C#/WinRT example here for implementing background tasks and it runs successfully, but it's a WPF app. Attempting to do the same in a single or multi-project MAUI app results in COMException -2147023728 when calling…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-17T01:50:11.8166667+00:00
ishebewhat 1 Reputation point
answered 2025-01-21T08:51:08.0633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,751 Reputation points Microsoft Vendor
1 answer

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
commented 2025-01-21T07:38:01.4333333+00:00
Ruikai Feng - MSFT 2,591 Reputation points Microsoft Vendor
1 answer

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,744 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
commented 2025-01-21T07:38:01.4333333+00:00
Ruikai Feng - MSFT 2,591 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unable to Save Edited DOCX File in MAUI App

When using the OpenFile() method to open Word documents from a file path such as "content://com.app.fileapp.fileprovider/doc_files/demo_241211113315.docx," I am able to edit the document but encounter an issue when attempting to save it—I'm…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
927 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,838 questions
asked 2025-01-20T14:42:03.38+00:00
George Phillips 0 Reputation points
accepted 2025-01-21T07:26:44.34+00:00
George Phillips 0 Reputation points
1 answer

Tutorial: Store data at the edge with SQL Server databases

Hi, I have a question about this tutorial. I wonder is there any changed in the coding? I followed the instructions but I couldn't received data in sql. I found out that System.Data.SqlClient already depreciated. So I have change it to…

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
585 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,058 questions
asked 2025-01-13T08:34:50.4833333+00:00
LinkOne-Face Zhang-張東勝 0 Reputation points
commented 2025-01-21T07:23:44.1133333+00:00
LinkOne-Face Zhang-張東勝 0 Reputation points