23,846 questions with .NET-related tags

Sort by: Updated
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,363 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,443 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,228 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,737 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,228 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,155 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,363 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
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,363 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
דני שטרית 2,706 Reputation points
commented 2024-04-24T09:43:13.4366667+00:00
דני שטרית 2,706 Reputation points
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,363 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,825 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,682 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,228 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,363 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,155 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,228 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,363 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
0 answers

How to disable/Remove the hamburger menu icon in Maui - .Net 8

I had added flyout in my maui project (not shell). By default I can able to see the hamburger menu icon in Window. I want to remove that icon. and want add a custom icon. Thanks, Vaibhav Methuku. <?xml version="1.0"…

.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-19T05:22:22.3566667+00:00
Vaibhav Methuku 60 Reputation points
edited the question 2024-04-24T07:56:58.8566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

MAUI apps with .NET 8 don't work on android

I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
asked 2024-03-28T16:36:19.4466667+00:00
paro_ricc 0 Reputation points
commented 2024-04-24T07:37:55.7666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
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,383 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
commented 2024-04-24T07:32:20.8933333+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
0 answers

Can't convert Word Document Equation into HTML readable format text like MathML in C#

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,363 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,155 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,228 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
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,479 questions
asked 2024-04-24T04:35:09.1466667+00:00
conduct exam 0 Reputation points
edited the question 2024-04-24T07:25:10.27+00:00
Emi Zhang-MSFT 21,626 Reputation points Microsoft Vendor
0 answers

MAUI CommunityToolkit MediaElement a grey screen is showing in non full screen mode.

In my MAUI application, the CommunityToolkit MediaElement a grey screen is showing when the video is playing in non full screen mode. In full screen mode the video is playing correctly. I have changed the source video but the issue is still appearing.

.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:56.4533333+00:00
Kannan P S 0 Reputation points
commented 2024-04-24T06:55:14.3933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

how to fix an ERROR 500 on SSRS 2019 Enterprise edition

The Microsoft Web SSRS portal have Error 500 time to time.  sometimes we have the following error: The report execution 1kowwtmibuga4m45d4wt55ai has expired or cannot be found. (rsExecutionNotFound). The SSRS is installed on Windows server 2022…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,451 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 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,797 questions
asked 2024-04-23T18:40:14.1566667+00:00
Valderrama Casas, Jaime 0 Reputation points
commented 2024-04-24T06:12:11.8933333+00:00
ZoeHui-MSFT 32,586 Reputation points
0 answers

Use API web app for DefaultAzureCredential

I created a key vault using .net and have added access policies which allows access for the api web application to create keys, secrets, and certificates. The goal would be able to create keys, secrets, and certificates through .net c# code. I tried…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,109 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,363 questions
asked 2024-04-24T05:49:31.9833333+00:00
Bryan Apilada 0 Reputation points
edited the question 2024-04-24T05:50:50.7766667+00:00
Bryan Apilada 0 Reputation points