Microsoft Q&A

.NET

20,660 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,660 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How do I assign custom tools while including XML data?

This screenshot below displays the Entries files and their corresponding extensions on the right side of the framework. The Custom Tool is supposed to transform the XML data into a populated data grid view control. I don't know that much about using the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,629 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,792 questions
asked 2023-09-10T07:23:21.6466667+00:00
John 326 Reputation points
commented 2023-09-27T00:19:49.79+00:00
John 326 Reputation points
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,979 questions
asked 2023-09-23T11:35:39.78+00:00
Shaifali jain 200 Reputation points
edited a comment 2023-09-27T00:18:20.6866667+00:00
KOZ6.0 395 Reputation points
1 answer

How do I configure Full Text Search for my database

Hi all; I've read this (really helpful), this, & this. I think I understand how to select the varchar columns in my primary class. So for (Entity Framework - code first): public class Event { public int Id { get; private set; } public string…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
586 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,961 questions
asked 2023-09-26T18:22:02.61+00:00
David Thielen 1,406 Reputation points
commented 2023-09-26T23:02:22.3633333+00:00
David Thielen 1,406 Reputation points
0 answers

How to shutdown gracefully an Azure custom module using .net?

I want to shutdown a custom module after it has ran. Is there a way to programmatically shutdown (runtime status = stopped) a custom module using .Net?

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
461 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,052 questions
asked 2023-09-26T22:55:49.15+00:00
Kenia Sanchez 0 Reputation points
0 answers

App permissions denied, even when manually set

I have been updating my app to comply with Googles requirements of API level, and permission use. It seems that no matter what I try, I cannot get any permissions in my app. I have tried two different methods (code below). I am never prompted to approve…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,156 questions
asked 2023-09-26T17:59:39.9433333+00:00
Jesse Knott 666 Reputation points
edited the question 2023-09-26T22:47:34.61+00:00
Jesse Knott 666 Reputation points
2 answers

How to get mousedown (or click) event to fire on a picturebox in a worker thread

VB.net VS20022 Windows 10 In my base UI form I create a new form which has a picturebox in a container (this is a general-purpose form for drawing and all other controls on it are disabled and not displayed) The 2nd form overlays the bottom portion of…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,629 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,309 questions
asked 2023-09-19T16:48:35.8666667+00:00
JBDayrelton 0 Reputation points
answered 2023-09-26T22:26:08.1533333+00:00
JBDayrelton 0 Reputation points
2 answers

Replacing expiring AzureAD Client secret and .net core web application potential impact

Our AzureAD Client secret is going to expire next week and we already created a new client secret but have not deleted the expiring one yet. It is used to authenticate our .Net core Web application. We store Clientid, TenantId, domain etc in…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,586 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,563 questions
asked 2023-09-19T19:18:39.5166667+00:00
Saravanakumar Balachandran 20 Reputation points
commented 2023-09-26T22:02:23.2233333+00:00
JamesTran-MSFT 32,796 Reputation points Microsoft Employee
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,979 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-26T21:49:14.09+00:00
KOZ6.0 395 Reputation points
0 answers

MVC CORE GET API FAILS

Call to api https://visitsapi.azurewebsites.net/api/Auth/ fails getting 404 error Please visit here for github code https://github.com/KalyanAllam/JWTApiCall/ The source code for https://visitsapi.azurewebsites.net/api/Auth/…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,563 questions
asked 2023-09-26T16:47:03.1233333+00:00
Dotnet Engineer 280 Reputation points
commented 2023-09-26T20:31:32.0733333+00:00
AgaveJoe 520 Reputation points
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,863 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 371 Reputation points
commented 2023-09-26T19:22:37.93+00:00
Rob Caplan - MSFT 5,212 Reputation points Microsoft Employee
2 answers

WPF Tabcontrol Resizing Issue

Hi All, I have a Tabcontrol inside grid which is inside WPF page. I want Tabcontrol to resize to complete width and height of page. I have set grid height and width to "*" and horizontalalignment and verticalalignment of tabcontrol to…

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
asked 2023-09-25T16:12:14.4066667+00:00
Pratham Jain 161 Reputation points
commented 2023-09-26T18:45:20.67+00:00
Pratham Jain 161 Reputation points
9 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,563 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,961 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 126 Reputation points
commented 2023-09-26T18:08:32.0333333+00:00
Vladimir Silvestre Felix 0 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,979 questions
asked 2023-09-26T10:44:39.0333333+00:00
Shaifali jain 200 Reputation points
commented 2023-09-26T18:04:00.1733333+00:00
Viorel 102.4K Reputation points
1 answer

How can I do a [MemberNotNull] for an Entity Framework IncludeAll() method I wrote?

I have the following helper method. This includes all complex properties in my Event DbSet (actually there's 9 properties but I reduced it for clarity): public static IQueryable<Event> IncludeAll(this IQueryable<Event> source) { return…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
586 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,979 questions
asked 2023-09-16T17:40:21.58+00:00
David Thielen 1,406 Reputation points
commented 2023-09-26T17:49:12.3+00:00
David Thielen 1,406 Reputation points
0 answers

I'm going nuts over this. I can write to a cookie, and then read it again. But at some point, i want to update the value it holds. Whenever i get the cookie again, i get the initial value, not the updated one. Below is the code i use for write/update and

cookies are not updating hwen i update the clain or updating a permission in do net 6 public class UpdateCookieAuthenticationEvents : CookieAuthenticationEvents { public override async Task…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
586 questions
asked 2023-09-26T11:46:43.92+00:00
usha 0 Reputation points
edited a comment 2023-09-26T17:33:24.3766667+00:00
AgaveJoe 520 Reputation points
0 answers

The download links in this article doesn't work: https://support.microsoft.com/en-au/topic/microsoft-net-framework-4-8-language-pack-offline-installer-for-windows-4bee217e-4096-6922-eba9-3e3c27342ff6

I click the links provided in this article: https://support.microsoft.com/en-au/topic/microsoft-net-framework-4-8-language-pack-offline-installer-for-windows-4bee217e-4096-6922-eba9-3e3c27342ff6 but none of the language pack works for me. Please advise.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,636 questions
asked 2023-09-26T17:32:00.72+00:00
ling lin 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to get the data from start date to end date

How can I find data from database between two dates. Problem-1. How can I find the data from the database between the two dates if I consider the parameters. Problem-1. If I use date as parameter then my datatable doesn't show data. Problem-2. I want to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,563 questions
asked 2023-09-24T17:33:46.7466667+00:00
jewel 481 Reputation points
accepted 2023-09-26T17:01:54.8233333+00:00
jewel 481 Reputation points
2 answers

How to fix - You must install or update .NET to run this application

root@ubuntu:/etc/systemd/system# /usr/bin/dotnet /var/www/MinAPI/WebApi.dll You must install or update .NET to run this application. App: /var/www/MinAPI/WebApi.dll Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '5.0.0' (x64) .NET…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,052 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,563 questions
asked 2023-06-13T08:40:17.94+00:00
Bashar Muhanna 20 Reputation points
commented 2023-09-26T16:43:49.89+00:00
CalebDewey-3553 0 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,863 questions
asked 2023-09-25T15:57:33.59+00:00
San Sheva Santhanaraj 0 Reputation points
commented 2023-09-26T16:26:16.28+00:00
Rob Caplan - MSFT 5,212 Reputation points Microsoft Employee
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,792 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,961 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,979 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-26T16:23:34.21+00:00
Mesh Ka 140 Reputation points