26,602 questions with .NET-related tags

Sort by: Updated
0 answers

Infinite loop in SaveCommentOnBlur when Unfocused event is triggered in MAUI

In my custom MAUI entry control, the SaveCommentOnBlur method gets stuck in an infinite loop when the EntryField_Unfocused event is triggered. This causes the keyboard to hang, and either the keyboard or the app becomes unresponsive. Steps to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-12T18:39:33.88+00:00
Omkar Pawar 40 Reputation points
edited the question 2025-01-12T18:40:39.83+00:00
Omkar Pawar 40 Reputation points
2 answers

No publish option C# console app VS 2022

Following a C# tutorial telling me to use the "Publish Selection" on my code, but in can't find it anywhere. I've tried installing stuff into my VS but it changed nothing. Did I miss something?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,340 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.
11,186 questions
asked 2023-10-05T19:34:54.45+00:00
Thibaut Bournonville 0 Reputation points
answered 2025-01-12T18:14:35.7333333+00:00
Luppnow, L. (La'Chelle) 0 Reputation points
3 answers

How to use WPF Mouse.OverrideCursor in a VB.NET application

I tried a sample WPF code, that Kareninstructor recommended to me, from https://github.com/karenpayneoregon/visual-basic-getting-started/tree/master/ChangeCursor to test the usage of Mouse.OverrideCursor - this worked beautifully. However, it is a…

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,807 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,764 questions
asked 2021-01-27T21:30:00.707+00:00
Jim Webb 41 Reputation points
edited the question 2025-01-12T17:42:01.4666667+00:00
TP 101.3K Reputation points
1 answer

In Azure Web PubSub, How to receive messages in backend microservice for processing

Requirement: My clients are using simple WebSocket connection to send messages. I want to receive these messages inside my backend .NET 8 web api and process them further to send fine-tuned data to some distributed cache services. From documentation, I…

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
81 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 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.
11,186 questions
asked 2025-01-10T05:55:02.9966667+00:00
dheeraj awale 1 Reputation point
edited an answer 2025-01-12T17:36:37.2733333+00:00
Bruce (SqlWork.com) 69,121 Reputation points
1 answer One of the answers was accepted by the question author.

Invalid dex file indices" Error in Net Maui

Hi, I get the following error when publish Android app. [BT : 1.8.1] error : Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex' Steps: Create a new Maui app Copy keystore file created using Xamarin…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2022-09-18T00:49:49.673+00:00
Yusuf 791 Reputation points
commented 2025-01-12T15:17:26.0566667+00:00
Mohamed H.. Mohi El-Dien 0 Reputation points
2 answers One of the answers was accepted by the question author.

NET MAUI Splash Screen Not Displaying logo.png on Android 14 and 15

I am developing a .NET MAUI application and facing an issue with the splash screen when installing the app on physical devices running Android 14 and 15. The splash screen only displays the purple background, but the logo.png image (with a white…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-08T10:00:35.2966667+00:00
Omkar Pawar 40 Reputation points
accepted 2025-01-12T14:21:42.4+00:00
Omkar Pawar 40 Reputation points
0 answers

Java.Lang.ClassNotFoundException Didn't find class "androidx.core.splashscreen.SplashScreen" on path: DexPathList

I get the following error in Activity1.cs in my Android project: protected override void OnCreate(Bundle bundle) { AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen(this); Java.Lang.ClassNotFoundException Message=Didn't find class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-12T14:14:34.6133333+00:00
Kim Strasser 1,201 Reputation points
1 answer One of the answers was accepted by the question author.

The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine.

How do I register Microsoft.ACE.OLEDB.12.0 in Visual studio 2022

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
asked 2025-01-03T14:53:58.0066667+00:00
Colin De Villiers 20 Reputation points
commented 2025-01-12T14:12:25.41+00:00
Colin De Villiers 20 Reputation points
2 answers

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,019 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.
361 questions
asked 2025-01-10T16:24:18.3033333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-01-12T08:33:40.0366667+00:00
Jose Daniel Navarro Brito 61 Reputation points
2 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-09T10:00:45.93+00:00
mc 5,041 Reputation points
edited an answer 2025-01-12T08:23:06.0433333+00:00
ASFEND YAR HAMID 156 Reputation points MVP
3 answers

Hundred of errors after update to Visual Studio version 17.12.3!

I updated Visual Studio to version 17.12.3 and now, there is hundred of errors in Building project! My .net Core project was work correctly before updating. I checked errors but they are nonsense! All codes are correct.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,340 questions
asked 2025-01-03T10:39:16.9366667+00:00
Hossein Dabbaghan 21 Reputation points
edited an answer 2025-01-12T04:58:53.98+00:00
Hossein Dabbaghan 21 Reputation points
1 answer

How do I update DBContext after adding new table to SQL database?

We added a new table to our SQL Server database called Occupation. From the ASP.NET Web Form project, I can not seem to access it. Imports System.Data.Entity Public Class CCDBContext Inherits DbContext Public Sub New() …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 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,764 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,675 questions
asked 2025-01-11T17:50:11.4366667+00:00
Joe Pool (Heartland) 0 Reputation points
answered 2025-01-12T00:51:42.0733333+00:00
SurferOnWww 3,696 Reputation points
0 answers

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
0 answers

How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error

Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
2 answers

Issues with Rotating ProgressBar for Vertical Orientation In WinUI App

Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,034 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 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.
11,186 questions
asked 2025-01-08T14:04:24.5533333+00:00
Mahdi Hosseini 155 Reputation points
answered 2025-01-12T00:26:10.57+00:00
Active Server 0 Reputation points
1 answer

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-04T14:38:08.8266667+00:00
Eduardo Gomez Romero 1,175 Reputation points
commented 2025-01-11T23:41:43.59+00:00
Eduardo Gomez Romero 1,175 Reputation points
1 answer

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
asked 2025-01-06T15:44:50.4466667+00:00
Eduardo Gomez Romero 1,175 Reputation points
commented 2025-01-11T23:38:08.9633333+00:00
Eduardo Gomez Romero 1,175 Reputation points
0 answers

test return value after executing NavigateToAsync command

The following code works perfectly. but now I want to test the value returned in a global variable. (this is an inventory system with a multi column checklist page that calls and populates the infopagemodel when I tap an item/line , so that I can…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,340 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 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.
11,186 questions
asked 2025-01-11T21:01:01.0633333+00:00
tim 200 Reputation points
edited the question 2025-01-11T22:46:00.8366667+00:00
tim 200 Reputation points
2 answers

Redis stack trace does not appear in Kubernetes Pod Log! Why not?

I have an ASP.NET core 3 web app I'm trying to debug in an Azure Kubernetes pod. I could look at the kubernetes pod log and see my System.Console.WriteLine statements inside of my ConfigureServices functions and everything looked great -- including my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
264 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,221 questions
asked 2020-12-17T20:50:41.157+00:00
Siegfried Heintze 1,906 Reputation points
edited the question 2025-01-11T19:24:06.48+00:00
TP 101.3K Reputation points
1 answer

Implementing mTLS Between Two Apps Using ASP.NET

Guidance is requested on implementing mTLS between two applications using ASP.NET MVC in C#. or any .net code. The setup will involve a handshake between the server app and client app, developed in a localhost environment, utilizing OpenSSL or another…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,729 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,561 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.
361 questions
asked 2025-01-07T13:20:51.7133333+00:00
Abdul Baba Syed 21 Reputation points
edited a comment 2025-01-11T19:15:08.71+00:00
Bruce (SqlWork.com) 69,121 Reputation points