24,273 questions with .NET-related tags

Sort by: Updated
1 answer

[MAUI] How to create home shortcut for app on Android

I've been searching, with no luck so far, how to add a shortcut for my MAUI .NET 8.0.5 application on Android 10 (API 29) home screen. There are two Android permissions in the manifest INSTALL_SHORTCUT UNINSTALL_SHORTCUT But neither seem to produce…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,985 questions
asked 2024-05-27T14:27:31.6933333+00:00
Camille 6 Reputation points
edited an answer 2024-05-28T03:18:16.0733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,541 Reputation points Microsoft Vendor
1 answer

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,985 questions
asked 2024-05-24T10:04:01.8433333+00:00
Haviv Elbsz 1,946 Reputation points
answered 2024-05-28T03:03:52.1566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,111 Reputation points Microsoft Vendor
1 answer

Publish Azure Windows app service time charge very high

When trying to publish an application with Microsoft Visual Studio, it gets stuck on the loading page. I have installed Azure deployment and reset my internet connection, which is good. What can I do?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
601 questions
asked 2024-05-26T19:56:09.15+00:00
Raúl Gómez 0 Reputation points
answered 2024-05-28T02:18:48.3433333+00:00
JasonPan - MSFT 4,476 Reputation points Microsoft Vendor
1 answer

What is the best way to install .net Runtime v8.0 via Intune?

What is the current best way to install .net Runtime v8.0 via Intune to a large number of users? The .net website offers an .exe file but it doesn't contain an .msi I can turn into an Intune app. There are also winget instructions listed but winget…

.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
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,488 questions
asked 2024-05-15T22:58:19.7133333+00:00
Woodson Baldwin 0 Reputation points
commented 2024-05-28T02:10:26.9733333+00:00
Crystal-MSFT 44,416 Reputation points Microsoft Vendor
2 answers

How to make search text in ASP.NET dropdown controls

I have been developing ASP.NET application. some of the place i want searchable dropdown controls. the dropdown should search both numbers and name. How to do this...? example data as below. Cust.Name | Cust.Number Alfred K AXN29109 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,318 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,391 questions
asked 2024-05-25T08:11:36.1666667+00:00
Gani_tpt 1,766 Reputation points
commented 2024-05-28T02:00:37.7233333+00:00
Lan Huang-MSFT 26,526 Reputation points Microsoft Vendor
1 answer

How to Detect Initial DPI changes in a WPF Application while Scaling according to Per Monitor Aware in Variable Dynamic Screen Resolution?

In daily life we have to deal with a lot of different types of display size it may be mobile or may be a 4k monitor. The screen resolution vary from display to display. Here another important factor is DPI (Display per inch) which is mainly a scaling…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,859 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,687 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,391 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,564 questions
asked 2024-05-27T23:46:16.7233333+00:00
MERUN KUMAR MAITY 531 Reputation points
edited an answer 2024-05-28T01:54:17.0633333+00:00
mohamed elsayed 0 Reputation points
0 answers

How to clear the account list in the Web Account Manager list of Accounts displayed by WAM Broker

I have a WPF desktop app that accesses an Azure WebAPI. It uses the MSAL library and when authenticating uses the WAM broker. When the list of accounts is displayed, there is an account of someone that used the computer once when I was logged on to the…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
628 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,399 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,867 questions
asked 2024-05-25T18:43:22.4933333+00:00
Michael 76 Reputation points
edited the question 2024-05-28T01:34:29.8266667+00:00
Jiale Xue - MSFT 36,471 Reputation points Microsoft Vendor
2 answers

Is it correct to make connection string dynamic?

Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
703 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,911 questions
asked 2024-05-20T19:12:10.4966667+00:00
Atilla Rüstəmli 0 Reputation points
edited the question 2024-05-28T01:33:06.14+00:00
Zhi Lv - MSFT 32,046 Reputation points Microsoft Vendor
0 answers

comment ajouter la liste des emulateurs dans VS22

j'ai un projet avec VS22 tout d'un coup je trouve pas la liste des emulateurs pour tester mon application qui est en xamarin (android)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,302 questions
asked 2024-05-27T16:14:33.3633333+00:00
noureddine hamla 0 Reputation points
edited a comment 2024-05-28T01:29:07.85+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,541 Reputation points Microsoft Vendor
0 answers

403 Forbidden Error When Running SSRS Reports from Azure Web App within VNet

Hello everyone, I’m facing an issue with accessing SSRS reports hosted on a virtual machine from an Azure Web App with the database on a separate managed instance and the SSRS on a VM with access done via  URL. Here’s the situation: The reports execute…

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,291 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,048 questions
asked 2024-05-28T00:13:24.8333333+00:00
Chris Boyce 20 Reputation points
edited the question 2024-05-28T00:50:33.8433333+00:00
Chris Boyce 20 Reputation points
2 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,318 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,391 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-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
answered 2024-05-28T00:28:19.7033333+00:00
SurferOnWww 2,071 Reputation points
3 answers

Rename a form in Visual Studio 2022

Hello, trying to rename a form. The guidance here appears to still be good but even though I renamed the form in solution explorer, told VS2022 to rename it everywhere, and set the startup object in project properties, I still get the error,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
asked 2023-03-27T21:23:08.4866667+00:00
Steev43230 5 Reputation points
answered 2024-05-27T23:01:11.3866667+00:00
Tuấn Anh 0 Reputation points
1 answer

Problem in bitmap to vector image converter

Hi, I want to make an app that converts a bitmap image to SVG format. Below you can see my code: @page "/" @using Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 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,422 questions
asked 2024-05-27T14:06:14.7366667+00:00
Saeed Pooladzadeh 231 Reputation points
commented 2024-05-27T22:39:51.2233333+00:00
Saeed Pooladzadeh 231 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,985 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,886 Reputation points
commented 2024-05-27T22:20:51.6466667+00:00
Bruce (SqlWork.com) 58,041 Reputation points
1 answer

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
commented 2024-05-27T21:53:21.33+00:00
Steve Andrews 0 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 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,608 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-27T21:00:43.62+00:00
KOZ6.0 5,295 Reputation points
1 answer

How to fix HTTP Error 500.30 - ASP.NET Core app failed to start

I'm new to Azure and unsure how to start troubleshooting my issue, I've found the portal support to be unhelpful. The support system asks numerous questions about the problem but ultimately provides no solutions or contact with a support representative,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,244 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,298 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,048 questions
asked 2024-05-27T19:03:13.73+00:00
Sooraj Krishnakumar 0 Reputation points
answered 2024-05-27T19:53:44.1166667+00:00
Azar 20,510 Reputation points
1 answer

How to fix MSB4242, SDK Resolver Failure, saying it cannot access a file being used by another process

I resolved it already, but adding this here because there was no documentation about MSB4242 and I couldn't find any sites mentioning it along with the same exception message. Not sure why it started. My solution was building just fine before. I don't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,463 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,706 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,985 questions
asked 2024-05-27T19:30:17.46+00:00
shwartz 0 Reputation points Microsoft Employee
answered 2024-05-27T19:42:21.38+00:00
shwartz 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

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,391 questions
asked 2024-05-24T17:30:04.13+00:00
Pat Hanks 60 Reputation points
commented 2024-05-27T17:43:07.8366667+00:00
Pat Hanks 60 Reputation points
1 answer

XamlC error XFC0062: Undeclared xmlns prefix

Hi, I am doing a first test in .NET Maui but can't get this resolved. I keep getting the same compile error on : Error XFC0062 Undeclared xmlns prefix "mym". MyMauiApp C:\Users\thoma\source\repos\MyMauiApp\MainPage.xaml 17 Output window : …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,706 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,985 questions
asked 2024-05-27T15:14:18.1133333+00:00
ThomasB-3258 0 Reputation points
answered 2024-05-27T17:20:30.5633333+00:00
ThomasB-3258 0 Reputation points