24,820 questions with .NET-related tags

Sort by: Updated
0 answers

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,157 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,593 questions
asked 2024-07-09T21:32:59.66+00:00
Tom Meier 200 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,483 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
132 questions
asked 2024-07-09T17:37:42.7533333+00:00
David Thielen 2,626 Reputation points
accepted 2024-07-09T21:28:08.51+00:00
David Thielen 2,626 Reputation points
1 answer

VisualStudio debug services on Docker-Compose not starting

Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 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,833 questions
asked 2023-03-20T13:49:46.3733333+00:00
BenT 20 Reputation points
answered 2024-07-09T20:55:21.92+00:00
vsfonseca 0 Reputation points
0 answers

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.
720 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,707 questions
asked 2024-07-09T20:27:16.29+00:00
vitaminchik 446 Reputation points
2 answers

MVC CORE Edit Images

Database Contains images , when I try to edit the text , I need to upload images again , please suggest. If there are no changes in images I don't want to upload them again. Capturenotsaved.PNG Capturedisplay.PNG public partial class…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,581 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 questions
asked 2024-07-05T14:43:54.9833333+00:00
Kalyan A 45 Reputation points
commented 2024-07-09T19:51:43.92+00:00
Kalyan A 45 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,483 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,163 questions
asked 2024-07-09T16:22:20.2666667+00:00
Falanga, Rod, DOH 105 Reputation points
commented 2024-07-09T19:20:24.55+00:00
Falanga, Rod, DOH 105 Reputation points
4 answers

Blazor Web Assembly with Azure AAD and Custom authentication Login

I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…

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,483 questions
asked 2022-06-02T21:42:30.053+00:00
Reishabh Saxena 1 Reputation point
answered 2024-07-09T19:09:18.9666667+00:00
Manoj kumar 0 Reputation points
0 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,581 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,833 questions
asked 2024-07-09T15:43:25.0366667+00:00
Chocolade 516 Reputation points
edited a comment 2024-07-09T17:12:02.13+00:00
Arman Sadeghi 0 Reputation points
1 answer

Deploying MAUI Android but getting iOS errors!

I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> I have Android and iOS specific files under…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,833 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,157 questions
asked 2024-06-28T17:08:33.76+00:00
Pat Long 41 Reputation points
commented 2024-07-09T16:40:29.9033333+00:00
Pat Long 41 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor HealthChecks - works on my system, error on Azure App Server

Hi all; I have a Blazor Interactive Server app and have set up health checks as follows: builder.Services.AddHealthChecks() .AddDbContextCheck<TrackingDbContext>("App Database") …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 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,483 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,297 questions
asked 2024-07-06T15:57:46.3866667+00:00
David Thielen 2,626 Reputation points
accepted 2024-07-09T16:23:44.85+00:00
David Thielen 2,626 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…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
299 questions
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,350 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.
315 questions
asked 2024-07-09T07:43:33.26+00:00
景轩 王 0 Reputation points
commented 2024-07-09T16:10:42.9466667+00:00
Mowszowski, Russell 0 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,572 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,350 questions
asked 2024-07-09T15:49:56.8233333+00:00
User 0 Reputation points
1 answer

ADFS retrieving claims using native client application

Hi, We are currently attempting to write a test application in C#, which needs to retrieve certain claims upon authorization. No matter what we have tried, it seems we only receive the same 10 claims from the ADFS server (see image for the received…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,581 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,219 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,593 questions
asked 2024-07-01T22:16:09.97+00:00
G_Niles 0 Reputation points
commented 2024-07-09T15:46:52.39+00:00
G_Niles 0 Reputation points
1 answer

How can I save a collection of CultureInfo type using EF Core without adding backing fields?

In a class, I have a collection of type List<CultureInfo> OfficialLanguages. I need to respect domain driven design for this project. I cannot add a backing field of type List<string> officialLanguagesCodes and handle it that way. When I have…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
720 questions
asked 2024-07-04T01:15:48.8333333+00:00
Joseph Gregory 0 Reputation points
commented 2024-07-09T15:36:57.0366667+00:00
Joseph Gregory 0 Reputation points
3 answers

EF Core - High Memory Usage For Query that Runs for 20 seconds

I'm wondering if there is a better way to optimize the below query. Granted, it's pulling in 80,000 - 160,000 records, but the RAM usage on my web server, shoots up to ~3gig while it's running for a total of 20 seconds, when testing it in my API, but,…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
720 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,593 questions
asked 2024-06-29T05:22:38.7933333+00:00
muttBunch 100 Reputation points
edited an answer 2024-07-09T15:36:32.0133333+00:00
Bruce (SqlWork.com) 60,706 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,157 questions
asked 2024-07-08T14:34:00.9266667+00:00
Sakshi Poojary 95 Reputation points
commented 2024-07-09T15:31:20.61+00:00
Sakshi Poojary 95 Reputation points
1 answer One of the answers was accepted by the question author.

@rendermode InteractiveAuto not found for Blazor .net 8

I had a sample application with Blazor and .net 8 and had the following in there: @attribute [RenderModeInteractiveAuto] Now, I am supposed to use: @rendermode InteractiveAuto But this doesn't compile. The name 'InteractiveAuto' does not exist in 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,483 questions
asked 2023-11-16T08:07:25.83+00:00
Rabe, Jens 35 Reputation points
commented 2024-07-09T15:26:44.63+00:00
Li, May 0 Reputation points
0 answers

错误应用程序名称: mmc.exe,版本: 10.0.20348.2520,时间戳: 0x72fcf7c3

错误应用程序名称: mmc.exe,版本: 10.0.20348.2520,时间戳: 0x72fcf7c3 错误模块名称: clr.dll,版本: 4.8.4729.0,时间戳: 0x6614c017 异常代码: 0xc0000005 错误偏移量: 0x0000000000021464 错误进程 ID: 0x3fb8 错误应用程序启动时间: 0x01dad20d2bb98845 错误应用程序路径: C:\Windows\system32\mmc.exe 错误模块路径:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,581 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
327 questions
asked 2024-07-09T14:43:15.2533333+00:00
Red Blue 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,581 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,833 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,619 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
accepted 2024-07-09T14:22:10.4666667+00:00
R M 0 Reputation points
3 answers One of the answers was accepted by the question author.

Net Maui Vs 2022 error how to fix ?

I have this error can t solve any idea ? thanks.. Severity Code Description Project File Line Suppression State Error MAUIG1001 An error occured while parsing Xaml: Root element is missing.. xxx(net7.0-android) C:\Users\sso\OneDrive\Documents\Visual…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,157 questions
asked 2023-08-03T01:20:34.2733333+00:00
Sami 861 Reputation points
answered 2024-07-09T13:19:46.8466667+00:00
Fishouttawater 0 Reputation points