23,174 questions with .NET-related tags

Sort by: Updated
0 answers

Getting recording to work with multiple USB cameras using C# .NET

Hello, I have a question opened on the Raspberry Pi forum but I don't seem much of activity there, especially regarding .NET IoT on ARM. I follow this article https://neilsnotes.net/Software/Coding/dotnetPiCam.html and I simply don't understand why the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
27 questions
asked 2024-03-04T23:05:03.5+00:00
Marco Enxuto 326 Reputation points
3 answers One of the answers was accepted by the question author.

Data insertion by datagridview

I have a DataGridview filled with some data in approx 100 rows and in 5 columns. I also have a button on the form. i want that whenever i click on that button, all the data from that DataGrid view gets inserted in my database but all the rows data at…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,805 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,984 questions
asked 2023-10-27T09:41:36.68+00:00
Rajkumar Rao 100 Reputation points
edited a comment 2024-03-04T22:30:43.68+00:00
Abdulaziz Mohammed Ameen Qasem 0 Reputation points
0 answers

referencing selected item from picker returns the class name, rather than the selected valur

Hi, I have a drink picker <Picker x:Name="drinkPicker" WidthRequest="175" HorizontalOptions="Start" Grid.Row="1"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-03-04T21:57:10.49+00:00
Chris Onz 0 Reputation points
0 answers

rethinking user flow

I am coding my user flow but this time I am going to dynamically create the menu. So, in my shell, I have two pages. Startup Page Login Page The startup page is responsible for checking for the token and redirect the user. public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-03-02T15:31:31.4966667+00:00
Eduardo Gomez 3,216 Reputation points
edited a comment 2024-03-04T21:47:25.0333333+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

How to resolve error 0x80073701 during Features Installation on Microsoft Windows Server 2019 Datacenter OS

Hello, I am encountering Error 0x80073701 while attempting to install certain features on Azure VM running Microsoft Windows Server 2019 Datacenter OS. This error appears when I try to install everything together or with each feature separately. Is…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,347 questions
Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
419 questions
asked 2024-03-04T15:15:44.6066667+00:00
Diego de Torres 0 Reputation points
commented 2024-03-04T21:38:57.5866667+00:00
Lex Li (Microsoft) 4,247 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed

I created a project with ASP.NET Visual Studio 2022 .NET Framework Version 4.8.1 I imported all .dll files from Framework version 4.8.1. Anything that has code referring to 'Color' generates the following error message. Error BC31091 Import of type…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 246 Reputation points
accepted 2024-03-04T21:28:47.7433333+00:00
Simon 246 Reputation points
1 answer

IDX40001: Issuer: does not match any of the valid issuers provided for this application

My Azure AD B2C application has suddenly stopped authenticating requests due to "IDX40001: Issuer: 'https://<tenant>.b2clogin.com/<tenantId>/v2.0/', does not match any of the valid issuers provided for this application" Looking at…

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.
581 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,025 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,736 questions
asked 2024-02-24T22:34:41.93+00:00
26375912 0 Reputation points
commented 2024-03-04T21:18:51.0933333+00:00
JamesTran-MSFT 36,061 Reputation points Microsoft Employee
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
edited a comment 2024-03-04T20:38:02.83+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Cosmos "This is blocked by your Cosmos DB account firewall settings." within IHostedService

TLDR; Why can't I access Cosmos through an IHostedService when I am able to Access it via aspnet on the same App Service? I have an App service that serves an ASP.Net Core web API as well as hosting an IHostedService instance. The hosted service listens…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,025 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,536 questions
asked 2024-02-07T01:01:19.2466667+00:00
Cleland, Joe 5 Reputation points
edited the question 2024-03-04T20:35:18.78+00:00
GeethaThatipatri-MSFT 25,837 Reputation points Microsoft Employee
0 answers

Error accessing web application: ":( Application Error If you are the application administrator, you can access the diagnostic resources."

Hi, I am following the instructions in the module "Develop and configure an ASP.NET application that queries an Azure SQL database". I finally was able to build the web app after getting some help in Q&A. However, when I tried to access the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,025 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,536 questions
asked 2024-02-25T13:52:30.7966667+00:00
YAU NICHOLAS HENG WAH 20 Reputation points
edited the question 2024-03-04T20:34:53.3366667+00:00
GeethaThatipatri-MSFT 25,837 Reputation points Microsoft Employee
0 answers

No webpage was found for the web address

I have deployed web api to Azure. The API has an SQL server which i have configured when deploying. I have checked the connection string is in the app settings and i have migrated my database with data so it should be working, but i keep getting a 404…

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.
280 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,536 questions
asked 2024-02-05T10:14:14.5266667+00:00
John chimbani 0 Reputation points
edited the question 2024-03-04T20:34:12.2033333+00:00
GeethaThatipatri-MSFT 25,837 Reputation points Microsoft Employee
0 answers

Converting the PDF to a bitmap image corrupted the text content of the PDF.

I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted.  PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,263 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,805 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 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,984 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
745 questions
asked 2024-03-04T19:42:32.9566667+00:00
Vikram Devaraj 0 Reputation points
edited the question 2024-03-04T19:44:21.8566667+00:00
Vikram Devaraj 0 Reputation points
0 answers

System.NullReferenceException at Microsoft.Maui.Platform.KeyboardAutoManagerScroll.AdjustPosition()

I'm working on a Maui plugin that sometimes presents some native iOS UI.  I'm seeing a crash at Microsoft.Maui.Platform.KeyboardAutoManagerScroll.AdjustPosition() when that UI is presented modally and a DidUITextBeginEditing notification is fired (by the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-03-04T19:44:02.27+00:00
Frank Schmitt 0 Reputation points
1 answer

App will run through visual studio but not via exe

I am developing a maui app in VS 2022, Debug and Release will run fine when launched via VS. However, when I go to the apps bin folder, it will not launch, I click on the .exe and nothing happens. I tried copying the bin/release and debug folders to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,245 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 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,984 questions
asked 2024-03-03T22:43:14.8333333+00:00
Phunction 201 Reputation points
answered 2024-03-04T19:29:31.14+00:00
Peter Ritchie 1 Reputation point
0 answers

No Internet page change

I have a no internet page, and I check if the connection comes up again. public partial class App : Application { private readonly AppShell _appShell; private readonly NoInternetPage _noInternetPage; public App(AppShell appShell,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-03-04T17:54:57.5566667+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Get Extended Events Data for Azure Managed Instance MFA with C# code

Hi, We are working with Extended Events. We have utilized QueryableXEventData Class for SQL Server 2016,2019 versions. But now we also wanted to retrieve the data for Azure SQL Managed Instance with Multifactor authentication…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 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,323 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,984 questions
asked 2024-02-29T16:55:11.4333333+00:00
Deepak Rane (drane) 40 Reputation points
commented 2024-03-04T17:08:43.24+00:00
Oury Ba-MSFT 15,276 Reputation points Microsoft Employee
1 answer

XmlSerializer Exceptions on start up when debugging after Upgrading Visual Studio 2022 to v17.9.0

After upgrading Visual Studio 2022 to version 17.9.0, xml serialization exceptions are displayed on the console and output windows when starting to debug a .NET 6 Web API solution. The prior versions of Visual Studio 2022 do not have the issue with the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 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,444 questions
asked 2024-03-01T19:59:38.64+00:00
Hatoum,Mark 0 Reputation points
edited a comment 2024-03-04T16:40:11.3766667+00:00
Hatoum,Mark 0 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

In MS Graph SDK 5.36.0 version, I can create folder in SharePoint. But when I update to MS Graph SDK 5.41.0 version, I can not create folder in SharePoint anymore. It throw an error…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,025 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,214 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,563 questions
asked 2024-03-02T02:47:19.0466667+00:00
Jackie Dinh 0 Reputation points
commented 2024-03-04T16:07:55.9566667+00:00
Sourabh Gupta 560 Reputation points Microsoft Vendor
0 answers

How to resize HoloLens 2D application window size via code

I want to customize windows size of my 2D HoloLens UWP application. I have tried below code in my .NET application. This doesn't work in HoloLens, but it works in Windows PC. ApplicationView.PreferredLaunchViewSize = new Windows.Foundation.Size(950,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,193 questions
Universal Windows Platform (UWP)
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,984 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
366 questions
asked 2024-03-04T11:45:28.4366667+00:00
Sadev Kalubowila 10 Reputation points
commented 2024-03-04T15:15:40.87+00:00
PDF 0 Reputation points
1 answer

Maui - Using Timer in multi main page navigations

Hi, Here is my code: Did I used in correcy way ? Thanks in advance, private IDispatcherTimer _indicatorTimer; public MainPage(string navigateTo) { InitializeComponent(); currentContentViewHolder.Children.Clear(); if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,629 questions
asked 2024-03-03T10:46:21.53+00:00
דני שטרית 2,266 Reputation points
accepted 2024-03-04T14:51:59.1533333+00:00
דני שטרית 2,266 Reputation points