24,878 questions with .NET-related tags

Sort by: Created
1 answer

I dont understand why OnPropertyChanged is not firing in neither my Model or ViewModel

I am using the MVVM Community Tollkit and below is the generated code. I also included my Model code and the OnPropertyChanged Method. I put a breakpoint in the generated code on the property Spousessn and it was fired and OnPropertyChanged in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 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.
10,604 questions
asked 2024-07-09T21:32:59.66+00:00
Tom Meier 220 Reputation points
commented 2024-07-11T06:05:01.6966667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Entity Framework complains that there is no primary key

using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace WpfApp6.Models; public partial class Product { [Key] public int IdProduct { get; set; } public string NameOfProduct { get; set; } = null!; public…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
721 questions
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,709 questions
asked 2024-07-09T20:27:16.29+00:00
vitaminchik 466 Reputation points
accepted 2024-07-10T19:14:54.6966667+00:00
vitaminchik 466 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to use a SignalR service for my Blazor RenderMode.InteractiveServer app?

Hi all; I've read in numerous places that having my Blazor server use a SignalR service will let it handle a lot more simultaneous requests. So I want to add this. I've seen three very different ways describing how to do this: Write a ton of code …

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,492 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
133 questions
asked 2024-07-09T17:37:42.7533333+00:00
David Thielen 2,751 Reputation points
commented 2024-07-09T22:52:58.2433333+00:00
David Thielen 2,751 Reputation points
1 answer

Does with Roles or Policies in Blazor apps, work with Active Directory?

I want to write a Blazor application. It must authenticate and authorize internal users in our Active Directory domain. I'm currently reading through Core Blazor Authentication and Authorization. It discusses roles and policies, which look like they will…

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,492 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,183 questions
asked 2024-07-09T16:22:20.2666667+00:00
Falanga, Rod, DOH 105 Reputation points
commented 2024-07-12T21:21:57.2+00:00
Bruce (SqlWork.com) 60,866 Reputation points
0 answers

How to Fix Stop code HTTP.sys issue.

Windows Server 2019 datacenter version gets restarted with stop code http.sys. Is there any workaround to resolve this issue permanently.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,585 questions
Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
asked 2024-07-09T15:49:56.8233333+00:00
User 0 Reputation points
edited a comment 2024-07-10T04:51:05.7866667+00:00
Lex Li (Microsoft) 5,237 Reputation points Microsoft Employee
2 answers

How to repair the visual studio community bottom windows ?

I can't get rid of one of them and return to the default where there is one window at the bottom. I tried the dock on each window i tried to reset the templates or environment, i can't remember but i found in google something. but everything i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,850 questions
asked 2024-07-09T15:43:25.0366667+00:00
Chocolade 516 Reputation points
edited an answer 2024-07-10T02:35:29.84+00:00
Arman Sadeghi 0 Reputation points
1 answer

How I validate UNC Connection

Hi, When I supply bad domain i get success instead of failure ?, why ? public static bool IsUncConnectionValid(string directoryName, string uncDomain, string userName, string password) { UncHelper uncHelper = null; try { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-09T10:29:56.7866667+00:00
Dani_S 3,276 Reputation points
commented 2024-07-10T09:25:59.2333333+00:00
Jiale Xue - MSFT 42,321 Reputation points Microsoft Vendor
1 answer

MAUI Custom Seekbar Implementation

We were running our applications on the Xmarin platform, but we decided to move them to the MAUI platform. As a result, things that used to work normally are now moving differently. The problem I want to solve this time is related to Seekbar. I would…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-09T07:48:07.1066667+00:00
水元 翼 0 Reputation points
commented 2024-07-09T23:48:30.3933333+00:00
水元 翼 0 Reputation points
1 answer

Push notification http response status code 500

Hello, in the past two hours, we have discovered a large number of 500 errors occurring when using WNS HTTP API for notification pushes. https://dm3p.notify.windows.com/?token={myToken} Could you please assist us in investigating this issue? Below are…

Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 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.
316 questions
asked 2024-07-09T07:43:33.26+00:00
景轩 王 30 Reputation points
edited the question 2024-07-11T12:09:15.07+00:00
ajkuma 24,566 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Android .NET 8.0 Picker Unfocused event not trigger after selected any items

I am facing an issue with the Picker's Unfocused event not triggering on Android in .NET 8.0 version.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-09T05:45:21.05+00:00
Bhuwan 636 Reputation points
accepted 2024-07-10T03:24:12.9266667+00:00
Bhuwan 636 Reputation points
0 answers

IVsSccGlyphs2 didn't call GetCustomGlyphMonikerList() when the project(.net version) is loading

Hi. I am developing a VSIX project. When loading the project, the IVsSccGlyphs2 interface calls the GetCustomGlyphMonikerList member to apply all the badges in the Solution Explorer. However, when debugging a VSIX project, if the solution running is the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 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.
191 questions
asked 2024-07-09T02:02:35.18+00:00
현서 고 0 Reputation points
commented 2024-07-09T11:06:21.7533333+00:00
Anna Xiu-MSFT 27,726 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How do I get the "name" in name.domain.com when rendering a page?

Hi all; I am trying to set my app up so that an account, which has a uniqueId can access the webpage as uniqueId.domain.com and I then display just their content. How do I get the uniqueId from uniqueId.domain.com/folder/page? Do I use NavigationManager?…

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,492 questions
asked 2024-07-08T23:08:43.7366667+00:00
David Thielen 2,751 Reputation points
commented 2024-07-09T02:42:00.53+00:00
David Thielen 2,751 Reputation points
2 answers

How can I generate hierarchical Sitemap in .NET 8 Web Application?

In .NET Framework we have an

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
18 questions
asked 2024-07-08T21:04:38.9533333+00:00
Siddhant Singh 5 Reputation points
commented 2024-07-12T11:25:35.9866667+00:00
Pradeep M 1,715 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to receive selected radio button values in the controller in ASP. Net Core 6 MVC

I am working on asp.net core 6.0 MVC. On the view, I have four radio buttons and would like to get the selected radio button value in the controller and process further based on the selected value. I have created a view model to pass data between the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
asked 2024-07-08T20:44:31.4166667+00:00
Sherpa 241 Reputation points
answered 2024-07-08T21:04:19.22+00:00
AgaveJoe 27,581 Reputation points
1 answer One of the answers was accepted by the question author.

Application Request Routing (ARR) full version number

Hello, The version that is shown in the documentation is version 3.0. When we conduct our scans there are several 3.0 versions with minor releases. Example the newest one is 3.0.1988. Can anyone confirm which is the true/full version number.

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-08T20:23:57.5166667+00:00
Nputch 20 Reputation points
accepted 2024-07-09T13:16:10.0566667+00:00
Nputch 20 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Maui Validate Property of a Model in the ViewModel Class

I am using MVVM along with the MVVM Community Toolkit. I have a Constructor in my .Net Maui ViewModel public EmployeeEditViewModel() { CompanyInfo= new PYEModel(); } I have an Observable property in the .Net Maui ViewModel…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 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.
10,604 questions
asked 2024-07-08T19:52:09.4566667+00:00
Tom Meier 220 Reputation points
commented 2024-07-10T17:34:08.54+00:00
Bruce (SqlWork.com) 60,866 Reputation points
1 answer

button dosent bind with SelectedDate, to ble to be able

I have created a custom control <ContentView x:Class="customDatePicker.Controls.DateTimeZonePicker" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-08T17:00:23.51+00:00
Eduardo Gomez Romero 245 Reputation points
commented 2024-07-15T01:05:29.68+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer

Get The Accounts That Have Been Signed In Already In MSAL (MAUI)

Implementing MSAL in MAUI application. Sign In process is created by using below snippet. authenticationResult = await _identityClient .AcquireTokenInteractive(AppSettings.MSALScopes) …

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,278 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,752 questions
asked 2024-07-08T16:54:36.2333333+00:00
Smit Rathod 0 Reputation points
commented 2024-07-11T08:54:59.0433333+00:00
Akhilesh 7,145 Reputation points Microsoft Vendor
1 answer

What is the reason for this exception: "Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Shapes.Path'. Arg_ParamName_Name"

I'm getting the error System.ArgumentException: 'Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Shapes.Path'. Arg_ParamName_Name' When starting my MAUI application on my development machine. It started a few hours ago, but the exact same…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-08T14:35:31.7966667+00:00
Joris Zwaenepoel (I-solv-IT) 0 Reputation points
answered 2024-07-08T15:00:45.5366667+00:00
Michael Taylor 50,836 Reputation points
0 answers

MAUI App Compatibility Issues on Oppo and Vivo Y28 Devices

I have developed a MAUI application that includes pages: Signup, Login, and Reset Password. These pages function correctly on various devices, but we are encountering specific issues on Oppo and Vivo Y28 devices. On the Oppo and Vivo Y28 devices, the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,179 questions
asked 2024-07-08T14:34:00.9266667+00:00
Sakshi Poojary 95 Reputation points
commented 2024-07-10T07:51:09.3+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor