Microsoft Q&A

.NET

15,230 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,230 questions with .NET-related tags

Sort by: Updated
1 answer

Entity Framework - Db design suggestion

I have two models with many-to-many relationship: public class Person { public int PersonId { get; set; } public string Name { get; set;} public virtual ICollection<Hobby> Hobbies { get; set; } = new List<Hobby>(); } and public…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
512 questions
asked 2023-05-26T10:20:03.1633333+00:00
Eliya Amanoeel 0 Reputation points
commented 2023-06-01T02:04:48.5666667+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to generate a report from ListView on WPF?

Hello ! I want to generate an Listview, based on another Listview, by moving items from first Listview to the second one and generate a report based on my second ListView and Sum the price. My first Listview is something like this: [id] [product] …

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,365 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 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,175 questions
asked 2023-05-28T21:29:58.0733333+00:00
B M-A 281 Reputation points
commented 2023-06-01T01:55:02.16+00:00
Hui Liu-MSFT 17,381 Reputation points Microsoft Vendor
1 answer

How To Disable "Restore Down" In .NET MAUI Blazor Component App

I have created one .NET MAUI Blazor Component App. I want to restrict users to not restoring down the window. Simply, I want to disable the below button in Windows as well as MAC Catalyst. [ ](https://i.stack.imgur.com/Tk8I8.png) Also, I want to force…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 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.
974 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,407 questions
asked 2023-05-30T12:56:14.7466667+00:00
Smith Rathod 0 Reputation points
edited an answer 2023-06-01T01:54:24.0966667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 47,671 Reputation points Microsoft Vendor
1 answer

How to generate a test or development build of an windows desktop application using c#

I have modified my Windows application developed using c# to open through a URL now I want to share this build with my client for testing so how to create a test build in the visual studio can anyone suggest me an approach ?? Thanks in advance. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,466 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 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,175 questions
asked 2023-05-22T13:40:45.9266667+00:00
Dineshkumar.S 346 Reputation points
commented 2023-06-01T01:50:11.2233333+00:00
Jiale Xue - MSFT 3,931 Reputation points Microsoft Vendor
0 answers

How to store client credentials?

I am creating a WebAPI (Core/ .Net 6). When creating the Registration for the app i add some client credentials. I noticed once i have them i cant view one half of the credentials again. I did a test by making a call to ..{tenant_id}/oauth2/v2.0/token…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
767 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,685 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,137 questions
asked 2023-05-31T12:12:50.1066667+00:00
Keith Viking 20 Reputation points
commented 2023-06-01T01:48:58.46+00:00
JasonPan - MSFT 1,631 Reputation points Microsoft Vendor
1 answer

<I'm getting error while installing the .net framework 4.8 for windows 2019 server > Error message: 0x80092004 -can not find object or property

For windows 2019 server - I'm getting error while installing the .Net framework 4.8 version . Error Message : 0x80092004 -can not find object or property Log details : [0B30:1D94][2023-05-29T12:11:44]i001: Burn v3.14.0.2812, Windows v10.0 (Build 17763:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 questions
asked 2023-05-30T05:48:21.9233333+00:00
Mamata Halageri 0 Reputation points
answered 2023-06-01T01:48:10.28+00:00
Jiachen Li-MSFT 13,741 Reputation points Microsoft Vendor
1 answer

Moving Website from .net 4.8 to .net 6 - mod rewrite of redirection of aspx pages to cshtml

Moving Website from .net 4.8 to .net 6 - I have webpages with next to no c# written for .net 4.8 and the webpages end in .aspx I want move to .net 6.0 with Blazor and the webpages will end in cshtml. how do I redirect to the new cshtml pages using a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,478 questions
asked 2023-05-24T18:07:20.55+00:00
Grant Wilson 0 Reputation points
edited the question 2023-06-01T01:30:28.3433333+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
0 answers

host the blazor wasn in IIS

Hi, I've created the application with blazor wasm. The application run well in VStudio 2022. I publish in the folder. it's OK I run the .exe the app works well! After that, I move on to configure IIS. I create the site and configure the pool. I…

Internet Information Services
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
974 questions
asked 2023-05-31T20:53:54.0866667+00:00
sblb 976 Reputation points
edited the question 2023-06-01T01:29:59.5566667+00:00
Chen Li - MSFT 886 Reputation points Microsoft Vendor
1 answer

Blazor HttpClientHandler times out

I'm not sure if this is the correct area to ask this question so if it's not please can you point me to the right place.... I've got a Blazor server app and it uses HttpClientHandler and IHttpClientFactory  to call the Data API. When my app is deployed…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
974 questions
asked 2023-05-31T05:47:40.13+00:00
Sandra Anderson 26 Reputation points
edited an answer 2023-06-01T01:29:12.33+00:00
JasonPan - MSFT 1,631 Reputation points Microsoft Vendor
1 answer

Binding redirect .NET core

Hi I have a .NET core web application. It depends on myCore.dll, which version 1.0.0 After sometime, myCore.dll is updated with new function. Its version has been increased to 1.1.0. After I replaced myCore.dll v 1.0.0 with 1.1.0 to bin, and restart my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,137 questions
asked 2023-05-29T11:26:09.16+00:00
Chan Kok Kiet 0 Reputation points
edited the question 2023-06-01T01:27:53.44+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
1 answer

Edit and save word document in browser

Hi, Users can upload word document and those are saved in project folder. My requirement is user can edit and save uploaded word document in browser. After save the word content need to export it as pdf. I have tried to convert word document content…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,478 questions
asked 2023-05-30T07:10:38.36+00:00
Ajay Kalidindi 21 Reputation points
edited the question 2023-06-01T01:27:22.02+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
1 answer

Blazor Tags css styles

Dear Community! I already asked on reddit but nobody could help me. How can i apply css styles from the name.razor.css file to Blazor custom tags like the <InputText> for example? Defining styles for input or creating as custom class do not work…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
974 questions
asked 2023-05-30T19:38:06.9933333+00:00
Oliver 21 Reputation points
edited the question 2023-06-01T01:26:20.33+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
1 answer

Carousel view setting default position not working in maui

Carousel view setting default position not scrolling to item on page load in maui. After data is loaded to carousel view, updating position not working. CarouselView.Position = index;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,407 questions
asked 2023-05-22T06:10:51.5466667+00:00
Satya 65 Reputation points
commented 2023-06-01T01:22:03.9266667+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 0 Reputation points Microsoft Vendor
1 answer

Binding to Shell.NavBarIsVisible property of AppShell.xaml

I was trying to bind to Shell.NavBarIsVisible property so as to hide and unhide the navigation bar as desired. Basically, I wanted to hide the navigation bar for a certain page, only leaving the option of device hardware Back Button. The binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,407 questions
asked 2023-05-30T12:15:29.91+00:00
dg2k 1,141 Reputation points
commented 2023-06-01T01:14:58.02+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 19,976 Reputation points Microsoft Vendor
0 answers

How to implement circular progress bar in xamarin forms all 3 platforms

I want to implement circular progress bar with progress in all 3 platforms i.e. Xamarin Forms Android, ios, UWP The progress bar minimum value is 1 and maximum is 6 when we click a button it needs to increment to 2 and progress need to update in the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,002 questions
Universal Windows Platform (UWP)
asked 2023-05-31T12:32:24.0433333+00:00
Sindhu Kalyanapu 1 Reputation point
edited the question 2023-06-01T01:03:37.2833333+00:00
Roy Li - MSFT 29,326 Reputation points Microsoft Vendor
1 answer

net maui how to create collection view as menu and carouselview as content working like tabs ?

net maui how to create collection view menu and carouselview content working like tabs ? Platform Android and Ios

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,407 questions
asked 2023-05-17T12:11:59.8233333+00:00
Sami 261 Reputation points
commented 2023-06-01T00:21:25.8166667+00:00
Sami 261 Reputation points
0 answers

Azure AppServiceでのASP.NET CoreのIdentity認証の検証メール送付のエラー

お世話になります。 Identity認証の検証メール送付について ASP.NET Coreの開発段階でIISからは認証用の検証メールが送付できて受信メールから、認証が承認されるようになりましたが、Azure AppServiceにデプロイしてwebで動作確認したところアカウント作成またはパスワードの再発行での検証メールが送付されず「Error. An error occurred while processing your…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,137 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,926 questions
asked 2023-05-31T07:12:44.31+00:00
竹山 0 Reputation points
commented 2023-06-01T00:16:40.9733333+00:00
竹山 0 Reputation points
0 answers

Is it possible to delete a WMI/CIM class using the Microsoft.Management.Infrastructure?

Every time I write a script, or code that uses WMI extensively, I tend to use the System.Management API. It's straight forward, flexible, and intuitive. However, This time I decided to use the Microsoft.Management.Infrastructure API, which contains the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,463 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,065 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
713 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 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,175 questions
asked 2023-05-31T22:22:40.65+00:00
Francisco Nabas 21 Reputation points
1 answer

Where can I discuss pricing for .net MVC project on Azure?

Not satisfied with using the pricing calculator. Is there any way to communicate with a human being about pricing options? The forum does not seem to be the place (I've asked questions about pricing before and they were removed). I'm trying to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,137 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
850 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,926 questions
asked 2023-05-31T16:30:03.0866667+00:00
Dean Everhart 1,346 Reputation points
edited an answer 2023-05-31T21:39:50.08+00:00
AirGordon 1,385 Reputation points Microsoft Employee
0 answers

How do I build a .NET WinUI 3 App without VisualStudio?

Let's say that the VisualStudio license terms don't fit my use case. Perhaps my employer defines itself as a "Java shop", and I'd like to show them the goodness of native apps. But I can't do so by producing an app they're not free to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,148 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.
508 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,175 questions
asked 2023-05-31T20:50:51.39+00:00
Geronimus 0 Reputation points
edited the question 2023-05-31T21:02:20.7333333+00:00
Geronimus 0 Reputation points