Microsoft Q&A

.NET

20,751 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,751 questions with .NET-related tags

Sort by: Updated
1 answer

Creating a list with two different tables

I have following two tables Employee and file Path Employee - employeeId is primary key with Identity specification EmployeeId FirstName lastName 1 Mario Gonazales 2 Mario2 Gonazales2 3 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,589 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.
9,031 questions
asked 2023-10-02T06:09:20.51+00:00
Anjali Agarwal 1,061 Reputation points
commented 2023-10-03T05:55:14.4533333+00:00
Anjali Agarwal 1,061 Reputation points
1 answer

adding a list of items in another list

I have the following code on my page: This is the Model for Employee: public class Employee { public string Title { get; set; } public string section { get; set; } public string EmployeeName { get; set; } public int employeeID { get;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,589 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.
9,031 questions
asked 2023-10-03T03:18:57.4+00:00
Anjali Agarwal 1,061 Reputation points
answered 2023-10-03T05:47:22.16+00:00
JasonPan - MSFT 2,771 Reputation points Microsoft Vendor
0 answers

dotnet blazor maui UAE PASS authentication unable to redirect to the mobile app after authentication is done

I'm Developing the app with UAE pass authentication using Maui Blazor technology(C#). successfully obtained the authorization code from UAE Pass but i am facing difficulties redirecting back to mobile app. Please find the attached file. I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,073 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,115 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 questions
asked 2023-10-03T05:25:23.7233333+00:00
Raju Gadda 26 Reputation points
edited the question 2023-10-03T05:32:23.3366667+00:00
Raju Gadda 26 Reputation points
0 answers

Flyout Background

i am having problems finding solutions on to fix my flyout background because i want to change the background and indeed it does work but the background overlaps to the app window also can i change the radius of it too?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,073 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 questions
asked 2023-10-03T05:14:46.7033333+00:00
Billy Manoguid 0 Reputation points
edited the question 2023-10-03T05:16:23.77+00:00
Billy Manoguid 0 Reputation points
1 answer

how to remove realm database used in swift iOS in .NET MAUI?

Hello, I rebuild iOS app using .NET MAUI. There was data stored in realm database in iOS app. In MAUI, i want to remove it because it's no longer needed. Is there any way to do that? Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 questions
asked 2023-10-02T03:18:00.0066667+00:00
Nam Pham 71 Reputation points
answered 2023-10-03T05:14:43.6133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,651 Reputation points Microsoft Vendor
2 answers

How to create a Splash screen on Andriod

Hi, What is the easiest way to create a Splash screen for my Xamarin project. I can't get it to work. Now my app won't work at all. Some help would be appreciated.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 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.
9,031 questions
asked 2023-10-02T12:34:56.0733333+00:00
Matthew Zoljan 80 Reputation points
commented 2023-10-03T04:49:03.7233333+00:00
Matthew Zoljan 80 Reputation points
1 answer

HTTP Error 500.32 - ANCM Failed to Load dll

I have upgraded a .NET Core 2.1 web app to .NET 7. The application works fine on Visual Studio 2022. When I deploy that to Azure through Azure DevOps pipelines, I get the following error: HTTP Error 500.32 - ANCM Failed to Load dll Common solutions to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,073 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,589 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,671 questions
asked 2023-10-02T21:58:13.0866667+00:00
Alexander Angelo 6 Reputation points
edited an answer 2023-10-03T04:44:55.9666667+00:00
Lex Li (Microsoft) 3,896 Reputation points
1 answer

use "Application.Current.UserAppTheme = AppTheme.Light" force application theme light, the first line of iphone will disappear when system is dart theme

Application.Current.UserAppTheme = AppTheme.Light; I want to set the application theme light, use the upper line code , but when ios system theme is dark , first line of iphone (time signal..) will display with white textcolor, then will disappear on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 questions
asked 2023-10-02T14:54:57.8166667+00:00
Fei Xu 370 Reputation points
answered 2023-10-03T04:21:02.1833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 22,651 Reputation points Microsoft Vendor
1 answer

Determine "Recommended" display resolution settings

Got the code that gets a list of the monitors (using EnumDisplayDevices) along with getting all the settings (using EnumDisplaySettings) for each monitor working just fine. However, when I right click my desktop and adjust the resolution one of the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,913 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,073 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.
9,031 questions
asked 2023-10-02T16:02:33.03+00:00
Dave Cotton 41 Reputation points
answered 2023-10-03T03:35:10.5633333+00:00
Jiale Xue - MSFT 11,416 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Three material Design TextBoxes inside one MaterialDesignFloatingHintTexbox in WPF

I have a MaterialDesignFloatingHintTextBox which displays a "Date of Birth" hint to my users when it is empty. Here is what I want to implement: the TextBox to display three TextBoxes to the user when clicked in like this, so that my users…

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,484 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,822 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.
9,031 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.
695 questions
asked 2023-10-02T08:44:28.02+00:00
Mesh Ka 140 Reputation points
commented 2023-10-03T03:29:30.38+00:00
Mesh Ka 140 Reputation points
1 answer

Multiple app shells

Hi, In app.cs ctor i have condition to move to login through AppShell or to move to main page. It possible to create new app shell and move to main page through this new app shell? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 questions
asked 2023-10-02T11:52:11.3566667+00:00
דני שטרית 1,261 Reputation points
answered 2023-10-03T03:09:09.1033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,321 Reputation points Microsoft Vendor
2 answers

LINQ and VB 2015 : Select Distinct in Sub-List of Objects...

Hi, this is a simple example about my task. I have a List of Objects, let's say a group of Persons and each Person has a Property which is a List of other type of Objects, let's say Colors. I'd like to get a Distinct List of all Colors kept by all…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,073 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,323 questions
asked 2023-09-28T15:16:16.5533333+00:00
Marco Gregori 41 Reputation points
commented 2023-10-03T02:49:38.2166667+00:00
Jiachen Li-MSFT 19,936 Reputation points Microsoft Vendor
1 answer

How to reduce font size based on Textblock size

Hi All, I have a Textblock inside WPF grid which can span to 1 to n rows based on some conditions. When Textblock is spanned to two or more rows it mostly displays the text completely due to textwrapping set to "wrap". But when Textblock is…

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,484 questions
asked 2023-10-02T14:32:18.0866667+00:00
Pratham Jain 181 Reputation points
edited an answer 2023-10-03T02:47:34.7466667+00:00
Hui Liu-MSFT 21,616 Reputation points Microsoft Vendor
1 answer

How to create popup window that display Product Details ?

Hi friends! I have a DataGrid that contains a list of product . when i click on a product i should open a popup windows that contains Product's details and i would modify the Price in it for example. I implement a GlobalUsing.cs such : global using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,880 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.
9,031 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.
695 questions
asked 2023-10-02T14:07:46.96+00:00
Kaouthar GR AOUICHAOUI 0 Reputation points
answered 2023-10-03T02:46:22.6033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 54,321 Reputation points Microsoft Vendor
1 answer

How to detect mouse clicks and get the component that was clicked anywhere in Visual Studio?

I'm trying to capture mouse clicks from all components in the Visual Studio in order to get information about the component that was clicked on. For example, I want to detect if a user clicked anywhere in the Solution Explorer, or if the user clicked…

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,484 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.
9,031 questions
asked 2023-10-02T07:21:15.0433333+00:00
stella 0 Reputation points
edited the question 2023-10-03T02:24:35.1933333+00:00
Jiale Xue - MSFT 11,416 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

getting the data from two different tables in a list

I have following two tables Employee and file Path Employee - employeeId is primary key with Identity specification EmployeeId FirstName lastName 1 Mario Gonazales 2 Mario2 Gonazales2 3 …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,589 questions
asked 2023-10-02T05:58:07.0766667+00:00
Anjali Agarwal 1,061 Reputation points
accepted 2023-10-03T01:51:47.6966667+00:00
Anjali Agarwal 1,061 Reputation points
2 answers

which is better use data reader ado.net technology or entity framework core 7 ?

I work on blazor application server side I design web API to interact with razor pages my issue is which is suitable for my scenario using ado.net or entity framework core what I try as below : [HttpGet] …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,589 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,115 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,643 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.
11,019 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.
9,031 questions
asked 2023-10-02T22:47:53.42+00:00
Ahmed Abd El Aziz 285 Reputation points
answered 2023-10-03T01:37:16.5+00:00
SurferOnWww 1,136 Reputation points
0 answers

Como enviar datos de la variable del back al front

Como enviar la variable del back al front, ya que como lo tengo me marca error no lo reconoce. Back string Id_Hub_CFDI = "SORIANA2000"; Como enviar la variable del back al front <scrip> var Id_Hub_CFDI_Ent =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,643 questions
asked 2023-10-02T15:00:22.0066667+00:00
roberto chavarria 0 Reputation points
commented 2023-10-03T01:24:42.6766667+00:00
Lan Huang-MSFT 17,956 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to display autocomplete result id on first line and name on second line and designation to third line instead of using slash ?

I work on asp.net MVC web API . I face issue when call web API using jQuery ajax request my issue is autocomplete result display separated by slash Id - Name - Designation but expected result I need to get is : Id : 121 Name : michel nicol Designation :…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
989 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.
243 questions
asked 2023-09-22T23:54:26.29+00:00
Ahmed Abd El Aziz 285 Reputation points
accepted 2023-10-02T22:33:30.23+00:00
Ahmed Abd El Aziz 285 Reputation points
0 answers

Binding library with xcfranework

How to use xcframework in xamarin ios binding library

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 questions
asked 2023-10-02T22:28:48.4033333+00:00
Rishabh Pandey 0 Reputation points