26,690 questions with .NET-related tags

Sort by: Updated
1 answer

Add Or Change Identity Claims In .Net 8 Blazor Web App

Hi, In Create New Blazor Web App Project : Check => Individual Check => .Net 8 Check => Auto Interactivew and in ApplicationUser.cs I add a property for use full name { public sting Fullname { get; set; } } but in components i want 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,650 questions
asked 2024-01-16T19:17:43.76+00:00
Mahdi Elahi 31 Reputation points
commented 2025-01-21T15:34:25.6266667+00:00
Luiz Henrique da Silva Rocha 0 Reputation points
0 answers

Visual Studio failed to publish to Azure Container Registry

Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
477 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 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,370 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,215 questions
asked 2025-01-21T15:33:13.06+00:00
Pampua84 1 Reputation point
edited the question 2025-01-21T15:33:40.8566667+00:00
Pampua84 1 Reputation point
1 answer

Cursor pagination for query based full-text search

I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
772 questions
asked 2025-01-19T21:52:14.1133333+00:00
iKingNinja 100 Reputation points
commented 2025-01-21T14:58:05.36+00:00
iKingNinja 100 Reputation points
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,057 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,370 questions
asked 2025-01-21T09:27:12.6833333+00:00
SDL SD 0 Reputation points
commented 2025-01-21T14:53:07.26+00:00
Jiale Xue - MSFT 48,776 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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,335 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,057 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,215 questions
asked 2025-01-21T12:43:59.6333333+00:00
Abhishek Chandel 0 Reputation points
accepted 2025-01-21T14:26:49.1333333+00:00
Abhishek Chandel 0 Reputation points
0 answers

Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint

Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,017 questions
asked 2024-12-18T13:38:55.14+00:00
Osborne,J,Jon,QDN R 0 Reputation points
commented 2025-01-21T14:16:56.7033333+00:00
Osborne,J,Jon,QDN R 0 Reputation points
2 answers One of the answers was accepted by the question author.

Need code to move panels to extreme right

I have 5 panels that I am working with, all of them are in the same position, havinig the same size. When I want to select one of them, what code can I use to push all the others to the extreme right away from the left, so that I can work with one of…

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-19T20:32:32.04+00:00
Simon 366 Reputation points
accepted 2025-01-21T13:12:12.8+00:00
Simon 366 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
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,370 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,057 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,370 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,057 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,057 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,057 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,057 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
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,529 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,057 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,922 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,922 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