Microsoft Q&A

.NET

21,768 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

21,768 questions with .NET-related tags

Sort by: Updated
2 answers

Debug profile does not exist - How to get it?

I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,734 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
878 questions
asked 2022-02-24T22:16:47.297+00:00
Justin Cooley 6 Reputation points
edited a comment 2023-12-03T14:09:09.9033333+00:00
Yowin Richard 0 Reputation points
2 answers

How to use bindingList and BindingSource at multiple places

Hi , I have a BindingList and a BindingSource defined in a separate class . besides that i also have a custom datagridview , a datagridview on a form named form 1 , and two textbox on the form named form 2 . one of these textbox is used to add values…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,734 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.
9,459 questions
asked 2023-12-02T17:07:39.0266667+00:00
Rajkumar Rao 100 Reputation points
edited an answer 2023-12-03T12:13:07.02+00:00
Karen Payne MVP 34,586 Reputation points
1 answer

Load columns and rows of datagridview

I want to query and perform update operations on a datagridview data in the fastest and efficient manner but in the memory . The term efficient is used because there will be aprrox 1000 rows data . why and what i am trying to do Please consider a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,734 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.
9,459 questions
asked 2023-12-03T07:22:18.7733333+00:00
Noni aggarwal 40 Reputation points
edited an answer 2023-12-03T11:30:23.3166667+00:00
KOZ6.0 4,170 Reputation points
1 answer

How to increase default quota for my website hosted in Azure?

Default quota is insufficient. How to increase it?

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.
653 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,038 questions
asked 2023-12-03T10:55:26.5+00:00
Cedar 0 Reputation points
answered 2023-12-03T11:13:44.35+00:00
TP 54,411 Reputation points
1 answer

Upgrading C# NET Core 7.0 to 8.0 in Visual Studio IDE - Guidance and Suggesgtions

The format of this isn't great. But, I was getting weird unintended markdown changes to the text I originally entered. This was an upgrade of a .NET Maui Project and the .NET Core 7.0 to 8.0. I am providing this post to see if we (or Microsoft) might be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,303 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,085 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.
9,459 questions
asked 2023-12-01T19:07:07.91+00:00
Todd Albers 1 Reputation point
commented 2023-12-03T11:11:28.5833333+00:00
Karen Payne MVP 34,586 Reputation points
1 answer

Edit style textbox

Hello static bool isEditModeEnabled = false; private static void Txb1_KeyDown(object sender, KeyEventArgs e) { var txb = (TextBox)sender; if (e.Control && e.KeyCode == Keys.R) …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,734 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.
9,459 questions
asked 2023-12-02T14:21:29.3166667+00:00
Ashu seh 40 Reputation points
edited a comment 2023-12-03T10:35:08.0033333+00:00
KOZ6.0 4,170 Reputation points
0 answers

Method of moving big amount of text

Hello all. I use maui net 8 17.9 preview android ver 14. Is there a method of moving a big amount of text to the editor control without choking the editor control. currently I use this statement editor.text = bigtext: this freeze the app. I have an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-12-03T09:54:57.1933333+00:00
Haviv Elbsz 1,411 Reputation points
2 answers

Cant get microsoft.EntityFrameworkCore.SqlServer V8.0.0 to Load without error

I have open a new project wpf in Visual Studio. I wanted to use the latest services. (.net 8, EntityFramework 6, Sqlserver). However, no matter what I tried I get an error. Here is what I have done. Opened Visual Studio 2020. Create a new project. …

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
266 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,553 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,763 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.
11,585 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.
9,459 questions
asked 2023-11-27T04:59:20.13+00:00
Leonard Salamacha 0 Reputation points
commented 2023-12-03T09:54:54.1333333+00:00
Leonard Salamacha 0 Reputation points
2 answers

Backspace trapped possibly due to alignment or Code bug

Hi below is the code snippet which i have asked previously from a respected member @KOZ6.0 . protected override void OnCreateControl() { base.OnCreateControl(); foreach (DataGridViewColumn column in Columns) …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,734 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.
9,459 questions
asked 2023-12-01T10:20:01.1066667+00:00
rahul kumar 565 Reputation points
commented 2023-12-03T09:54:34.2533333+00:00
KOZ6.0 4,170 Reputation points
0 answers

Maui android disable button issue

Hello all. I am using maui net 8 17.9 preview with android ver 14. when disable a button the clicking is disabled but the button color not greyed out. how I can fix that. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-12-03T09:23:28.8966667+00:00
Haviv Elbsz 1,411 Reputation points
2 answers

AWS Systems Manager not getting Credentials from Profile

Hello! I have two local projects that are setup similarly. Except the one that works is in .NET 7.0 and the new one that doesn't work is 8.0.   I'm trying to setup the ability for my local dev environment to grab parameters from the AWS Parameter Store.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,303 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.
9,459 questions
asked 2023-12-01T21:57:22.4266667+00:00
Shane M 0 Reputation points
commented 2023-12-03T08:01:03.2266667+00:00
Bazzard Flex 0 Reputation points
0 answers

asp.net Core 6.0 RDLC Report

ASP.NET Core 6.0 How to add data from database to RDLC report? My method of adding data without database is working fine. But I can't find any way to add database data. I would appreciate it if someone could help. thanks in advance public IActionResult…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,763 questions
asked 2023-12-02T16:10:42.6+00:00
jewel 581 Reputation points
commented 2023-12-03T06:12:27.2933333+00:00
SurferOnWww 1,296 Reputation points
0 answers

How to show pdf in webview using azure storage pdf link in .net maui for android platform?. Currently showing blank screen

Sample link works but while using azure storage link then showing blank screen.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-12-03T05:54:45.2933333+00:00
Thombre, Ashish 40 Reputation points
1 answer One of the answers was accepted by the question author.

blazor web app dynamical routing

Currently we can use @page directive to define a routable component. How we can define routable component at runtime ?

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,204 questions
asked 2023-12-02T12:21:36.7366667+00:00
Qun Shen 20 Reputation points
accepted 2023-12-03T01:48:40.6633333+00:00
Qun Shen 20 Reputation points
1 answer

HttpContextAccessor returns the Email of Logged in user in Identity Server 4

I am learning the identity server 4, about the SSO authentication. I want to get httpContextAccessor with email which is logged in using Identity Server 4. I set scope - Email and Name. But it will not working. Here is my code of client webApi…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,763 questions
asked 2023-12-02T16:20:40.1266667+00:00
Prathamesh Shende 371 Reputation points
edited an answer 2023-12-02T23:35:16.4666667+00:00
Bruce (SqlWork.com) 48,561 Reputation points
0 answers

Does anyone have a code example of how to use the ActivityIndicator

I have several things in an app that happen on a control click. I have now spent most of today trying to find out how this works. The worst "docs" is Microsoft Learn as it's "example" has no relevance to actual things that happen.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-11-29T20:37:31.6866667+00:00
Lloyd Sheen 1,261 Reputation points
commented 2023-12-02T22:39:58.7233333+00:00
Lloyd Sheen 1,261 Reputation points
1 answer

Issues when retraining a model

Dear experts, I am following the retraining page and I have issues : https://learn.microsoft.com/fr-fr/dotnet/machine-learning/how-to-guides/retrain-model-ml-net 1/ I am not clear about where I can find the data_prep_pipeline.zip file ? …

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
139 questions
asked 2021-10-08T12:42:01.677+00:00
DJamin 386 Reputation points
answered 2023-12-02T14:16:07.3233333+00:00
Ding,Xiaoxia 0 Reputation points
0 answers

MAUI control to show data

Hi Team, I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33. I have a requirement where I need to show a list of objects in a control. Objects contains fields as a string, and two bools. On each row of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-11-30T07:45:26.5+00:00
salilsingh-9961 321 Reputation points
commented 2023-12-02T13:50:28.2866667+00:00
salilsingh-9961 321 Reputation points
0 answers

Formatting a button in a MAUI Listview

Hi Team, I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33. I have a requirement where I need to show 2 buttons on each row of a list view. Background, BorderColor and Textcolor of buttons has to be set as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,163 questions
asked 2023-12-02T13:05:01.1366667+00:00
salilsingh-9961 321 Reputation points
1 answer

How to get the radio status dynamically created?

Radio groups are created dynamically,like: function add(){ str= "<td><input name='rd' value='aa' type='radio'></td>" + "<td><input name='rd' value='bb' type='radio'></td>" …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,763 questions
asked 2023-12-02T02:35:25.1833333+00:00
Alick Wang 186 Reputation points
answered 2023-12-02T11:57:22.63+00:00
AgaveJoe 1,500 Reputation points