Microsoft Q&A

.NET

20,650 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,650 questions with .NET-related tags

Sort by: Updated
0 answers

Unable to open Power BI.api NUPKG file from Visual Studio

Hello Support team, We are trying to open microsoft.powerbi.api.4.16.0 NUPKG file from Visual Studio. It's throwing error - "The file is not displayed in the text editor because it's binary or uses unsupported text encoding". Screenshot…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,784 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.
242 questions
asked 2023-09-26T11:36:29.72+00:00
Kalpana P 0 Reputation points
0 answers

I have performance issue when i get int value from redis cache

I use Azure Redis cache in the .net core 7 project and I have an INT value and try to get it in the .net core 7 project. but my problem is that getting the value from the Redis cache takes too long like 500 milliseconds, is there any reason for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,562 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
176 questions
asked 2023-09-26T11:24:01.6533333+00:00
Hamza Taha 25 Reputation points
commented 2023-09-26T11:30:50.5566667+00:00
JasonPan - MSFT 2,611 Reputation points Microsoft Vendor
1 answer

Call Webapi JWT

I created API with JWT Token https://github.com/KalyanAllam/VisitsApi Where Auth Controller generates the token. https://github.com/KalyanAllam/VisitsApi/blob/master/VisitsApi/Controllers/AuthController.cs when token is passed to Visists Controller It…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,562 questions
asked 2023-09-25T13:18:05.5+00:00
Dotnet Engineer 280 Reputation points
edited the question 2023-09-26T10:53:30.6933333+00:00
Dotnet Engineer 280 Reputation points
0 answers

Finding parent form and tablelayoutPanel

hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,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.
8,975 questions
asked 2023-09-26T10:44:39.0333333+00:00
Shaifali jain 200 Reputation points
1 answer

issue in opacity of the parent form and panel

Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,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.
8,975 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-26T10:26:42.59+00:00
KOZ6.0 395 Reputation points
1 answer

Adding currency symbol to gridview bounfield data

Hello, Please is it possible to add a label control to represent currency symbol beside the amount figure in boundfield? *The currency symbol will be fetched from database field and displayed in a label control Just as seen in this image…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,635 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
619 questions
asked 2023-09-26T06:57:40.0433333+00:00
Donald Symmons 2,006 Reputation points
answered 2023-09-26T10:11:23.4033333+00:00
Lan Huang-MSFT 17,806 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Opening the new form and closing the previous

Hi , In my project i am stuck at a point and can not figure out how to open a new form inside a panel of already opened form . So there is a form named father and it has a panel . i am using this panel to open all subsequent forms (children) . there are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,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.
8,975 questions
asked 2023-09-23T11:35:39.78+00:00
Shaifali jain 200 Reputation points
commented 2023-09-26T10:07:48.36+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor
1 answer

Empty space occurs in secondary toolbar item MAUI

Here is my toolbar item In secondary toolbar item, empty space occurs before first element. <Shell.ToolbarItems> <ToolbarItem IconImageSource="fontsize" Order="Primary"/> <ToolbarItem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,860 questions
asked 2023-09-25T15:16:08.6066667+00:00
Gnana 0 Reputation points
answered 2023-09-26T10:05:15.3733333+00:00
Gnana 0 Reputation points
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

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,477 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,784 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.
10,950 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.
8,975 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-26T10:00:17.5133333+00:00
Hui Liu-MSFT 21,376 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

ServiceHost is freezing on multiple calls

Hi, I need to configure WCF for very fast parallel queries. Right now, the ServiceHost is melting just after 900 requests. It freezes and only after shutdown of a current instance it produces some calls of contracts, but only like 130 - 200 calls will…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
291 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.
8,975 questions
asked 2023-09-25T07:09:34.99+00:00
Rada Matěj 20 Reputation points
accepted 2023-09-26T09:42:46.4266667+00:00
Rada Matěj 20 Reputation points
1 answer

How to bind Command in ContextMenuItem

Thanks to @Hui Liu-MSFT and @Peter Fleischer (former MVP) ,now I am able to operate my TreeView and do Drag&Drop on it. Also I can ONLY display ContextMenu by right click on the first level of TreeViewItem, which is required. You can see the…

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,477 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.
8,975 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.
688 questions
asked 2023-09-25T10:08:05.2533333+00:00
BabyHai 41 Reputation points
edited a comment 2023-09-26T09:37:27.55+00:00
Hui Liu-MSFT 21,376 Reputation points Microsoft Vendor
0 answers

Unable to run MAUI Android app

Hi, Why I am suddenly getting this error when trying to run MAUI's Android app? /Users/jassim/Downloads/MyApp: Error JAVA0000: Error in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,860 questions
asked 2023-09-24T20:56:07.6633333+00:00
Jassim Al Rahma 26 Reputation points
commented 2023-09-26T09:36:19.6333333+00:00
Jassim Al Rahma 26 Reputation points
0 answers

How do I programmatically "restart" an Android app in.Net maui?

How do I programmatically "restart" an Android app in.Net maui? I have been trying to restart the application when the system reboot in .net maui app AndroidManifest.xml BootBroadcastReceiver.cs using global::Android.App; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,860 questions
asked 2023-09-25T15:57:33.59+00:00
San Sheva Santhanaraj 0 Reputation points
commented 2023-09-26T09:30:31.2066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,086 Reputation points Microsoft Vendor
1 answer

Is MAUI a production ready to upgrade an iOS/Android Xamarin Forms project to?

We have iOS and Android apps written with Xamarin Forms. We know XF has reached end of life and the upgrade path is to move to MAUI. However, MAUI gets very negative comments and I'm wondering if this upgrade is really a good idea. See the comments at…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,153 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,860 questions
asked 2023-09-25T19:05:54.52+00:00
Scott 0 Reputation points
answered 2023-09-26T09:26:59.0266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,336 Reputation points Microsoft Vendor
1 answer

Can't setup the software Microsoft Identity Extensions-64.msi in OS:windows server 2019

I can't setup the software: Microsoft Identity Extensions-64.msi in OS:windows server 2019, the error can display in the attachments picture; What's the website URL can download the software Windows Identity Foundation ? Help me please,thank you very…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,976 questions
SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,969 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,562 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,784 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,050 questions
asked 2023-09-26T08:13:18.3866667+00:00
pxesoft198007 20 Reputation points
answered 2023-09-26T09:17:46.7166667+00:00
Tianyu Sun-MSFT 20,686 Reputation points Microsoft Vendor
0 answers

How to run AI model in a Blazor frontend

Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,081 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,928 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,105 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
131 questions
asked 2023-09-21T17:27:39.8233333+00:00
Héðinn Steingrímsson 0 Reputation points
commented 2023-09-26T08:56:29.3533333+00:00
santoshkc 5 Reputation points Microsoft Vendor
5 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,784 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 30 Reputation points
answered 2023-09-26T08:56:16.3533333+00:00
Alex Godov 0 Reputation points
1 answer

Message handler called outside of the Windows message loop. Please explain.

Initial conditions: Simple Windows Forms application (c#, .NET 4.6.1), dialog box containing among other controls, a combo box. The combo box contains several items. On using a certain control on the dialog's surface (e.g. pressing a button), the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,629 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,051 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.
8,975 questions
asked 2023-09-19T12:22:44.3966667+00:00
Milinovici, Gleb 0 Reputation points
commented 2023-09-26T08:55:09.8133333+00:00
Jiale Xue - MSFT 10,381 Reputation points Microsoft Vendor
2 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,562 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 5 Reputation points
commented 2023-09-26T08:44:52.0533333+00:00
Abelardo León González 0 Reputation points
0 answers

Unable to get Tab bar and Flyout together in the shell.

Is there any way to get both Tab bar and Flyout in the Shell in. NET MAUI. Documentation says it is not possible, is there any way to create a custom Flyout or Tab bar in the same Shell.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,860 questions
asked 2023-09-26T08:36:41.57+00:00
Jibin Jacob 0 Reputation points