23,826 questions with .NET-related tags

Sort by: Updated
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,356 questions
asked 2024-04-23T12:43:43.2+00:00
Joe Babb 0 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,356 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
1 answer One of the answers was accepted by the question author.

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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,218 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
762 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 40 Reputation points
commented 2024-04-23T11:19:22.6466667+00:00
Влад Тигинян 40 Reputation points
3 answers

failed with HTTP status code 'Unauthorized'.

Hi, Why I suddenly started getting this error: /Users/jassim/Projects/OneID/One ID API/Controllers/Account.cs(116,9,116,15): warning CS0162: Unreachable code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,847 questions
asked 2023-05-14T19:52:08.6466667+00:00
Jassim Al Rahma 1,521 Reputation points
answered 2024-04-23T11:14:22.2566667+00:00
moo2u2 41 Reputation points
0 answers

How to add a check box to the list of items in Picker?

I need to add a check box for the picker list items. Please guide me to the solution.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2024-04-23T10:33:18.3833333+00:00
Sowndarrajan Vijayaragavan 310 Reputation points
edited the question 2024-04-23T10:33:45.04+00:00
Sowndarrajan Vijayaragavan 310 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,382 questions
asked 2024-04-20T15:03:25.1633333+00:00
Rob Bertora 0 Reputation points
commented 2024-04-23T10:06:00.2366667+00:00
AgaveJoe 26,191 Reputation points
0 answers

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,356 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,382 questions
asked 2024-04-23T10:01:01.01+00:00
Qun Shen 20 Reputation points
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 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,669 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 1 Reputation point
commented 2024-04-23T09:53:45.87+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
0 answers

Exception thrown: 'System.Data.SqlServerCe.SqlCeException' in System.Data.SqlServerCe.dll

Hello All, I facing an issue with the following error. When I build the project it successfully builds but then when I execute it I am not getting the output window. When checked, I noticed that I am facing an issue when I run. The following exceptions…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 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,594 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,675 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,218 questions
asked 2024-04-23T07:50:48.68+00:00
Lakshman Balasubramanian 1 Reputation point
commented 2024-04-23T09:19:29.0766667+00:00
Jiale Xue - MSFT 31,196 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,356 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
edited a comment 2024-04-23T09:17:13.71+00:00
דני שטרית 2,706 Reputation points
0 answers

There is .pfx file on azure keyvault, I try to convert it into a byte array(Convert.FromBase64String), I am getting format exception

There is .pfx file on azure key vault, I try to convert it into a byte array(Convert.FromBase64String), I am getting below format exception PFX file containt Primary key and Certificate {"The input is not a valid Base-64 string as it contains a…

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,105 questions
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-23T07:47:43.3066667+00:00
Rupesh Surve 0 Reputation points
1 answer One of the answers was accepted by the question author.

Access and read all SMS on Android phone with .NET MAUI

For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 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,218 questions
asked 2023-11-21T03:48:09.5466667+00:00
MSCollege3000 120 Reputation points
commented 2024-04-23T07:46:25.7333333+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,853 questions
asked 2024-04-19T05:22:22.3566667+00:00
Vaibhav Methuku 60 Reputation points
edited the question 2024-04-23T06:53:11.04+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

How to open Ana left in MAUI - iOS application

Hello Team,    I want the user to force update the application.  So, Based on the below logic, I'm opening an alert with an update option in it. When I click on the update. It is navigating to the Appstore. But when I click on the backbutton on the top…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2024-04-22T13:15:48.8866667+00:00
Vaibhav Methuku 60 Reputation points
answered 2024-04-23T06:38:11.72+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,853 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-23T06:29:49+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

there is something wrong with my c# program, and i need assistance.

Here's how my program like, or you can also see it from attached image:partial class Boot { static void Main() { Console.WriteLine("please input the path of your data store."); string ds_path = Console.ReadLine(); try { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 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,218 questions
asked 2024-04-22T12:51:02.23+00:00
Weber Chang 0 Reputation points
commented 2024-04-23T06:18:25.7233333+00:00
Weber Chang 0 Reputation points
2 answers

ASP.NET MVC

What is ASP Net SOLVING PROBLEMS WITH MODERN TOOLS ? help please.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
asked 2022-01-05T11:31:30.127+00:00
Abdul Basit 1 Reputation point
commented 2024-04-23T05:50:07.78+00:00
krishna Pal 0 Reputation points
2 answers

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,853 questions
asked 2024-04-22T07:35:47.1633333+00:00
דני שטרית 2,706 Reputation points
answered 2024-04-23T05:45:05.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
0 answers

how to export function in dll to aot?

I created .net class library to build dll and want to publish native aot and I write function public static MyClass { public static int MyFun(int n) { return n*n; } } I publish it to native aot to win-x64 but in dll there is no function why?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 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,218 questions
asked 2024-04-23T02:04:43.3933333+00:00
mc 3,641 Reputation points
commented 2024-04-23T05:32:41.04+00:00
Jiale Xue - MSFT 31,196 Reputation points Microsoft Vendor
0 answers

Request are stucking in AuthenticateRequest State on IIS

We're facing a critical issue with our API server. It's built on C# .NET 4 with a C++ backend. The problem manifests as certain requests hitting the IIS of the backend server some instances, these requests remain stuck in the AuthenticateRequest state,…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,105 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
28 questions
asked 2024-04-22T07:01:24.13+00:00
Parmeshwar Kale 0 Reputation points
commented 2024-04-23T05:11:51.7+00:00
Yurong Dai-MSFT 2,776 Reputation points Microsoft Vendor