23,856 questions with .NET-related tags

Sort by: Updated
1 answer

Custom ApiController Model Binding type conversion error

According to the Model Binding documentation: In an API controller that has the [ApiController] attribute, invalid model state results in an automatic HTTP 400 response. So when I send an invalid type in the request body (e.g. int instead of string),…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 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,230 questions
asked 2024-04-24T10:30:29.13+00:00
iKingNinja 40 Reputation points
answered 2024-04-24T15:59:53.52+00:00
Bruce (SqlWork.com) 55,366 Reputation points
1 answer

what is the most current Windows platform for .NET and C#

I see on the internet that MS has deprecated UWP. What do I need to add to my Visual Studio 2022 Community edition in order to program using the latest flavor of Windows for general Windows Apps? I'm getting frustrated trying to discern the myriad…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,602 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 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,597 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,230 questions
asked 2024-04-24T14:20:14.18+00:00
Joe Babb 0 Reputation points
answered 2024-04-24T15:55:36.78+00:00
Bruce (SqlWork.com) 55,366 Reputation points
0 answers

Create, Reference and use a Razor class library.

Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
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,385 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-04-24T15:49:23.6733333+00:00
Rafaeleliasgri 0 Reputation points
0 answers

Blazor web app net 8 rendermode auto with API

I am creating a web application with blazor web app and net 8 with rendermode Auto. I have an api created in .net hosted on another server different from where the blazor web application will go. The api needs a token in each call, I am having problems…

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,385 questions
asked 2024-04-24T15:40:36.8+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
edited the question 2024-04-24T15:43:10.05+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
0 answers

When pressing 'RUN' after entering code in .Net editor nothing happens

When pressing 'RUN' in .Net editor (in Microsoft Learn) after having entered some code nothing happens - the little round arrow simply keeps spinning around...?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
2 questions
asked 2024-04-24T12:00:59.1433333+00:00
Dan Mikkelsen 0 Reputation points
commented 2024-04-24T15:18:29.22+00:00
Viorel 112.1K Reputation points
2 answers One of the answers was accepted by the question author.

VS 2022 ReportViewer Error: "The report cannot be displayed. The report viewer could not find a report definition."

Please help me with this problem I'm having. I'll start by explaining my problem: I need to load reports, and for that I'm using the native reports of VS 2022. Here's what I've done so far: I created my .xsd file called DataSetInformes.xsd I added my…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,826 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,691 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,230 questions
asked 2024-04-23T16:21:18.7333333+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
accepted 2024-04-24T14:52:18.47+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
0 answers

Fullscreen on Mac

I made it fullscreem for Windows. .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windows => windows .OnWindowCreated((window) => { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-24T14:23:22.0966667+00:00
Eduardo Gomez Romero 205 Reputation points
0 answers

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

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,385 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
commented 2024-04-24T14:06:28.8966667+00:00
AgaveJoe 26,191 Reputation points
0 answers

how do I find the working area of my uwp app in .net using C#

This is a simple question but I'm having a rough time finding an answer. What I want to find is the working area of my application. I'm working in Visual Studio 2022 and have created the basic project. Searches on the internet result in many answers…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
asked 2024-04-24T13:23:16.3+00:00
Joe Babb 0 Reputation points
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,826 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,670 questions
asked 2024-04-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
edited a comment 2024-04-24T13:19:39.4466667+00:00
Lpatz-4663 20 Reputation points
0 answers

Column in grid overlapping when the data is updated at runtime

I am using a custom control with a frame(contains an entry and an icon in a horizontal grid) and a collection view in stack layout with vertical orientation as attached below. I am facing an issue wherein when a search text is typed matching lowest…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-24T13:17:59.2633333+00:00
Srilekha Chowdary 20 Reputation points
1 answer One of the answers was accepted by the question author.

Linq join of 3 tables

I have three tables with same fields. I can join 2 tables with following Linq. List<CommonPoints> lista = poso.assists.ToList(); List<CommonPoints> listp = poso.points.ToList(); List<CommonPoints> listg=poso.goals.ToList(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 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,230 questions
asked 2024-04-23T20:58:23.7866667+00:00
Lloyd Sheen 1,356 Reputation points
commented 2024-04-24T12:54:10.59+00:00
Lloyd Sheen 1,356 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-04-24T12:46:59.6433333+00:00
Dani_S 2,726 Reputation points
1 answer One of the answers was accepted by the question author.

How do you fix the NETSDK1082 error? (no runtime pack for android-x64)

I am currently trying to implement a Microsoft Login in my .NET MAUI app using this tutorial. It runs using the debugger for Windows, but throws this error when I try to run it on an android emulator: 'There was no runtime pack for…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,485 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,447 questions
asked 2024-04-22T08:35:45.31+00:00
Lukas 0 Reputation points
accepted 2024-04-24T12:32:50.41+00:00
Lukas 0 Reputation points
0 answers

Unable to submitting the form using jquery post request like a form submit

Using Form Submit redirecting page from one page to another page and the page is redirecting successfully but the parameter value getting length 0(if array) or null(if string) based on the data passed on param. To achieve this concept I have used the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2024-04-24T11:36:47.15+00:00
Ashok Kumar 141 Reputation points
commented 2024-04-24T12:22:37.1233333+00:00
AgaveJoe 26,191 Reputation points
1 answer

what capability must I add to my manifest to enable access to audio devices?

I am working with Visual Studio 2022 Community edition. Years ago I wrote a program in Win32 that opened an audio device and plotted the signal on the screen. I want to do that same function but now with .NET. When I do a var endpointId =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
asked 2024-04-23T12:43:43.2+00:00
Joe Babb 0 Reputation points
commented 2024-04-24T12:14:36.3266667+00:00
Joe Babb 0 Reputation points
0 answers

How to validate textbox with empty field in wpf forms

Hi Team I have these two fields i want to validate, does anyone knows how to achieve this in wpf on the forms? The bottom seal and TopSeal fields, if empty it must prompt a window dialog message.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,826 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,691 questions
asked 2024-04-24T11:21:49.9533333+00:00
Gcobani Mkontwana 0 Reputation points
0 answers

Process info - ArgumentList is limited when using user domain and password?

Hi, Process info - ArgumentList is limited when using user domain and password? Thanks in adavnce,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
asked 2024-04-10T06:28:48.0633333+00:00
Dani_S 2,726 Reputation points
commented 2024-04-24T10:40:11.5466667+00:00
Dani_S 2,726 Reputation points
2 answers One of the answers was accepted by the question author.

How to perform long run operation with ActivityIndicator

Hi, How to perform long run operation with ActivityIndicator? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T07:35:47.1633333+00:00
Dani_S 2,726 Reputation points
accepted 2024-04-24T10:35:34.8033333+00:00
Dani_S 2,726 Reputation points
0 answers

Strategies for Managing Custom Requests in .NET Core Projects

Hi everyone, My team and I are starting a new project. We plan to develop and sell this project to multiple companies. While we will be the sole developers, we'll incorporate requests from these companies into the project. The project will undergo a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
asked 2024-04-24T05:29:21.7533333+00:00
Spriggan 0 Reputation points
edited a comment 2024-04-24T10:27:00.0166667+00:00
AgaveJoe 26,191 Reputation points