1,272 questions with Developer technologies | .NET | .NET Runtime tags

Sort by: Updated
0 answers

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
asked 2025-05-18T23:58:18.7466667+00:00
Patrick Osborne 0 Reputation points
0 answers

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
asked 2025-05-16T17:40:37.51+00:00
Durkee, Steve 0 Reputation points
edited the question 2025-05-16T17:42:24.12+00:00
Durkee, Steve 0 Reputation points
0 answers

FlyoutPage.Flyout Width

Hi, How I set in windows net 9 the width of FlyoutPage.Flyout(menu)? Thanks,

Developer technologies | .NET | .NET Runtime
asked 2025-04-27T09:21:57.5966667+00:00
Dani_S 4,501 Reputation points
edited the question 2025-05-16T08:04:19.7266667+00:00
Dani_S 4,501 Reputation points
1 answer

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#
asked 2022-03-04T16:28:59.653+00:00
Hobitten 16 Reputation points
commented 2025-05-15T20:44:14.77+00:00
Nanda Doddapaneni 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-05-13T15:52:19.9233333+00:00
Akshatha CHHABRA 20 Reputation points
accepted 2025-05-15T14:12:05.43+00:00
Akshatha CHHABRA 20 Reputation points
1 answer

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
asked 2025-05-07T14:05:22.2633333+00:00
Selvam M 0 Reputation points
answered 2025-05-14T15:27:31.27+00:00
Max Jaxon 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-05-13T10:56:11.5966667+00:00
Dani_S 4,501 Reputation points
commented 2025-05-13T15:52:53.3833333+00:00
Dani_S 4,501 Reputation points
2 answers

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
asked 2025-04-25T17:16:53+00:00
James Newlin 20 Reputation points
answered 2025-05-13T12:36:36.32+00:00
Aqib Yaseen 5 Reputation points
1 answer

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
asked 2025-05-09T13:18:07.64+00:00
Abhay 0 Reputation points
answered 2025-05-12T15:54:10.1366667+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

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
asked 2025-05-10T04:51:16.02+00:00
Chandan Singh 0 Reputation points
answered 2025-05-10T17:50:09.71+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

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
asked 2025-05-06T19:28:18.9966667+00:00
Rohit Kalyanpuri 0 Reputation points
answered 2025-05-09T14:34:00.6+00:00
Samuel Lima 0 Reputation points
0 answers

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
asked 2025-05-09T10:32:34.2166667+00:00
commented 2025-05-09T11:35:13.18+00:00
AgaveJoe 30,126 Reputation points
8 answers

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
asked 2025-04-17T19:07:44.5333333+00:00
Oliver Lan 0 Reputation points
commented 2025-05-08T17:37:09.65+00:00
RLWA32 49,636 Reputation points
1 answer

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
asked 2025-05-08T05:21:36.8733333+00:00
Sufiyan Ansari 0 Reputation points
commented 2025-05-08T14:35:28.98+00:00
Amit Kharkade 1 Reputation point
2 answers One of the answers was accepted by the question author.

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
asked 2025-05-06T20:11:27.0433333+00:00
Matthew Rogers 20 Reputation points
accepted 2025-05-07T14:05:59.13+00:00
Matthew Rogers 20 Reputation points
0 answers

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
asked 2025-05-07T05:20:18.05+00:00
siva kumar 40 Reputation points
0 answers

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
asked 2025-05-06T05:33:34.43+00:00
paul kyalo 0 Reputation points
commented 2025-05-06T07:28:50.3433333+00:00
Viorel 122.6K Reputation points
1 answer

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
asked 2025-04-28T16:08:56.4633333+00:00
SSGANAPATHY 0 Reputation points
answered 2025-05-03T16:52:40.8966667+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

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
asked 2025-04-21T10:47:18.7566667+00:00
Aman Agrahari 60 Reputation points
answered 2025-05-03T11:16:10.2733333+00:00
Shivanshu Sharma 0 Reputation points
2 answers

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.

Developer technologies | .NET | .NET Runtime
asked 2025-04-30T15:11:13.4066667+00:00
Mihle 0 Reputation points
answered 2025-05-02T05:32:28.0233333+00:00
Miyari 003 0 Reputation points