23,843 questions with .NET-related tags

Sort by: Updated
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,362 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,856 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,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 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,362 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,856 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
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,362 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,856 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-24T08:06:54.93+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
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,736 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-24T08:06:45.73+00:00
Amit 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,856 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,856 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,856 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,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 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,856 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,108 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 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
0 answers

Support of Azure Notification Hubs’ Firebase Cloud Messaging legacy API will be retired by 1 July 2024

I am using ASP.NET Core Web API to send push notifications to Android and iOS devices using the method given below. I am not using any API endpoint directly. Should I change anything in this? string jsonPayLoad = string.Empty; …

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
261 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-24T05:33:45.3866667+00:00
Vijay Pratap Singh 21 Reputation points
edited the question 2024-04-24T05:39:27.9633333+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
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,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-24T05:29:21.7533333+00:00
Spriggan 0 Reputation points
0 answers

How to fix vite error in Angular ASP.NET project?

I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-04-24T03:07:40.3233333+00:00
Yardley Estiverne 0 Reputation points
edited the question 2024-04-24T05:16:05.34+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
1 answer

Hotfix for Microsoft .NET Framework 4.0

Hello! I need this file please   Hotfix for Microsoft .NET Framework 4.0 (KB2390372).

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
1 question
asked 2024-04-19T15:48:15.7033333+00:00
Mohamed Khalifa 0 Reputation points
edited the question 2024-04-24T04:23:03.4633333+00:00
Pradeep M 165 Reputation points Microsoft Vendor
1 answer

How to fix DbContextOptions resolving properly from services to apply EF migration to create database?

I'm trying to run a migration to create my initial database from code, but i'm having difficulties with proper registration of DbContextOptions. My program.cs contains the service registration: var builder = WebApplication.CreateBuilder(args); // Add…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
asked 2024-04-05T22:58:14.0533333+00:00
Vatai Domonkos 10 Reputation points
commented 2024-04-24T03:22:33.8766667+00:00
Jack J Jun 24,286 Reputation points Microsoft Vendor