23,478 questions with .NET-related tags

Sort by: Updated
0 answers

How to make System.Timers.Timer call async function synchronously when elapsed?

Hello! I am developing a telegram bot using .NET and I am having an issue. I have two timers that execute functions when elapsed. First timer re-posts a message (deletes a message and then posts identical copy, this is a workaround for the fact that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 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,095 questions
asked 2024-03-28T10:27:40.66+00:00
Roman Kovalov 0 Reputation points
1 answer One of the answers was accepted by the question author.

Permutations Array?

Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 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,095 questions
asked 2024-03-09T02:28:32.5766667+00:00
Jay-R Hayashi 206 Reputation points
accepted 2024-03-28T10:11:57.01+00:00
Jay-R Hayashi 206 Reputation points
0 answers

How to change the color of hamburger menu icon in Windows - Maui

Hello, When ever I add the flyout page in maui, I can able to see the default hamburger menu icon in the windows. I want to remove that icon and my desired icon or please let me know is there any posibility to change the color of the icon. FYI -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T06:51:58.7+00:00
Vaibhav Methuku 0 Reputation points
commented 2024-03-28T10:10:14.12+00:00
Vaibhav Methuku 0 Reputation points
0 answers

Seeking help with software runtime issues.

My version is Windows 10 Professional. I encountered runtime issues when using a software called TYPHOON HIL. The engineer of the software mentioned that the problem might be due to occasional lack of permission to access certain paths or files on the C…

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,647 questions
asked 2024-03-28T10:09:28.85+00:00
DS LEE 0 Reputation points
0 answers

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

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,349 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
2 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
commented 2024-03-28T10:04:17.9666667+00:00
AgaveJoe 25,866 Reputation points
0 answers

Creating an IOS app visual studio error

Trying to create a project and when I click create it pops up with an error and I can't seem ti find an answer as to why. Any help please.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-03-25T10:54:39.14+00:00
jf3000 0 Reputation points
commented 2024-03-28T10:03:37.06+00:00
jf3000 0 Reputation points
0 answers

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

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,349 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
2 questions
asked 2024-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
commented 2024-03-28T09:58:45.71+00:00
AgaveJoe 25,866 Reputation points
1 answer

Single transaction, multiple service calls to Entity Framework updating database

Hi all; I have a case with a single database defined by a single Entity Framework DbContext. I have things set up where updating the database is via services. This separates things out nicely and makes it easy to mock the database for the bUnit (Blazor…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
asked 2024-03-22T15:46:31.9333333+00:00
David Thielen 2,111 Reputation points
commented 2024-03-28T09:57:04.9266667+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
1 answer

Simple Graph Chart Required For Asp.net c# MS SQL

Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2024-03-28T05:39:53.7333333+00:00
RAVI 776 Reputation points
answered 2024-03-28T09:55:34.4333333+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
0 answers

Customize the close/minimize/maximize location

Hi, I tested n it not worked on this link: Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 I added this code in login page and MyRootPage and is not worked. // override the method of the page…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-26T09:29:51.33+00:00
דני שטרית 2,486 Reputation points
commented 2024-03-28T09:47:57.6066667+00:00
דני שטרית 2,486 Reputation points
0 answers

UnhandledException not fire in publish(realsed) mode as exe

Hi, Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 why UnhandledException not work in reeased mode after publish. public partial class App : Application { public App() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-25T07:58:43.6333333+00:00
דני שטרית 2,486 Reputation points
commented 2024-03-28T09:47:01.6966667+00:00
דני שטרית 2,486 Reputation points
0 answers

VelocityX can't open

Application: VelocityX.exe CoreCLR Version: 7.0.423.11508 .NET Version: 7.0.4 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
asked 2024-03-08T18:26:09.53+00:00
JAYNACK 0 Reputation points
commented 2024-03-28T09:46:06.0033333+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
0 answers

show financial year from date and to date

Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2024-03-28T09:44:11.2633333+00:00
RAVI 776 Reputation points
0 answers

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 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.
710 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.
756 questions
asked 2024-03-19T17:01:43.8666667+00:00
arunkumar.mr 0 Reputation points
commented 2024-03-28T09:41:46.8533333+00:00
arunkumar.mr 0 Reputation points
0 answers

How can i use System.Windows.Forms.DataVisualization.Charting.Chart under linux

Using .net 8 and nuget HIC.System.Windows.Forms.DataVisualization dont work if i want it commpile for Linux

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 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,095 questions
asked 2024-03-22T13:52:36.33+00:00
Stefan Hoffmann 0 Reputation points
commented 2024-03-28T09:38:12.8833333+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
0 answers

System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

Hi, I recently migrated my Windows Form app which was running in .NET framework 4.5.1 and migrated to .NET Framework 4.7.1. This latest migrated app is running in a production site. The configurations of the PC running the App is: OS: Windows 10 Pro …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
asked 2024-03-25T05:37:15.46+00:00
Petchiammal Rajumayandi 61 Reputation points
commented 2024-03-28T09:36:36.58+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
2 answers

What Is the Best Way to See Raw Data Stream Being Passed from SQL to .NET Application?

I am running some functions on application startup for my .NET application. This mostly involves running a bunch of scripts on my SQL database to ensure plans are cached. These queries are generated from EFCore-compiled queries. In doing this, I…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,262 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 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,481 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,685 questions
asked 2024-03-14T19:52:31.8+00:00
Mike-E-angelo 441 Reputation points
commented 2024-03-28T09:18:49.9+00:00
Mike-E-angelo 441 Reputation points
1 answer

Maui for android pinch gesture container issue

Hello All. I use Ver 17.10 preview 1 and Android Ver 34. I try to add Pinch Gesture Container and I get an error message. As below: What I miss. Please any help. Thank you. //Error I get //MainPage.xaml : XamlC error : Failed to resolve assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T19:11:29.31+00:00
Haviv Elbsz 1,826 Reputation points
edited a comment 2024-03-28T08:52:25.0666667+00:00
Haviv Elbsz 1,826 Reputation points
0 answers

Busy indicator is not visible in windows - Maui

Hello, I'm doing the UI operation, I want to display the busy indicator, I had added in the below way. try { var expander = sender as Expander; var headerText = (expander.Header as Border)?.Content is StackLayout headerStackLayout …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T09:56:56.5266667+00:00
Vaibhav Methuku 0 Reputation points
edited a comment 2024-03-28T08:51:33.44+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
1 answer

Binding to command defined in viewmodel not working using CommunityToolkit.Maui

I have a MAUI app that I am using CommunityToolkit.Maui to implement the MVVM pattern. I have the XAML markup with the code-behind and a view model in which I define a set of methods attributed with [RelayCommand]. In the XAML, I am creating a label with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 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.
756 questions
asked 2024-03-27T20:34:33.74+00:00
DRutter 1 Reputation point
answered 2024-03-28T08:47:47.0466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor