23,367 questions with .NET-related tags

Sort by: Updated
1 answer

how to solve a dot net core MAUI Dependency Injection failure that just hangs

I am developing a MAUI application with dot net core 8. i need to setup getting data from a rest api and binding the data to xaml pages with MVVM. i have used online examples to be the basis for my code and the samples run. in my app a content page will…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,244 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-18T14:59:18.7433333+00:00
denny figuerres 0 Reputation points
answered 2024-03-19T13:21:58.7033333+00:00
denny figuerres 0 Reputation points
1 answer

.net Core Google Authentication Correlation failed. Error in staging sever

here is my error log: 1 ERRORMicrosoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware An unhandled exception has occurred while executing the request. Microsoft.AspNetCore.Authentication.AuthenticationFailureException: An error was encountered while…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 questions
asked 2023-12-20T05:45:54.72+00:00
NithinBolishetti 0 Reputation points
commented 2024-03-19T13:21:01.6233333+00:00
Antony Rapa 0 Reputation points
0 answers

Maui for Android platform Ver 34

Hello All. I use VS 17.10 preview 1 and android Ver 34. I s it possible to the app to be running always although it's not in foreground. If yes how I can achieve that. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-19T13:17:40.06+00:00
Haviv Elbsz 1,786 Reputation points
0 answers

IIS 10 with Windows Authentication not working anymore HTTP Error 401.2 - Unauthorized

I have created an application with asp.net core mvc v8 that works with Windows authentication in IIS 10. Setting: Authentication: all are disabled except Windows authentication. I have it mounted on a server and I need it to work on my local network. And…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 questions
asked 2024-03-18T14:34:06.6566667+00:00
Luis Cáceres 0 Reputation points
edited the question 2024-03-19T13:10:33.58+00:00
Luis Cáceres 0 Reputation points
0 answers

Is there a way to get a copy of the "regtlibv12.exe" file from the older .NET Framework packages?

I'm working for an organization that runs some very old software throughout the enterprise. This software works fine in operations, but I'm trying to find a solution to efficiently deploy installations of it to hosts running modern versions of Windows.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,244 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,829 questions
asked 2024-03-19T12:30:58.4733333+00:00
Michael Butt 0 Reputation points
0 answers

remember flyout choice.

I have a shell and a viewModel <Shell Title="DemyAI" FlyoutIsPresented="{Binding Status}" x:DataType="vm:AppShellViewModel" Shell.TabBarIsVisible="False"> <ShellContent …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-11T00:53:41.52+00:00
Eduardo Gomez 3,416 Reputation points
commented 2024-03-19T12:03:41.1633333+00:00
Eduardo Gomez 3,416 Reputation points
2 answers One of the answers was accepted by the question author.

How to Display multiple columns in WinForms combobox?

This picture is Access 2010.Data come from SQL. I tried to move to Winform. I know how to bind data sources. Can WinForms combobox do the same? Show 3 columns and titles, When a row is selected, return only Plan_no. I am new, maybe I need more detailed…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,409 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,055 questions
asked 2023-03-22T05:43:11.3733333+00:00
Kerry Ou 226 Reputation points
commented 2024-03-19T11:48:32.79+00:00
Ike 0 Reputation points
0 answers

critical code

Hi, I'm using NET 8. I have class library that many TASKS are reaching to critcal code. There are ruinnng in parallel I want that this critical code will be safe. How can i detect it ? public async Task<string> GetSessionToken(string key) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-19T10:49:25.6+00:00
דני שטרית 2,426 Reputation points
0 answers

Explicit concurrent copying GC freed 10645(416KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 5663KB/11MB, paused 331us total 12.731ms

Explicit concurrent copying GC freed 10645(416KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 5663KB/11MB, paused 331us total 12.731ms how to fix it? add heap size? how to increase it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-15T08:48:32.7366667+00:00
mc 3,501 Reputation points
commented 2024-03-19T10:13:08.4933333+00:00
mc 3,501 Reputation points
2 answers One of the answers was accepted by the question author.

Getting null continuation token ItemLinqQueryable

I seem to be having a strange issue when trying to use GetItemLinqQueryable method from the .NET implementation of the Microsoft.Azure.Cosmos. Specifically when I try to get around 40,000 records I got around ~3000 or so before I get a null continuation…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,244 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,387 questions
asked 2024-03-13T19:37:16.25+00:00
Andrew Rogers 0 Reputation points
accepted 2024-03-19T10:10:27.8266667+00:00
Andrew Rogers 0 Reputation points
2 answers

How to add a row to a DataGridView that has a ComboBox

I've been running this application for years. I just went from w10 to w11 and get the error message "DataGridViewComboBoxCell value is not valid" when loading data. The DataGridView has a ComboBox column, but I add structures that have only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,364 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,829 questions
asked 2024-03-16T19:15:22.5966667+00:00
Marc Graham 6 Reputation points
answered 2024-03-19T10:01:45.28+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
1 answer

Maui - create only one instance

Hi, I have maui app on WINDOWS 8 desktop. I have shortcut to exe. When i click on exe it create and instance of this app. It possible to limit to only one instance of app will be alive ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-18T08:35:55.1366667+00:00
דני שטרית 2,426 Reputation points
commented 2024-03-19T09:58:49.9466667+00:00
דני שטרית 2,426 Reputation points
0 answers

How to add accessible name ( aria-label ) in @DropDownListFor in razor?

I have filter dropdown and trying to add comply with 508 compliance. I used aria_label, aria-label and aria_labelledby but unable to see accessible name for the DropDownListFor. I see No ARIA attributes under ARIA Attributes on Chrome Browse tool. How…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,202 questions
asked 2024-03-18T17:56:37.2133333+00:00
OneWorld 0 Reputation points
edited a comment 2024-03-19T09:45:24.34+00:00
AgaveJoe 25,841 Reputation points
1 answer One of the answers was accepted by the question author.

Localize a DatePicker on Android using .Net Maui

Hi , i'm working with .net Maui 8 , and i want to use datepicker. it display name of days, months in English or i want it in french. i refer to learn page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/datepicker?view=net-maui-8.0 …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,244 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 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,055 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.
750 questions
asked 2024-03-18T12:19:47.7466667+00:00
Kaouthar GR AOUICHAOUI 20 Reputation points
commented 2024-03-19T09:39:04.96+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,096 Reputation points Microsoft Vendor
0 answers

MAUI: Issue with deleteing the last item from ObservableCollection

I am using an ObservableCollection saving comments. When I delete a comment, I will fetch the deleted comment id and delete that comment from the ObservableCollection. My Problem is if I delete the last comment all the previous comments are vanishing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-15T10:40:04.7333333+00:00
Sreejith Sreenivasan 671 Reputation points
edited a comment 2024-03-19T09:32:14.9433333+00:00
Sreejith Sreenivasan 671 Reputation points
1 answer

Why is OnInitializedAsync() called twice on a page reload

Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…

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,343 questions
asked 2024-03-17T23:34:40.2933333+00:00
David Thielen 1,926 Reputation points
commented 2024-03-19T08:58:04.48+00:00
Ping Ni-MSFT 1,620 Reputation points Microsoft Vendor
1 answer

.NET MAUI: popup modal window cancels an intent (Android platform)

Hello. I am writing .net maui application that serves as launcher for another multiplatform application. This launcher should install/update that another application and then do some actions (update ui, delete temporary files,..). Another question about…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-13T22:21:12.66+00:00
rodionovid 20 Reputation points
commented 2024-03-19T08:36:21.1633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,096 Reputation points Microsoft Vendor
0 answers

MAUI Group ListView issue while expanding and collapsing header item are going in hidden state

Simulator Screenshot - iPhone 15 - 2024-03-14 at 02.24.03.pngGroup ListView issue while expanding and collapsing header item are going in hidden state When Listview is expanding the header item are going in hidden state there see only empty space while…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,706 questions
asked 2024-03-18T07:30:17.31+00:00
Hashim Nazimudeen 0 Reputation points
commented 2024-03-19T08:28:51.7+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,096 Reputation points Microsoft Vendor
0 answers

Are there known compatibility issues with WS_EX_TOPMOST and Windows 11’s Start menu?

Title: Issue with WS_EX_TOPMOST in .NET App on Windows 11 Overlapping Start Menu Body: Hello, I’ve developed an application using the .NET Framework that applies the WS_EX_TOPMOST window style to create a watermark overlay. This overlay remains on top of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,244 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,829 questions
asked 2024-03-18T09:16:32.8+00:00
Ayush Mehta 0 Reputation points
edited a comment 2024-03-19T07:31:27.95+00:00
Hui Liu-MSFT 27,991 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Navigate on goButton_Click in winView2 ?

Tia ; How to Navigate on goButton_Click in winView2 ? Doesnt Navigate private void goButton_Click(object sender, EventArgs e) { infoBox.Text = "goButton_Click BEFORE if"; if (webView !=…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
asked 2020-10-16T14:35:44.93+00:00
vmars316 621 Reputation points
edited the question 2024-03-19T07:01:54.64+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor