how to handle if async process returns before await.
ifGetStringAsync (and therefore getStringTask) completes before GetUrlContentLengthAsync awaits it, control remains in GetUrlContentLengthAsync. The expense of suspending and then returning to GetUrlContentLengthAsync would be wasted if the called…
Developer technologies | ASP.NET | ASP.NET Core
'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType
I am trying to implement global exception handling in a .NetCore 9 webAPI project. I created a ExceptionMiddlewareExtensions class like so: ExceptionMiddlewareExtensions.cs - public static class ExceptionMiddlewareExtensions { public static void…
Developer technologies | ASP.NET | ASP.NET Core
Blazor WebAssembly not applying culture to DateTime formatting after changing culture
Hi, I recently migrated my Blazor project from Blazor Server to Blazor WebAssembly. In the Blazor Server version, when I changed the culture (e.g., CultureInfo.CurrentUICulture = new CultureInfo("fa-IR")), both the localized texts from .resx…
Developer technologies | ASP.NET | ASP.NET Core
'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType
I am trying to implement global exception handling using custom middleware in a .NetCore webAPI project. My .NetCore version in 9. I am getting the above exception message when trying to implement it. Let me post the relevant code blocks so you can…
Developer technologies | ASP.NET | ASP.NET Core
In another word can Desk Top Application that build in vb.net Call API that build in C# using HTPP Client
I we wrote desk top application in vb.net and build API in C# can they talk together using HTTP client Please(In another word can Desk Top Application that build in vb.net Call API that build in C# using HTPP Client)
Developer technologies | Visual Studio | Other
error in asp.net
i configoring ny project of asp.net and code vb.net i got this errror Error in project-level import 'app.config' at 'app' : 'app' is not accessible in this context because it is 'Friend'. i dont have in my project a file named app.config how can i…
Developer technologies | ASP.NET | ASP.NET API
Best way to query Azure Synapse serverless/dedicated pool from .Net core 8 API
I am developing a .net core 8 API which retrieves data from Azure synapse dedicated pool and serverless and send as api response. I am using EF core now for the repository which queries the synapse using eager loading. But since the entities are huge and…
Developer technologies | ASP.NET | ASP.NET API
Creating a reusable form using C# custom "User Control"
I'm trying to create a layout / form that can be reused on other forms. I think I'm in the right to utilize a "User Control" (screen captures below). I populate the control with some components, save it, then try to bring it onto the main…
Developer technologies | Windows Forms

can i switch from using product key to sign-in-based license in visual studio 2022
How can I switch from using product key to sign-in-based license in visual studio 2022?
Developer technologies | Visual Studio | Setup
how to call a function which should do my job but should not return back.
hi in my web pages i save reports to my databases using savechanges, i want to call a [funciton/etc] after savechanges so that i can save the report's data in a small flat table also in database. but i do not want to wait so that next report can be…
Developer technologies | ASP.NET | ASP.NET Core
Multiple App.Razor components
Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
How to run VC++6 on windows 11
my os is win11 24H2, I tried a method on the Internet that told me to rename MSDEV.EXE to MSDEVL.EXE and then run it in Windows XP compatibility mode, but this did not work.
Developer technologies | Visual Studio | Setup
Issue in publishing through Visual Studio 2022
Support Team, while publishing on Azure web application through Visual Studio 2022 we face issue the Subscription and Resources Group - UnKnown Error Popup SSL Connection could not be established. Please let me know how to excalate further…
Developer technologies | Visual Studio | Setup
Seeing red dot sign on MAUI (explorer on resources) in .NET 9
I am seeing the red small sign on Resources folder in .NET MAUI (in .NET 9). I am working on the folder that is in a GitHub repository have a workflow open. How to resolve this problem.
Developer technologies | .NET | .NET MAUI


Issue with Exchange Currency Rates in Microsoft Partner Center
Hi Team, We are facing an issue with exchange currency rates for Indian customers. We have created an add-on product in our app and set the base price in USD (e.g., $7.49 USD). However, when checking the View Conversion Table, we noticed a significant…
Developer technologies | Universal Windows Platform (UWP)
Why am I receiving warnings on my code, but it is still working.
namespace MauiApp1 { public partial class MainPage : ContentPage { int count = 0; public MainPage() { InitializeComponent(); } private void OnCounterClicked(object sender, EventArgs e) …
Developer technologies | .NET | .NET MAUI
ttempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails
Issue details We are attempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails with the following error message: arduino Copy Edit "This resource is located in resource group…
Developer technologies | C#
How do I recover from .net maui error NU1105 ... The property PackageVersion was expected to have a single value across all target frameworks, but instead...
This happened after I upgraded Microsoft.Maui.Controls from 9.0.70 to 9.0.81 using the NuGet Package Manager. Full error message: NU1105 Unable to read project information for '<MyProject>': The property PackageVersion was expected to have a single…
Developer technologies | .NET | .NET MAUI
Why does using VideoTransformEffectDefinition affect the camera brightness
I'm using VideoTransformEffectDefinition to rotate the camera VideoPreviewWhy does using VideoTransformEffectDefinition reduce the brightness?How can this problem be avoided?
Developer technologies | Universal Windows Platform (UWP)
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
