1,272 questions with Developer technologies | .NET | .NET Runtime tags
How to resolve "Value does not fall within the expected range" error in a Windows Forms application
The program runs, but the main form is not visible. Issues arose after modifying the tool strip menus. What steps can be taken to diagnose and fix this error?
Developer technologies | .NET | .NET Runtime
Web App - Restart Does not work; modifying web.config does restart properly
We're experiencing issues with our Azure App Service not starting reliably. When initiating a restart via the Azure Portal, the application (built on .NET 8) often fails to start correctly, resulting in errors such as "Page Not Found." However,…
Developer technologies | .NET | .NET Runtime
FlyoutPage.Flyout Width
Hi, How I set in windows net 9 the width of FlyoutPage.Flyout(menu)? Thanks,
Developer technologies | .NET | .NET Runtime
How do I configure my multithreaded .NET 6 application to use all Windows CPU groups?
I'm trying to migrate a project from .NET Framework 4.7.2 to .NET 6, but the performance of my program has dropped significantly. Parts of the program exploit parallelism for bulk operations on a server with 96 Cores and 192 Logical processors split…
Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | F#
Preventing Rogue DLL Loading in .NET 9 WPF Applications due to DLL Search Path Vulnerability
Issue: A WPF application targeting .NET 9 is published via ClickOnce. During a security test done security team, a malicious DLL named “VERSION.DLL” was placed in the application installation folder as shown in below image, which opens a calculator. Upon…
Developer technologies | .NET | .NET Runtime
How to invoke taskscheduler from IIS Hosted - .Net core app running under AppPool
Hi, Am running an ASP Net core application in which am trying to invoke task scheduler - Start, read detail(last run). I can able to execute well only if i add custom account in IIS App pool. But i would like to execute - start, read with…
Developer technologies | .NET | .NET Runtime
Calculating Ram Total Memory In Gb
Hi, Do i need to accumulate totalCapacity += capacity; ? Thanks in advance, private static ulong GetTotalMemoryInGb() { ulong totalCapacity = 0; try { var query = "SELECT Capacity FROM Win32_PhysicalMemory"; …
Developer technologies | .NET | .NET Runtime
Kudu/SCM Failure on Azure Functions Flex Consumption - Deployment Blocked (404)
Update [Date - e.g., 2025-04-27]: We have since successfully migrated the application to the Classic Consumption plan, where Kudu/SCM is accessible and deployment works as expected (after resolving separate build/runtime issues detailed elsewhere).…
Developer technologies | .NET | .NET Runtime
Visual Studio 2022 Professional build issue -.net 4.8
I am using nuget of some organization. And when I am trying to run the sample Azure Function -https://github.com/Azure/azure-functions-dotnet-worker/tree/main i am getting below error: C:\Program Files\Microsoft Visual…
Developer technologies | .NET | .NET Runtime
First time login after setting the password. When user tried to login with correct username and password then user is getting redirect to login page without any error
We are experiencing an issue with the Azure AD B2C login flow. After a user sets their password for the first time and attempts to log in using the correct username and password, they are unexpectedly redirected back to the login page. No error message…
Developer technologies | .NET | .NET Runtime
How to fix System.IO.FileLoadException: Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of its dependencies. Access is denied.
On IIS server, after hosting my Web API works fine for two or three minutes then it get crashed with below message .. Server Error in '/' Application. Could not load file or assembly 'file:///C:\inetpub\wwwroot\project\bin\BusinessLayer.dll' or one of…
Developer technologies | .NET | .NET Runtime
I need a build a .NET project from a local DLLs present in a folder
Have project .cs file in following format │ ├───RecordingBot.Console │ │ .env │ │ .env-template │ │ Program.cs │ │ │ │ └───Properties │ AssemblyInfo.cs │ launchSettings.json │ ├───RecordingBot.Model │ …
Developer technologies | .NET | .NET Runtime

How to register .net 8 build activex so that test program can run access it from different folder
I can run C:\Windows\syswow64\regsvr32 to register my activex.dll which is stored at the C:\Program Files (x86)\AA but the test program, test.exe, could not access it from C: \Program Files (x86)\BB folder. Any thought?
Developer technologies | .NET | .NET Runtime

Error facing error while building solution in tfs azure.
I am facing error while building any .net solution is tfs azure, since 5-may-2025. Error: NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. Sometimes this url works in my network. Also while I do use my internet…
Developer technologies | .NET | .NET Runtime

Wrong .NET Framework 4.8 download link on Windows 2016
I'm working on legacy software running on Windows 2016 that uses .NET Framework 4.8 and when the application is first launched it pops up the expected "Do you want to install this .NET Framework version now?" dialog box: If I click…
Developer technologies | .NET | .NET Runtime
Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. HRAux.API: Could not load file or assembly 'System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyREDACTED (possible password or key detected)
We’ve been attempting to update our Azure Functions project from .NET 6 to .NET 8, but we're encountering an issue when deploying the function app. The error message we're seeing is: Microsoft.Azure.WebJobs.Script: Error configuring services in an…
Developer technologies | .NET | .NET Runtime
How to fix designer cannot be shown error
how to solve an error of "designer could not be shown for this file because none of the classes within it can be designed
Developer technologies | .NET | .NET Runtime

User Context (cs-username) Not Logged in IIS log file After Migrating from .NET Framework to .NET 8 Web API
After migrating .NET Framework Web API to .NET 8, you noticed that the user context (cs-username) is no longer being logged in the IIS log file. In .NET Framework Web API, I'm using FormsAuthenticationTicket to set the user context in Global.asax…
Developer technologies | .NET | .NET Runtime
How can I use BinaryFormatter in .net 8 application
I'm migrating .net application from .net 4.7.2 to .net 8. I had used BinaryFormatter for serialization and deserialization in my application but it is obsolete in .net 8. Still I want to use binaryFormatter in upgraded .net 8 application temporarily…
Developer technologies | .NET | .NET Runtime
Is there something I can do to change all this?
I have a 2022 HP PC with 4Gb RAM and it's very slow. Sometimes it can freeze for a long time and it works at it's own time. It really doesn't do well with the internet.