54,089 questions with Developer technologies-related tags

Sort by: Updated
2 answers

'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
asked Jan 24, 2025, 5:31 PM
P. G. Choudhury 146 Reputation points
answered Jul 9, 2025, 8:23 AM
Raymond Huynh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

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
asked Jul 5, 2025, 7:36 AM
Mrbanad 50 Reputation points
commented Jul 9, 2025, 8:21 AM
Mrbanad 50 Reputation points
4 answers

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
asked Jul 5, 2025, 9:36 AM
rajesh yadav 211 Reputation points
commented Jul 9, 2025, 8:21 AM
rajesh yadav 211 Reputation points
2 answers

'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
asked Jan 24, 2025, 5:13 PM
P. G. Choudhury 146 Reputation points
answered Jul 9, 2025, 8:17 AM
Raymond Huynh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
0 answers

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
asked Jul 9, 2025, 8:14 AM
raed ishaq 0 Reputation points
1 answer

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
asked May 1, 2025, 3:15 PM
Simon 466 Reputation points
answered Jul 9, 2025, 8:12 AM
Danny Nguyen (WICLOUD CORPORATION) 410 Reputation points Microsoft External Staff
1 answer

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
asked May 6, 2025, 1:21 PM
Abul Hassan 0 Reputation points
answered Jul 9, 2025, 8:12 AM
Danny Nguyen (WICLOUD CORPORATION) 410 Reputation points Microsoft External Staff
4 answers

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
asked Jun 30, 2025, 11:29 PM
mjeschke 40 Reputation points
commented Jul 9, 2025, 8:07 AM
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
1 answer

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
asked Jun 2, 2025, 7:30 PM
Ali Abukhadair 0 Reputation points
answered Jul 9, 2025, 8:06 AM
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
2 answers

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
asked Jul 8, 2025, 11:22 AM
rajesh yadav 211 Reputation points
answered Jul 9, 2025, 8:05 AM
Jack Dang (WICLOUD CORPORATION) 455 Reputation points Microsoft External Staff
5 answers

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
asked Jan 31, 2025, 8:47 AM
Kuler Master 406 Reputation points
answered Jul 9, 2025, 8:04 AM
Jack Dang (WICLOUD CORPORATION) 455 Reputation points Microsoft External Staff
0 answers

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
asked Jul 9, 2025, 7:32 AM
伟杰 叶 0 Reputation points
1 answer

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
asked Jul 7, 2025, 8:04 AM
Subhash cherian 1 Reputation point
answered Jul 9, 2025, 7:31 AM
Gade Harika (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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
asked May 6, 2025, 5:36 PM
Soumyadip Majumder 120 Reputation points
commented Jul 9, 2025, 7:07 AM
Soumyadip Majumder 120 Reputation points
1 answer

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)
asked Mar 13, 2025, 6:47 AM
Jay 140 Reputation points
answered Jul 9, 2025, 6:59 AM
Harry Vo (WICLOUD CORPORATION) 240 Reputation points Microsoft External Staff
1 answer

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
asked May 7, 2025, 8:43 PM
John Williams 0 Reputation points
commented Jul 9, 2025, 6:59 AM
Michael Le (WICLOUD CORPORATION) 305 Reputation points Microsoft External Staff
0 answers

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#
asked Jul 9, 2025, 5:15 AM
Coleman, Jonathan 0 Reputation points
1 answer

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
asked Jul 8, 2025, 3:13 AM
Kurt K 176 Reputation points
commented Jul 9, 2025, 4:27 AM
Michael Le (WICLOUD CORPORATION) 305 Reputation points Microsoft External Staff
2 answers

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)
asked Jan 9, 2025, 12:45 PM
LXY 20 Reputation points
answered Jul 9, 2025, 3:40 AM
Harry Vo (WICLOUD CORPORATION) 240 Reputation points Microsoft External Staff
5 answers

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
asked Jul 1, 2025, 10:53 AM
Marc George 191 Reputation points
edited an answer Jul 9, 2025, 3:37 AM
Gade Harika (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff