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
If a method declared with the async modifier returns a cached result or completes synchronously,
i could not understand so could i get an exmaple of cached result and syncronous completion of async method. following is the lines from https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/async-scenarios "If a method…
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
How to upload and store files in database in blazor web app
How to upload and store files in database in blazor web app
Developer technologies | ASP.NET | Other
why ViewData is encoded for unicode text in asp.net web?
ViewData["Title"] ="xxxxxxxxxxx"; it is 首页 why?
Developer technologies | ASP.NET | ASP.NET Core
visual studio installer cannot continue to download for visual studio community 2022 and no access to aka.ms
i am muhammad naveed faruq from pakistan i am an old user of visual studio to download visual studio 2022 community, when after downloading first file by browser and after clicking on it a small page opens to download installer,(contains two progress…
Developer technologies | Visual Studio | Setup
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


Attaching to WSL process from a visual studio extension.
I can attach to a WSL process in visual studio by going Debug -> 'Attach To Process' in the menu, then setting the 'Connection type' to 'Windows subsystem for Linux', selecting the process from the list, and clicking the 'attach' button. How can I do…
Developer technologies | Visual Studio | Extensions
Visual Studio Professional Subscription — No Microsoft 365 Developer Sandbox Provisioned
Hello, I’m a developer working on an Office Add-in for Outlook and joined the Microsoft 365 Developer Program under my business account: ******@recruiter-services.com Despite following all instructions (including deleting and rejoining my Dev Program…
Developer technologies | Visual Studio | Other
Microsoft Orleans serialization nuget package
Hi, I would like to know if the nuget package Microsoft.Orleans.Seralization (v9.1.2) described as Fast, flexible, and version-tolerant serializer for .NET can be used with a .NET application that does not use Orleans? I can't find any documentation on…
Developer technologies | .NET | Other

The error “unable to create hook” in a .NET 1.1 application on Windows 11 (22H2 or 24H2) and what is the solution
The error “unable to create hook” in a .NET 1.1 application on Windows 11 (22H2 or 24H2) and what is the solution
Developer technologies | .NET | Other
set VARAINT is not right?
I am using ms-media-foundation and want to set CODECAPI_AVLowLatencyMode VARIANT var{}; var.boolVal = VARIANT_TRUE; var.vt = VT_BOOL; error:WinRT originate error - 0x80070057 : 'Invalid argument (VT_UI4 != pValue->vt)' why?
Developer technologies | C++
how to present ID3D11Texture2D using swapChain?
just set once RenderTargetView or present then release the rendertargetView and then again set the rendertarget view?OMSetRenderTargets or swapChain->GetBuffer?
Developer technologies | C++
Publishing a .NET MAUI app fails with error message "You must include a valid app package manifest file named AppxManifest.xml in the source."
I'm trying to publish a .NET MAUI app. The source code contains a "Package.appxmanifest" file. When I try to publish, it fails with the following error messages: You must include a valid app package manifest file named AppxManifest.xml in…
Developer technologies | .NET | .NET MAUI
How to handle "RunCommand property is not defined" issue?
Here I have a .NET 6 ASP.NET project. When run IIS Express, it pops "RunCommand property is not defined".
Developer technologies | ASP.NET | ASP.NET API
Azure API gateway
Can we create a streaming protocols in Azure Api gateway
Developer technologies | C#
Azure API Gateway
API management capability assessment Management of billing plans, usage plans and pricing models Ability to manage and monitor API consumption Established portal for self-service catalogue of APIs
Developer technologies | C#
CORS Policy Blocking POST Request in ASP.NET Core Minimal API with IIS Express (GET Works)
I'm developing an ASP.NET Core Minimal API using Visual Studio 2022 and running it with IIS Express. While GET requests work as expected, POST requests are being blocked due to CORS policy. Access to XMLHttpRequest at 'https://localhost:44302/api/xxx'…
Developer technologies | ASP.NET | ASP.NET API
How to create two different style Switch in maui?
I have a requirement to utilize switch control in MAUI but in two different styles. I am able to create one in the green color by modifying the toggle switch code from source styles file and adding it into windows/app.xaml file. Now I want to create one…
Developer technologies | .NET | .NET MAUI
How to To Change Auto Navigation in a Modal?
I have a modal that previews my image products (originally i have a productgridcontainer that automatically circles through these image products for my customers to see the avilable products which i want it to be that way but i want the modal to be…
Developer technologies | ASP.NET | ASP.NET Core

