25,771 questions with .NET-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

How to read data from Serial Ports on Android using MAUI

Hi everyone, I'm working on a .NET MAUI app for Android and I’m having some trouble. Right now, my code just displays the connected USB devices info, but I actually need to read data from serial ports instead. Here's the code I have so far: #if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
asked 2024-09-28T13:43:25.7+00:00
Yusuf-3141 45 Reputation points
accepted 2024-10-05T13:14:55.65+00:00
Yusuf-3141 45 Reputation points
1 answer

How to create the controller with Blazor Hybrid Maui and SQLite?

Hi, I use blazor hybrid maui project . I've created the classlibrary to create ApplicationDbContext.cs and model to do the migration with Ef core that involved SQLite I don't know much about blazor hybrid maui & sqlite; now my question is that I…

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,575 questions
asked 2024-10-03T15:58:57.2866667+00:00
sblb 1,211 Reputation points
commented 2024-10-05T12:13:11.0433333+00:00
sblb 1,211 Reputation points
1 answer

How do I undo sync with Active documents in my visual studio?

I recently clicked on the Sync with Active Document in my Visual Studio Project, and now I want to remove it, how do I do that please? I found that there is some kind of lock beside my files in the solution explorer. Please what does it mean when I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-05T03:39:45.9066667+00:00
Donald Symmons 2,861 Reputation points
commented 2024-10-05T11:42:31.6333333+00:00
AgaveJoe 28,291 Reputation points
1 answer

How do I undo sync with Active documents in my visual studio?

I recently clicked on the Sync with Active Document in my Visual Studio Project, and now I want to remove it, how do I do that please? I found that there is some kind of lock beside my files in the solution explorer. Please what does it mean when I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-05T03:39:45.9066667+00:00
Donald Symmons 2,861 Reputation points
commented 2024-10-05T11:42:31.6333333+00:00
AgaveJoe 28,291 Reputation points
2 answers One of the answers was accepted by the question author.

How to make start menu transparent in Win11.

The ui used by Windows11 feels very special, but I have been unable to achieve it by using the method of setting transparency before. May I ask, what api should I use to set transparency of Windows11 start menu?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 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,612 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,600 questions
asked 2022-12-10T14:28:31.033+00:00
XUWANBIN 201 Reputation points
commented 2024-10-05T08:55:52.6866667+00:00
gluetheknot 0 Reputation points
2 answers

ACR Authentication Options

Our .NET service is currently authenticating and pulling images from isolated ACR using an app registration with a username and password. We are considering using dSMS certificates instead. The plan is to obtain an access token from AAD, exchange it for…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
455 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,553 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,522 questions
asked 2024-10-02T19:20:08.3733333+00:00
Yuxuan Li 0 Reputation points Microsoft Employee
commented 2024-10-05T07:12:08.19+00:00
Ammar-Abdelqader01 1,156 Reputation points Microsoft Employee
0 answers

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-05T02:46:12.4833333+00:00
Shishir Wahi 0 Reputation points
0 answers

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-05T02:46:12.4833333+00:00
Shishir Wahi 0 Reputation points
1 answer

Assistance Required for Resolving "System.OutOfMemoryException" in Visual Studio

Subject: Help Needed with System Out-of-Memory Issue in Visual Studio Hello Everyone, I hope you're all doing well. I'm working on a project in Visual Studio that includes a large number of forms, user controls, and images used as icons. However, I am…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 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,909 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 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,909 questions
asked 2024-10-03T23:49:42.52+00:00
Hoshyar Hussein 0 Reputation points
edited the question 2024-10-04T22:12:00.8866667+00:00
Erland Sommarskog 111.1K Reputation points MVP
1 answer

Assistance Required for Resolving "System.OutOfMemoryException" in Visual Studio

Subject: Help Needed with System Out-of-Memory Issue in Visual Studio Hello Everyone, I hope you're all doing well. I'm working on a project in Visual Studio that includes a large number of forms, user controls, and images used as icons. However, I am…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 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,909 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 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,909 questions
asked 2024-10-03T23:49:42.52+00:00
Hoshyar Hussein 0 Reputation points
edited the question 2024-10-04T22:12:00.8866667+00:00
Erland Sommarskog 111.1K Reputation points MVP
0 answers

VB.NET designer crashes ... error ... The Base class 'System.Void' cannot be designed. Cannot access forms.

The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed. The base class 'System.Void' cannot be designed.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
asked 2024-10-04T20:44:27.76+00:00
Randy Glover 0 Reputation points
2 answers

Using .Net 8 on ASP.Net Web Application (.Net Framework)

I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1 Is this even possible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-04T03:09:36.8266667+00:00
Bobby Bob 0 Reputation points
answered 2024-10-04T19:49:19.55+00:00
Albert Kallal 5,251 Reputation points
2 answers

Using .Net 8 on ASP.Net Web Application (.Net Framework)

I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1 Is this even possible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,481 questions
asked 2024-10-04T03:09:36.8266667+00:00
Bobby Bob 0 Reputation points
answered 2024-10-04T19:49:19.55+00:00
Albert Kallal 5,251 Reputation points
0 answers

Exercise - Create SAS using Azure CLI in AZ-104 Training

I'm getting an error when I run the command cd sas dotnet run The .NET version needs to be 7.04. Please advise on how to update this so I can complete the Lab. Thank you, Heather This question is related to the following Learning Module

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,581 questions
asked 2024-10-04T18:03:23.3966667+00:00
Heather Saliba 0 Reputation points
commented 2024-10-04T18:21:40.7+00:00
VarunTha 8,220 Reputation points Microsoft Vendor
0 answers

Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant

i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
asked 2024-02-29T02:27:50.4133333+00:00
AGUSTINUS DAVID 5 Reputation points
edited a comment 2024-10-04T16:51:56.9233333+00:00
Pareek, Kamesh 0 Reputation points
0 answers

Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant

i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,840 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,106 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
asked 2024-02-29T02:27:50.4133333+00:00
AGUSTINUS DAVID 5 Reputation points
edited a comment 2024-10-04T16:51:56.9233333+00:00
Pareek, Kamesh 0 Reputation points
0 answers

内存占用率很高,但任务管理器却没有显示是什么进程。

Windows10x64,16G内存, 电脑开机后占用约30%,一分钟后内存占用率达到80%左右,但任务管理器没有占用内存过高的程序。 使用poolmon查看,得知是CTNP占用内存过高,运行 c:>findstr /m /l /s CTNP *.sys,没有答案。 Tag Type Allocs Frees Diff Bytes Per Alloc CTNP Nonp 2315 ( …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
741 questions
asked 2023-10-22T06:01:19.18+00:00
andy co 0 Reputation points
commented 2024-10-04T16:21:38.88+00:00
chaofan zhang 0 Reputation points
0 answers

Click event on "FlexLayout" element

Tell me, is it possible to add a click event to the "FlexLayout" element and also add a click animation? var flexLayout = new FlexLayout { AlignContent = FlexAlignContent.Center, JustifyContent =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
asked 2024-10-04T14:15:42.0466667+00:00
валера карманов 141 Reputation points
edited the question 2024-10-04T16:14:45.13+00:00
валера карманов 141 Reputation points
0 answers

Xamarin Forms / API Level 34 / Deployment Failed

While migrating the mobile app to some new tech, we need to deploy an update to our current app which requires Android 14. I've updated the AndroidManifest.xml to 34: <uses-sdk android:minSdkVersion="28"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,348 questions
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
1 answer One of the answers was accepted by the question author.

What is the recommended pattern for binding an array-type property to a form in ASP.NET Core Razor?

Hi, I am using ASP.NET Core 8 Razor, and I am trying to figure out what has to be done to transmit a property of type int[] to/from a form as a hidden field. Scalar values are pretty easy (just put BindProperty on a property and use a hidden input field…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,553 questions
asked 2024-10-04T13:11:19.4633333+00:00
Christopher Wright 20 Reputation points
commented 2024-10-04T15:33:36.48+00:00
Christopher Wright 20 Reputation points