24,247 questions with .NET-related tags

Sort by: Updated
1 answer

Need help with DataGridViewComboBox and selecting the next control

I need some help to achieve some functionality in a DataGridView. This Windows app is written in C# using the Windows Form App (.NET Framework). The DataGridView uses a mix of DataGridViewTextBoxColumn & DataGridViewComboBoxColumn. The need is to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,382 questions
asked 2024-05-24T17:30:04.13+00:00
Pat Hanks 40 Reputation points
edited an answer 2024-05-24T20:00:51.39+00:00
KOZ6.0 5,215 Reputation points
1 answer

How to make an int field named UserID as the primary key in AspNetUsers table in Asp.Net Core 6.0 MVC

I am implementing Asp.Net Core Identity on an existing legacy website. I have created the Identity tables using migrations. The legacy database has a table named Users which was used for the logging. I have replaced the Users table with the AspNetUsers…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,239 questions
asked 2024-05-24T17:41:58.43+00:00
Sherpa 181 Reputation points
edited a comment 2024-05-24T19:37:08.6266667+00:00
AgaveJoe 26,166 Reputation points
0 answers

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,808 questions
Universal Windows Platform (UWP)
.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,131 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,418 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 60 Reputation points
edited a comment 2024-05-24T19:26:07.7933333+00:00
EricP-8687 60 Reputation points
0 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,697 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 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,382 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
commented 2024-05-24T15:56:16.6733333+00:00
Anton Moroder 0 Reputation points
2 answers One of the answers was accepted by the question author.

Mixing net standard and visual c++

Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,562 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
commented 2024-05-24T14:49:26.4533333+00:00
Flade, David 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to resolve "An unhandled error has occurred. Reload 🗙" in Blazor application?

I am encountering this error consistently while executing my Blazor file. I reinstalled Visual Studio in case of missing files, but it did not work. I also tried creating Blazor files both from CLI and VS, but the error persists.

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,420 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,697 questions
asked 2024-05-24T05:48:47.9466667+00:00
Hassan Raza Khan 0 Reputation points
accepted 2024-05-24T14:43:08.19+00:00
Hassan Raza Khan 0 Reputation points
0 answers

.net maui grouping code throws cast error.

I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,697 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-24T13:17:07.98+00:00
tim 120 Reputation points
0 answers

Decoder ran into invalid data problem on .net maui ios?

Hello, I am using .net maui to build a mobile application for android and iOS. An asp.net core is used for the backend. As of recently I started receiving an issue when retrieving data from all of the API endpoints - with the error being - Decoder ran…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-24T11:54:55.22+00:00
Miso Tomovski 0 Reputation points
0 answers

IAsyncEnumerable is not continally streams Duplex code-first gRPC

Hi, I've finally confirmed, what is my issue. [ServiceContract] public interface ISharedContract<DTO> where DTO : class { [OperationContract] IAsyncEnumerable<GetListResponse<DTO>>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,239 questions
asked 2024-05-24T11:51:12.3066667+00:00
Rada Matěj 180 Reputation points
0 answers

probleme mise a jour windows server 2019

bonjour, j'ai un probleme de mise a jour sous Windows Server 2019 mon serveur de domaine apres l'installation des mise a jour , j'ai recu deux messages d'erreurs j'ai besoin de votre aide svp 1- 2023-09 Mise à jour cumulative pour .NET Framework 3.5,…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,507 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2023-10-18T12:59:23.5666667+00:00
saber 0 Reputation points
commented 2024-05-24T11:38:59.2766667+00:00
saber 0 Reputation points
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,697 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-05-24T10:44:29.97+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,886 Reputation points
commented 2024-05-24T10:39:28.55+00:00
Dani_S 2,886 Reputation points
0 answers

is possible to wrap an instalable App package for iPhone like .apk file for android?

I have developed a proof of concept App with .NET MAUI and it works ok with Android and i can build an instalable .apk package to deploy the app in Android smartphones. My boss has an iPhone and wants to try the app in it. Ive borrowed an AirMac to build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-24T10:11:03.05+00:00
Josete Llan 0 Reputation points
0 answers

Maui for Android simulate backspace button action

Hello All. in my app I want to simulate backspace button action manly I want when user hold the the button pressed to delete a character in every 300 milliseconds until the button released please how I do that. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2024-05-24T10:04:01.8433333+00:00
Haviv Elbsz 1,946 Reputation points
0 answers

How to use localized RESX in Blazor WASM?

Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,239 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,382 questions
asked 2024-05-22T07:01:50.83+00:00
Rada Matěj 180 Reputation points
commented 2024-05-24T10:01:37.92+00:00
Rada Matěj 180 Reputation points
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,448 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,605 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,696 Reputation points
commented 2024-05-24T09:46:18.41+00:00
Mansour_Dalir 1,696 Reputation points
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-05-24T09:31:23.4866667+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
0 answers

code object is not signed at all on .net MAUI

I am trying to debug my MAUI app on a real iOS device for push notifications. I have a remote mac connection to my mac book[Sonoma 14.5], Visual Studio 2022 [Version 17.9.7], Xcode [15.2] iOS Device[17.5] and no matter what I do I get this error : code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 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.
951 questions
asked 2024-05-24T08:12:46.71+00:00
Farshad Nabizadeh 0 Reputation points
2 answers

EF Core doesn't recognize many-to-many relationship

I have a many-to-many relationship, altough EF Core seems not to recognize it. The relationship exists between JobOffer and JobOfferTag. JobOffer inherits from BaseJobOffer. BaseJobOffer.cs public class BaseJobOffer { [Required] …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 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,382 questions
asked 2024-05-23T15:23:05.96+00:00
iKingNinja 60 Reputation points
answered 2024-05-24T07:21:04.53+00:00
Hongrui Yu-MSFT 260 Reputation points Microsoft Vendor
2 answers

framework realated question

what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 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,894 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,382 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
306 questions
asked 2024-05-10T16:37:37.01+00:00
Siddangoud Bharamagoudar 61 Reputation points
commented 2024-05-24T07:17:27.83+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor