23,858 questions with .NET-related tags

Sort by: Updated
0 answers

Why => is called token?

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-operator is => a Token?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 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,600 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,234 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,119 questions
asked 2024-04-24T23:59:48.6466667+00:00
LAN SHUHAO 0 Reputation points
1 answer One of the answers was accepted by the question author.

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,606 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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,600 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,234 questions
asked 2024-04-24T14:20:14.18+00:00
Joe Babb 20 Reputation points
commented 2024-04-24T23:07:18.6933333+00:00
Bruce (SqlWork.com) 55,601 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to connect to .NET 7 GRPC service on running on Linux App Service

I have a GRPC service written in .NET 7. It works without issue locally. To publish it to an app service, I followed the instructions at https://github.com/Azure/app-service-linux-docs/tree/master/HowTo/gRPC/.NET/.NET%207 It says it's working. I get…

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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
asked 2023-01-30T05:06:21.61+00:00
Joe Ourada 25 Reputation points
edited the question 2024-04-24T23:06:32.6+00:00
Grmacjon-MSFT 15,851 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,827 questions
asked 2024-04-24T11:21:49.9533333+00:00
Gcobani Mkontwana 0 Reputation points
edited the question 2024-04-24T21:24:54.1466667+00:00
Erland Sommarskog 100.9K Reputation points MVP
2 answers One of the answers was accepted by the question author.

No more support for Web forms in Visual Studio 2022?

Hi, In new Visual Studio there is no more option to create Web Forms web application? Are MVC only future architecture Visual Studio will support for WEB pages? Thx

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,569 questions
asked 2022-01-29T12:43:57.717+00:00
nickCroat 106 Reputation points
commented 2024-04-24T21:15:05.66+00:00
Robert Oberg 0 Reputation points
0 answers

Error loading report.rdlc,Unable to copy bin\debug\

Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,827 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,798 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,234 questions
asked 2024-04-24T20:48:56.4066667+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
1 answer

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,368 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
commented 2024-04-24T20:43:22.32+00:00
Rafaeleliasgri 0 Reputation points
1 answer

Dynamically pass the B2C sign-in policy in .NET 8

I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…

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
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,452 questions
asked 2024-04-19T16:58:01.86+00:00
Ragu 0 Reputation points
answered 2024-04-24T20:33:47.6666667+00:00
James Hamil 21,621 Reputation points Microsoft Employee
1 answer

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
answered 2024-04-24T19:45:26.4466667+00:00
Bruce (SqlWork.com) 55,601 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,234 questions
asked 2024-04-23T20:58:23.7866667+00:00
Lloyd Sheen 1,376 Reputation points
commented 2024-04-24T19:25:13.7533333+00:00
Lloyd Sheen 1,376 Reputation points
1 answer

How to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.

I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 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-23T21:41:22.9733333+00:00
Venkata Sridhar Perepu 0 Reputation points Microsoft Vendor
answered 2024-04-24T18:46:38.2533333+00:00
Ryan Hill 25,666 Reputation points Microsoft Employee
0 answers

Selection using Selection Rectangle

Can anyone please tell me how to make this kind of behaviour in our own WPF app. Right now i am making a File explorer kind of behaviour using the WPF datagrid. Can someone please help me with the logic or post some code. Here if we see the rows are…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,740 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
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,234 questions
asked 2024-04-24T04:34:37.6333333+00:00
Amit 20 Reputation points
commented 2024-04-24T17:36:54.68+00:00
Amit 20 Reputation points
1 answer

EditForm in Blazor does not work on submit

Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…

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-20T15:03:25.1633333+00:00
Rob Bertora 0 Reputation points
commented 2024-04-24T17:15:29.15+00:00
Rob Bertora 0 Reputation points
1 answer

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,368 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
answered 2024-04-24T16:03:36.3066667+00:00
Bruce (SqlWork.com) 55,601 Reputation points
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,234 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,601 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,368 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,827 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,690 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,234 questions
asked 2024-04-23T16:21:18.7333333+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
accepted 2024-04-24T14:52:18.47+00:00
Roberto Carlos Melgar Dorado 40 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,368 questions
asked 2024-04-24T13:23:16.3+00:00
Joe Babb 20 Reputation points