23,850 questions with .NET-related tags

Sort by: Updated
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,364 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
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
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,685 questions
asked 2024-04-24T11:21:49.9533333+00:00
Gcobani Mkontwana 0 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,364 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
commented 2024-04-24T10:54:06.27+00:00
Dani_S 2,726 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,364 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,857 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

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,229 questions
asked 2024-04-24T10:30:29.13+00:00
iKingNinja 40 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,364 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
0 answers

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,364 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
294 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,441 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
1 answer One of the answers was accepted by the question author.

Selection Rectangle not moving along with datagrid content during scroll.

I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…

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,229 questions
asked 2024-04-11T05:08:56.16+00:00
Amit 0 Reputation points
accepted 2024-04-24T10:02:06.8933333+00:00
Amit 0 Reputation points
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,739 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,229 questions
asked 2024-04-24T04:34:37.6333333+00:00
Amit 0 Reputation points
commented 2024-04-24T09:59:06.5533333+00:00
Amit 0 Reputation points
0 answers

Location tracking while app is in suspended state

Hi, I am developing a location tracking app for drivers. We need to track locations in particular intervals and send it to server. We are able to track locations when app is active or in background. How can we get locations for both android & iOS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-04-24T09:56:59.74+00:00
ann 0 Reputation points
0 answers

How to Sum, Join, Union, Group By Month And Year Using LINQ Query

I have two tables. I want to find the sum of the data in one table and the subtraction of the second table. I am trying to explain the matter by attaching an image below. Note here that I don't know which table's data will come first. Maybe the data of…

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-24T09:55:08.01+00:00
jewel 781 Reputation points
0 answers

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,364 questions
asked 2024-04-23T12:43:43.2+00:00
Joe Babb 0 Reputation points
commented 2024-04-24T09:45:45+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
1 answer

Play sound in Blazor Hybirs app

I have a blazor hybird app running Android emulator inViual Studio. the app has a button when clicked play a sound using javascript interop to play a soun. the js code : window.PlayAudio = (elementName) =>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,364 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,383 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-04-23T10:01:01.01+00:00
Qun Shen 20 Reputation points
answered 2024-04-24T09:03:42.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

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,685 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,229 questions
asked 2024-04-23T16:21:18.7333333+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
answered 2024-04-24T08:32:23.8566667+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
1 answer

How to restore direct dependencies packages only by 'restore --packages' command

I want to restore a .NET project's packages by command line dotnet restore --package. The behavior like this in dotnet restore doc: Package Restore first installs the direct dependencies of a project as needed, then installs any dependencies of those…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,364 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
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,229 questions
asked 2024-04-24T03:50:34.2266667+00:00
Charlie Xie 0 Reputation points
answered 2024-04-24T08:26:42.83+00:00
Robert J. Foley 0 Reputation points
0 answers

How to include in my App on Android text files

Hi to All. I've done a App for Android. This App uses particular files in old format MSDOS. First: how can include with the app on the tablet this files? (i.e. in the same directoy of the App).Second: the code page of MSDOS is quite different with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2024-04-24T08:20:46.5966667+00:00
Paolo Mossa 161 Reputation points
0 answers

Is it normal that the publishing of my NET MAUI app on iOS never ends?

Hello everyone, I am actually trying to do an ad-hoc deploy on iOS, of my .NET MAUI app. But for some reason it don't work. I've followed every step from there…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,364 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
commented 2024-04-24T08:08:13.81+00:00
Cyril Auquier 0 Reputation points
1 answer

Read SMS Messages on Android phone with .NET MAUI

Hi, Following .NET MAUI code from this link https://learn.microsoft.com/en-us/answers/questions/1432733/access-and-read-all-sms-on-android-phone-with-net?page=1&orderby=Helpful&comment=answer-1367159#newest-answer-comment I am unable to run the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-04-24T07:49:29.1866667+00:00
AG 491 Reputation points
answered 2024-04-24T08:05:01.61+00:00
AG 491 Reputation points