Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded.
I am using DDD architecture and the following code changes the aggregate Root (basically adds a comment which is an Entity to the aggregate Root). public sealed class AddCommentToPostCommandHandlers : ICommandHandler<AddCommentToPostCommand,…
Developer technologies | .NET | Entity Framework Core
SQL Server | Other
Usage of TLS 1.3 protocol using SCHANNEL in C++ language for TCP/IP
We are trying to build one sample application using only TLS 1.3(No fallback to older TLS versions) protocol with below registries added, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client]…
Developer technologies | C++
Microsoft Defender Graph API: Only Device Score Retrieved, Others Are Zero — Why?
Hi everyone, I'm using the Microsoft Graph API (Security > Secure Scores endpoint) to retrieve category-wise scores (Device, Identity, Apps, Data) from Microsoft Defender for Endpoint. I'm successfully getting the Device Score, but the values for App…
Developer technologies | Visual Studio | Debugging
I can't receive codes on sim to recover bitlocker key
I'm trying to recover bitlocker key but unfortunately the otp codes isn't received on SIM which is registered with Microsoft account
Developer technologies | Windows Forms
How do I resolve the following Exception...?
Exception thrown at 0x00007FFA4A457F9A (KernelBase.dll) in App.exe: WinRT originate error - 0x8000FFFF : 'WindowsXamlManager and DesktopWindowXamlSource are supported for apps targeting Windows version 10.0.18226.0 and later. Please check either the…
Developer technologies | C++
How do I renew our ADT4T access?
I work in the IT Dept at a Community College, and we have access to ADT4T (Azure Dev Tools for Teaching), and one of the instructors says it need to be renewed. How do I renew it. I have clicked all around our Azure Portal, but I can't find it.
Developer technologies | Visual Studio | Setup
which one is called in asynchrony or parallel
can i get any example of cuncurrent and parllell processing using asyncrony.
Developer technologies | ASP.NET | ASP.NET Core
Unable to load WCF project in solution as I am using Visual Studio 2022
In my solution total 12 projects but when I loading it is loading only 11 project, and one project is unable to load. IDE: Visual Studio 2022 Framework: <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> Application: WCF I need solution…
Developer technologies | Visual Studio | Setup
does Task.FromResult block the main thread.
"The Result property is a blocking property. If you try to access it before its task is finished, the thread that's currently active is blocked until the task completes and the" Does this apply to Task.FromResult or any others methods also?
Developer technologies | ASP.NET | ASP.NET Core
Finding the path to dotnet.exe
In my Visual C++ application I want to spawn dotnet.exe to run my DLL. Now, my installer is correctly configured to detect if the .NET8 runtime is needed and will install it. So I know that it is available. From my research it seems that this is the…
Developer technologies | .NET | .NET Runtime
How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging

Finance and Operations
Iam facing an error while making the product receipt automic code in D365 F&O these is the error An error occurred: Cannot select a record in Transit document tax information relation (TransitDocumentTransTaxInfoRelation_IN). The SQL database has…
Developer technologies | C#
Validating user's input format is not working
Our requirement is to ask users to create a password with the following format: First letter of firstname+First letter of lastname+2 digits of month+2 digits of day+4 digits of year. For instance, a user with the name of John Doe, born January 1, 1900…
Developer technologies | VB
Developer technologies | ASP.NET | Other
Cloud Service (extended support) time to update has gone from a few minutes to over an hour
Cloud Services (extended support) time to update has gone from a few minutes to over an hour. During this time the service is down.
Developer technologies | ASP.NET | ASP.NET API
ASP.NET web site fail to critical error in ETL of Excel file
I have a website with a single web page on ASP.NET that you need to upload a file in Excel to a folder within the website, extract its contents to insert the data into a table in a database in SQL Server. When testing its operation on the production web…
Windows development | Internet Information Services
Microsoft 365 and Office | Excel | For business | Windows

Developer technologies | ASP.NET | Other
app.UseCookieAuthentication - SessionStore
Hi Team, I have a scenario where in asp.net MVC application the session Key (GUID every time user logs in) is stored to a SQL database Table. The below methods are used. I need suggestions for two things 1.The underlying database Can have any number…
Developer technologies | ASP.NET | ASP.NET API
How to get Json Data from an external WEB API to an JQUery autosearch text box end point
Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…
Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API

Developer technologies | ASP.NET | ASP.NET API
hello, sql server report not load after add content security policy header in my Asp.net mvc project
Hello, I am adding below line in my asp.net web project in Web.config file. 'SSRS dll not register in project' error show in report viewer After adding this line Content-Security-Policy: default-src 'self'; style-src 'self'; script-src 'self'…
Developer technologies | ASP.NET | Other
How to load jquery autocomplete dropdown box from an external WEB API
Good day everybody: I have an external web api which returns a label, value records needed for a client application app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…
Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API

Developer technologies | ASP.NET | Other
Navigate PopToRoot when Tab Reselected in .NET MAUI Windows
Navigate PopToRoot when Tab Reselected in .NET MAUI for Windows same like Android as per below ticket for your reference. https://learn.microsoft.com/en-us/answers/questions/2041922/navigate-poptoroot-when-tab-reselected-in-net-maui