i could not understand why two awaits are used.
q1) follosing code is from the followoing link https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/start-multiple-async-tasks-and-process-them-as-they-complete while (downloadTasks.Any()) { Task<int> finishedTask =…
Developer technologies | ASP.NET | ASP.NET Core
How to Add Constructor Parameters to a Widely Used Class Without Breaking Existing Code
**I have a class in a C# ASP.NET project that originally looked like this: ** public This class is used in many other places across the solution — hundreds of usages like this: var Now, I need to modify the constructor to accept a parameter (e.g., a…
Developer technologies | ASP.NET | ASP.NET Core
Could not load type 'Microsoft.EntityFrameworkCore.Metadata.Internal.AdHocMapper'
I'm using .NET 8.0, Entity FrameworkCore 9.0.2, MySql.EntityFrameworkCore 9.0.0 and when I try to get data from the database I get the following error. How to resolve this problem? System.TypeLoadException: Could not load type…
Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
how cancel token work in these cases
following code is from https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/cancel-an-async-task-or-a-list-of-tasks i could not understand when it will show following two messages from last main code. Console.WriteLine("Download…
Developer technologies | ASP.NET | ASP.NET Core
How to remove server from server explorer list in Visual Studio
I am sorry if the tag is wrong. I could not find a visual studio tag. The issue is that I have by mistake connected to my own pc as a 'Windows Server' and now it is showing up in the Server Explorer of Visual Studio 2022. I am able to view 'Event Logs',…
Developer technologies | Visual Studio | Setup
Frame work error
I am using VS build task but failing with following error ##[error]C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1259,5): Error MSB3644: The reference assemblies for…
Developer technologies | .NET | Entity Framework Core
i have created an app which i used C# But every time i want to run it on domain its doesnt open the form but in task manager its showing
Application: DcmFolderScan.exe CoreCLR Version: 8.0.1825.31117 .NET Version: 8.0.18 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type…
Developer technologies | C#
C# - CS0103 : The name 'Brushes' does not exist in current context
Hi I'm new to C# and trying to plot a graph in IX developer, got the following code of the web, all compiles fine except for the pens and brushes colors which gives a CS0103: Error saying they don't exist in the current context, can anyone guide me as…
Developer technologies | C#
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
composite key http
@Html.ActionLink("Edit", "Edit", new { item.monthr,item.tennant }) getting an error . monthr and tennant are the keys.
Developer technologies | ASP.NET | ASP.NET Core
How do I control which database to use when a Blazor Server app starts?
I'm working on a rewrite of an old WebForms application. I want to be able to control, through a GitHub Action running in a self-hosted runner, which database (test or production) the application should run against. I thought I could do this with the…
Developer technologies | ASP.NET | ASP.NET Core
Microsoft Graph API – OnlineMeeting: Organizer cannot be added as attendee
Hello, I’m using the Microsoft Graph API (v1.0) in C# to create Teams meetings using the onlineMeeting resource. I need a scenario where the organizer of the meeting is also explicitly listed in the attendees collection. However, when I include the…
Developer technologies | C#
Entry field control is covered by keyboard
Hello, I have a view with 4 Entry controls, when I try to type inside the control, the keyboard will cover the Entry field. is there any way to shift up the control to be above the keyboard?
Developer technologies | .NET | .NET MAUI
The Picker icon is not appearing in .NET MAUI on Windows 11.
.NET 8Installed Workload Id Manifest Version Installation Source android 35.0.39/9.0.100 SDK 9.0.100, VS 17.12.35527.113 aspire 8.2.2/8.0.100 SDK 9.0.100, VS 17.12.35527.113 ios …
Developer technologies | .NET | .NET MAUI
net maui find one tree control for free thanks!
请大神介绍一个树形控件,免费的开源的。谢谢。类似syncfusion的treeview但这个是收费的。Uranium 这个里面有免费开源的吗。只要树形控件就可以。
Developer technologies | .NET | .NET MAUI

UI freezes for sometime after UI binding
My data is binding to UI quickly but the UI freezes for few seconds and I have only 2 records. I am loading data in ContentView Loaded event var newStops = await Task.Run(() => { return response.Stops .OrderByDescending(x =>…
Developer technologies | .NET | .NET MAUI
The correct CChildFrame is not activated after the predecessor is closed.
MFC MDI application. Opened several CChildFrame s. (To illustrate better my issue I identified every CChildFrame with an unique id.) Opened, lets say, 5 CChildFrame. 1, 2, 3, 4, 5. List the order of the CChildFrame by menu: About: List…
Developer technologies | C++
Unexpected Error with MapRouteFinder in UWP App
Encountering an issue with the Bing Maps in a Microsoft UWP app when attempting to render a path. An "Unspecified error" is returned when passing the following four waypoints to the Bing Maps API via the…
Developer technologies | Universal Windows Platform (UWP)
Excel VBA: Can my VBA code determine whether Solver is running?
Is there a way to test whether Solver is running? I have a section of VBA code that must be skipped if Solver is running. I'm using MS Office LTSC Professional Plus 2024 (Windows).
Developer technologies | VB
How to Run Instrumentation Profiling with a DLL in Visual Studio 2019 and 2022
In Visual Studio 2017, the Performance Profiler (Instrumentation mode) lets you select both a DLL and an EXE file. However, in Visual Studio 2019 and 2022, I am unable to select a DLL using the Debug → Performance Profiler → Instrumentation option. What…