25,770 questions with .NET-related tags

Sort by: Updated
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,839 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,105 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,907 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,839 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,105 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,907 questions
asked 2024-10-03T23:49:42.52+00:00
Hoshyar Hussein 20 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,839 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,105 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,907 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,839 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,105 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,907 questions
asked 2024-10-03T23:49:42.52+00:00
Hoshyar Hussein 20 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,839 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,839 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 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,839 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,839 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 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,839 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,580 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,135 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,839 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,105 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,839 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,105 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,839 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,105 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,839 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,105 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

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. Following is the code used for creating the grid and updating data to DB: Private Sub…

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,839 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,839 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-04T16:08:59.75+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. Following is the code used for creating the grid and updating data to DB: Private Sub…

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,839 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,839 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-04T16:08:59.75+00:00
Shishir Wahi 0 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
0 answers

Blazor Server with Entity Framework Core Code First

Hello, we are currently evaluating the usability of Entity Framework Core Code First in a Blazor Server application. We try to migrate from a Database First approach where we created a DbContext instance (by a IDbContextFactory) per database…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
741 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,575 questions
asked 2024-10-04T11:46:31.28+00:00
Sieber, Richard 0 Reputation points
commented 2024-10-04T15:30:39.9166667+00:00
AgaveJoe 28,131 Reputation points
1 answer

Exception when linking to Microsoft Store Purchase API library from Blazor MAUI Windows App

Hi, I am have written multile Microsoft Store Apps in the UWP and WPF frameworks and published them to the Store. These apps all have to and do call the Microsoft Store Purchase API. Now I'm building a Blazor MAUI Store App and have found apps in the…

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
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
337 questions
asked 2024-09-06T17:05:40.2066667+00:00
Richard Freytag 61 Reputation points
answered 2024-10-04T15:21:14.22+00:00
philip bray 0 Reputation points
0 answers

How can I programmatically send an sms with a .net 8 maui app from the android platform?

I have tried to accomplish this but get an error when trying to implement the "Android.Telephony" class.

.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-04T15:13:04.4733333+00:00
Kjell Berstad 0 Reputation points
1 answer

SQL Server 2022 don't display data from varchar(max) in Classic ASP

In a recently update to SQL Server 2022, the data from the varchar(max) fields has stopped being displayed (or being saved in variables) on a website made with ASP Classic. How can I solve this problem? Here is the code: <% set db =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 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.
13,784 questions
asked 2023-10-30T15:11:43.9+00:00
Ricard Sentís 0 Reputation points
commented 2024-10-04T14:44:22.7233333+00:00
Fred Weston 6 Reputation points
2 answers

.Net 8 runtime download corrupt?

Is there an issue with the .Net 8 runtime download? I keep getting a message that i can't run this on my pc. The only option is to use winget to install.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,158 questions
asked 2024-10-04T06:31:49.1066667+00:00
Jos ter Doest 0 Reputation points
commented 2024-10-04T14:41:45.2766667+00:00
Nicolas Morissette 0 Reputation points
0 answers

Theming of WPF dialog not working for all controls on the dialog

Hi, I need to change color/theme of all controls on WPF dialog whenever there is change of theme from VS2022 (i.e. Tools -> Options -> Color Theme ) I followed below MSDN…

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,769 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,105 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,907 questions
asked 2024-10-04T14:07:53.0266667+00:00
Ajay Gera 40 Reputation points