Microsoft Q&A

.NET

20,745 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,745 questions with .NET-related tags

Sort by: Updated
0 answers

Does Visual Studio 2022 support connection to Xamarin.iOS build machines running Xcode 15?

Even though the release notes for VIsual Studio 2022 version 17.7.3 (I'm running 17.7.4) say "Added support to list simulators and devices with Xcode 15", I get a warning that says, "The Xcode version installed on the Mac (15.0) is not…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,162 questions
asked 2023-10-02T19:55:32.9966667+00:00
Sibalik, Mike 6 Reputation points
edited the question 2023-10-02T19:56:59.27+00:00
Sibalik, Mike 6 Reputation points
2 answers One of the answers was accepted by the question author.

EF Core: Map multiple c# classes to DB table

Hello, I have a DB table named JobPosting with 60 columns. I'd like to have 2 c# entities JobPostingFull & JobPostingLite which both reference the JobPosting table. The JobPostingFull class has all columns from the DB, the JobPostingLite class has…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
591 questions
asked 2023-09-30T14:36:07.7+00:00
Satish Cherian 0 Reputation points
accepted 2023-10-02T19:35:53.1966667+00:00
Satish Cherian 0 Reputation points
0 answers

Is there a way to automate adding the FullText Index to an Entity Framework migration

Hi all; Yes I can add the script to the Migration.Up() everytime I revise my model. But that is fundamentally no different from having a CreateIndexes.sql that I just run in SSMS after creating a DB. Is there some way to declare the full text indexes in…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
591 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,012 questions
asked 2023-10-01T21:18:20.5333333+00:00
David Thielen 1,426 Reputation points
commented 2023-10-02T18:55:10.99+00:00
David Thielen 1,426 Reputation points
1 answer

How do I get the FreeTextTable.Rank via Entity Framework

Hi all; I'm able to get a list of records using FreeTextTable in Entity Framework as follows: var EventsSqlWhere = $"SELECT top 200 * FROM FreeTextTable(Events, *, {0}, 200) as t INNER JOIN Events u on u.Id = t.[KEY] ORDER BY t.[RANK]…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
591 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,012 questions
asked 2023-10-01T21:17:12.57+00:00
David Thielen 1,426 Reputation points
commented 2023-10-02T18:50:37.8733333+00:00
David Thielen 1,426 Reputation points
0 answers

best practice for Application Insights with Blazor Server

i have seen multiple posts about Blazor Web Assembly and Application Insights but almost zero on how to best use application insights with Blazor server. is the only way to treat blazor server like web assembly ? are there any guides on how to get full…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,113 questions
asked 2023-10-02T18:35:53.3266667+00:00
Denny Figuerres 0 Reputation points
2 answers

How rendering handling concurrency in razor page from API response?

Hi, I'm following up on all the discussions I've had about handling concurrency errors. 1 - I would like to know if it is possible to handle concurrency errors in a context where I have a DataGrid in edition mode on a line? 2 - I have defined a put…

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,113 questions
asked 2023-09-29T16:15:02.6566667+00:00
sblb 1,141 Reputation points
edited an answer 2023-10-02T17:56:51.18+00:00
AgaveJoe 685 Reputation points
0 answers

How to listen to mouse clicks anywhere in the Visual Studio IDE and get information about the component that was clicked?

I'm trying to create an extension that listens to mouse clicks anywhere in the Visual Studio IDE window and get information about what was clicked. So far, I've only managed to do that for the text editor panel with IMouseProcessor, but I can't figure…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,071 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,821 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
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
112 questions
asked 2023-10-02T17:56:30.8666667+00:00
stella 0 Reputation points
0 answers

How to get a .NET 8.0 (isolated) function app to appear in my release pipeline, or successfully deploy from Visual Studio

I made a new .NET 8.0 Isolated Function App on by B1 App Service plan three days ago and I'm used to being able to select my Azure Subscription, then "Function App on Windows", and then select the resource from the dropdown, but I see nothing…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,465 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,071 questions
asked 2023-10-01T15:33:15.31+00:00
Richard Traviolia 0 Reputation points
commented 2023-10-02T17:47:47.4533333+00:00
MuthuKumaranMurugaachari-MSFT 16,216 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,878 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 406 Reputation points
commented 2023-10-02T17:10:10.3033333+00:00
Rob Caplan - MSFT 5,222 Reputation points Microsoft Employee
1 answer

Failed integrity metadata check for Blazor application (NET7)

0 I have a project in NET7 and Blazor hosted in an ASP.NET Core web application. The website is hosted by a service provider. When I deploy the application on the server in a hosting provider, I check the application with different browsers. The…

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,113 questions
asked 2023-10-02T07:40:28.0466667+00:00
Enrico Rossini 96 Reputation points
answered 2023-10-02T16:18:45.17+00:00
Bruce (SqlWork.com) 44,646 Reputation points
0 answers

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,071 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
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,642 questions
asked 2023-10-02T15:00:22.0066667+00:00
roberto chavarria 0 Reputation points
0 answers

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,878 questions
asked 2023-10-02T14:54:57.8166667+00:00
Fei Xu 370 Reputation points
1 answer

Push notification on MAUI application using FCM

I am trying to implement push notification on my MAUI application using FCM. I follow this blog and I did everything as per the blog. They suggest to install only 2 NuGet packages, Plugin.Firebase and Plugin.Firebase.Crashlytics. (I installed it by…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,878 questions
asked 2023-09-29T10:06:12.68+00:00
Sreejith Sreenivasan 406 Reputation points
commented 2023-10-02T14:42:05.3466667+00:00
Sreejith Sreenivasan 406 Reputation points
0 answers

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,483 questions
asked 2023-10-02T14:32:18.0866667+00:00
Pratham Jain 181 Reputation points
0 answers

MAUI: How to add splash screen in android platform

I am trying to add splash screen on my new MAUI application. I tried the implementation on this blog but the image is in circle (Android 12 device) and only showing black and white color on the icon. Is there anyway to show the real color of the icon on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,878 questions
asked 2023-09-25T15:20:10.3266667+00:00
Sakshi Poojary 55 Reputation points
edited a comment 2023-10-02T14:18:08.91+00:00
Sakshi Poojary 55 Reputation points
0 answers

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,878 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
1 answer

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,162 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
answered 2023-10-02T12:56:21.36+00:00
Olaf Helper 34,291 Reputation points
3 answers One of the answers was accepted by the question author.

How to get past "To start Android, enter your password"

I just installed VS2019 and Xamarin for multiplatform development. Created a "Blank" project. When I launch Android_Accelerated_x86_Nougat ... which displays a "To start Android, enter your password". How do I get an Android password?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,162 questions
asked 2020-11-21T17:22:41.013+00:00
VVX 21 Reputation points
commented 2023-10-02T12:49:05.44+00:00
Sorin T 0 Reputation points
0 answers

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,483 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,821 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
edited a comment 2023-10-02T12:43:51.3033333+00:00
Mesh Ka 140 Reputation points