Microsoft Q&A

.NET

15,262 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,262 questions with .NET-related tags

Sort by: Updated
1 answer

remote debugging on Linux over SSH does not load modules

I am using Visual Studio 17.6.2 to develop a .net6 (C#) app for an ARM32-linux environment. For testing the problem below, I made a 5-line console program with a loop. After publishing the app as 'Debug'/'Self-contained'/'linux-arm' onto a folder and…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
997 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,146 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.
8,186 questions
asked 2023-06-01T07:43:50.91+00:00
Peter Martens 0 Reputation points
commented 2023-06-02T12:56:30.5233333+00:00
Tianyu Sun-MSFT 16,916 Reputation points Microsoft Vendor
0 answers

Problem with SQLConnection class on MAUI for Android

I'm using Visual Studio 2022 for developing app in MAUI. My app shold have direct connection with Microsoft SQL server. I'm using Microsoft.Data.SQLClient package . On Windows everything works ok, but on Android emulator i cant connect . Errror is…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,790 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-06-02T12:52:06.3333333+00:00
Piotr Żychski 0 Reputation points
1 answer

Is it possible to delete a WMI/CIM class using the Microsoft.Management.Infrastructure?

Every time I write a script, or code that uses WMI extensively, I tend to use the System.Management API. It's straight forward, flexible, and intuitive. However, This time I decided to use the Microsoft.Management.Infrastructure API, which contains the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,483 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
727 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,068 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.
8,186 questions
asked 2023-05-31T22:22:40.65+00:00
Francisco Nabas 21 Reputation points
answered 2023-06-02T12:42:05.0566667+00:00
Limitless Technology 26,416 Reputation points
2 answers One of the answers was accepted by the question author.

Do you think that artificial intelligence and robots will occupy all jobs in Egypt next century

About your opinion

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
14 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
45 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.
8,186 questions
asked 2023-05-27T18:07:40.7933333+00:00
Aml Ramdan Arfat 40 Reputation points
commented 2023-06-02T12:37:45.0033333+00:00
Peyk 0 Reputation points
10 answers

I can't find ASP.NET Web Application (.NET Framework) with c#

Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,480 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
550 questions
asked 2021-10-01T00:33:18.083+00:00
WEI HAN TAN 16 Reputation points
commented 2023-06-02T11:59:04.6166667+00:00
Anuj sharma 0 Reputation points
1 answer

The. net call to refresh the tray area code in the win11 system does not take effect when clearing residual icons

The relevant code for refreshing the tray area is called in the win11 system code, and it does not take effect occasionally The residual icon still exists, it can disappear when the mouse hovers over it The code is as follows: const uint WM_MOUSEMOVE =…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,068 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,727 questions
Microsoft Managed Desktop
Microsoft Managed Desktop
A cloud-based service that brings together Microsoft 365 Enterprise and adds these features: User device deployment; IT service management and operations; and Security monitoring and response.
15 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-06-02T04:01:01.6866667+00:00
Xia Xia1 Kang 0 Reputation points
answered 2023-06-02T11:27:06.2233333+00:00
Limitless Technology 26,416 Reputation points
1 answer One of the answers was accepted by the question author.

how to custom title view in maui?

I am not using shell MainPage=new MainPage(); how to custom the title view and the closebutton?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-29T12:42:59.1866667+00:00
mc 1,921 Reputation points
commented 2023-06-02T10:55:51.4433333+00:00
mc 1,921 Reputation points
1 answer

Why are settings in web.config not inherited by child path applications?

I have a folder, Container, with a web.config file: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <aspNetCore> <environmentVariables> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,142 questions
asked 2023-06-01T19:03:42.8933333+00:00
Bob Rzadzki 1 Reputation point
answered 2023-06-02T10:47:04.6966667+00:00
JasonPan - MSFT 1,706 Reputation points Microsoft Vendor
0 answers

3 annoying issues that I can't find

The reports works fine, but 3 little issues that I can't fix, the image will tell you all of them, I attach a text file with this question. Thanks all for your time, Claude from Quebec, Canada ClientsReports.txt

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-06-01T20:48:32.2933333+00:00
Claude Larocque 541 Reputation points
commented 2023-06-02T10:34:49.6766667+00:00
Claude Larocque 541 Reputation points
2 answers

Create database from SQL script from .NET 6 WinForm application

Hi All, We recently started working on a .NET 6 WinForm application which will be deployed locally on the client machine. This application will depend on the SQL database for persisting data. The SQL instance will be already available on the machine…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,468 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-05-28T18:25:07.2533333+00:00
Wadiwala, Rohan 0 Reputation points
answered 2023-06-02T10:25:50.6766667+00:00
Karen Payne MVP 31,001 Reputation points
0 answers

[Closed] impossible to uncheck WebDAV

Hi, I publish my app on IIS; So there is some trouble with PUT; POST method. apparently I have to uncheck WebDAV here Services >> World Wide Web Services >> Common HTTP Features and uncheck the “WebDAV Publishing” My probem is it is not…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
976 questions
asked 2023-06-02T08:22:44.09+00:00
sblb 996 Reputation points
edited the question 2023-06-02T10:09:52.73+00:00
sblb 996 Reputation points
0 answers

CollectionView template not support RTL

Hi, CollectionView template not support RTL. I attached the file:עברית.txt Please see the code: The results is: txt.עיברית <CollectionView ItemsSource="{Binding Data}"> <CollectionView.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-29T12:48:07.0333333+00:00
דני שטרית 781 Reputation points
commented 2023-06-02T10:09:42.0666667+00:00
דני שטרית 781 Reputation points
0 answers

Force Shell navigation to replace the navigation stack

I have a ShellContent which uses DataTemplateSelector to dynamically select a page to display. Sadly, when I call Shell.Current.GoToAsync with the URI that's active right now (or its child route), it does nothing (or navigates back in the case of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-23T16:22:09.9133333+00:00
Petr Pikaus 0 Reputation points
commented 2023-06-02T09:59:52.18+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 155 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

autofac dependency injection in .net maui

HI, I am working on migrating xamarin forms application to .net MAUI application. In xamarin froms application i am using autofac dependency injection. can we use autofac dependency injection in .net MAUI. if YES how to re use that code?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-29T12:20:51.45+00:00
Shirisha Siddamshetti 40 Reputation points
commented 2023-06-02T09:54:05.1166667+00:00
Shirisha Siddamshetti 40 Reputation points
2 answers One of the answers was accepted by the question author.

How to set the selected itme according the model?

There are many select in the view , and each select's selected value can be get from the model,then how to set the selected item to be related one? <select id='unitID' name='UnitName' > <option value='2'>ms</option> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,142 questions
asked 2023-05-23T07:52:52.24+00:00
Alick Wang 141 Reputation points
answered 2023-06-02T09:53:00.82+00:00
Alick Wang 141 Reputation points
1 answer

How to generate a test or development build of an windows desktop application using c#

I have modified my Windows application developed using c# to open through a URL now I want to share this build with my client for testing so how to create a test build in the visual studio can anyone suggest me an approach ?? Thanks in advance. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,468 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.
8,186 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-05-22T13:40:45.9266667+00:00
Dineshkumar.S 346 Reputation points
commented 2023-06-02T09:48:25.82+00:00
Dineshkumar.S 346 Reputation points
1 answer

How to properly manage multiple versions of dotnet SDKs

I have to build an F# project which requires dotnet 7.0.201. I have dotnet 7.0.302 globally installed. The command could not be loaded, possibly because: * You intended to execute a .NET application: The application 'run' does not exist. *…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-06-02T01:59:20.4+00:00
oracle 0133 0 Reputation points
edited an answer 2023-06-02T09:47:27.34+00:00
Jack J Jun 23,661 Reputation points Microsoft Vendor
0 answers

Visual studio unresponsive when debugging .net MAUI on Android Emilator

I have a .net MAUI app that works fine when it runs in debug mode. But when I put in a breakpoint in my code and wait for the debugger , Visual studio becomes unresponve and i keep getting the Visual Studio is busy popup But as soon as i close the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,146 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-29T13:27:47.45+00:00
ArshadBadarKhan 0 Reputation points
commented 2023-06-02T09:15:53.0466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 20,126 Reputation points Microsoft Vendor
0 answers

ADO.NET ENTRY MODEL

visual studio installed version 17.6.3 The type or namespace name '' could not be found (are you missing a using directive or an assembly reference?)

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,157 questions
asked 2023-06-01T12:19:14.5233333+00:00
BINDU KUMARI 0 Reputation points
commented 2023-06-02T09:14:03.54+00:00
Jiale Xue - MSFT 3,936 Reputation points Microsoft Vendor
4 answers

net maui how to create collection view as menu and carouselview as content working like tabs ?

net maui how to create collection view menu and carouselview content working like tabs ? Platform Android and Ios

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,417 questions
asked 2023-05-17T12:11:59.8233333+00:00
Sami 261 Reputation points
answered 2023-06-02T09:13:45.3466667+00:00