43,059 questions with Developer technologies-related tags

Sort by: Updated
3 answers

Does C# has function like eval?

Hi, I use C# and vs2019 .net5.0 to program. When I writing code I found the rewriting is really trouble me. For example,my variable is: var1 var2 var3 var4. if I want make them equal to 20 I have to write: var1 = 20; var2 = 20 ... But in…

Developer technologies | C#
asked May 21, 2021, 6:58 AM
oliver john 1 Reputation point
answered Jul 22, 2025, 10:05 PM
Anton Antonov 0 Reputation points
3 answers

Debugger help. Interrupting an endless loop?

My program appears to be stuck in an endless loop, but I have no idea where. Clicking the pause button during testing in real-time simply gives me "System.Windows.Forms.NotLoaded" error unrelated to my program and doesn't show me where it is…

Developer technologies | Visual Studio | Debugging
asked Mar 9, 2022, 2:02 PM
Mugsy's RapSheet 196 Reputation points
answered Jul 22, 2025, 9:20 PM
Alan Segal 0 Reputation points
2 answers

c# windows form definition for abstract class

I'm creating a number of abstract classes. One represents a production ticket with a number of parameters such as number of items to test, part number, electrical values, etc. My background is in embedded coding so I'm not 100% sure the most efficient…

Developer technologies | C#
asked Jun 17, 2025, 10:21 PM
mjeschke 40 Reputation points
commented Jul 22, 2025, 8:05 PM
Bruce (SqlWork.com) 78,561 Reputation points Volunteer Moderator
1 answer

The correct CChildFrame is not activated after the predecessor is closed.

MFC MDI application. Opened several CChildFrame s. (To illustrate better my issue I identified every CChildFrame with an unique id.) Opened, lets say, 5 CChildFrame. 1, 2, 3, 4, 5. List the order of the CChildFrame by menu: About: List…

Developer technologies | C++
asked Jul 21, 2025, 11:59 AM
Flaviu_ 1,071 Reputation points
commented Jul 22, 2025, 4:44 PM
RLWA32 49,976 Reputation points
2 answers

How is a Blazor Server app deployed in Linux?

I have a Blazor Server app, developed in VS Code on a Mac. At this point in development, it runs correctly on localhost, as well as on a Windows Server instance in AWS Lightsail, using IIS. For final deployment, I would like to install the app on a Linux…

Developer technologies | ASP.NET | ASP.NET Core
asked Jul 22, 2025, 3:47 AM
David Stowell 0 Reputation points
answered Jul 22, 2025, 3:56 PM
Bruce (SqlWork.com) 78,561 Reputation points Volunteer Moderator
1 answer

How to load Langauge Server (LSP) when loading the extension package

I have a requirement of loading the Language Server (LSP) explcitly without opening any file (of the Language Server's content type). But currently the Langauge Server gets loaded only when a file of this content type is opened. Is there a way to load…

Developer technologies | Visual Studio | Extensions
asked Jul 14, 2025, 2:45 PM
Sajith 26 Reputation points
commented Jul 22, 2025, 3:37 PM
Sajith 26 Reputation points
2 answers

Good installer for visual studio 2019 c# projects

Still using Visual Studio 2019 professional. I have several independent solutions (single project solutions). I need to create an installer that installs 6 different projects on a computer. Right now, I have a single deployment project in each…

Developer technologies | C#
asked Jun 30, 2025, 3:27 PM
Darryl Hoar 181 Reputation points
answered Jul 22, 2025, 1:21 PM
Gade Harika (INFOSYS LIMITED) 85 Reputation points Microsoft External Staff
2 answers

Visual studio 2022 Maui project unable to compile for .net 9.0-ios target

Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…

Developer technologies | .NET | .NET MAUI
asked Feb 2, 2025, 7:27 AM
Ryan Lee 30 Reputation points
answered Jul 22, 2025, 1:07 PM
Muralidhara M 0 Reputation points
1 answer One of the answers was accepted by the question author.

How do I add an existing directory tree to a project in Visual Studio

I was trying to use this solution, but realize that Visual Studio 2022 does not have the option "Include in Project.". What feature replaces this, for getting a directory tree into my project? Thanks.

Developer technologies | C++
asked Dec 13, 2023, 1:54 PM
CDev-8220 405 Reputation points
commented Jul 22, 2025, 12:52 PM
Lindsay, Carol C 0 Reputation points
2 answers

How to regulate Microsoft store on Linux and Apple developer Hardware server

How to generate new App center for App host Remote Microsoft and apple distribution app portal. All this supported by Google bridge developer distrbutions cloud management and all premium Google Aps for new interface Linux productions

Developer technologies | Universal Windows Platform (UWP)
asked Jun 19, 2025, 6:59 PM
Marko Alic 0 Reputation points
answered Jul 22, 2025, 12:31 PM
James Wood 0 Reputation points
1 answer

How to open a new file in memory in visual studio using my editory factory

I want to open a new .sql file in memory not in the disc and also when the file is open i want to use my editory factory to it I tried this method to create a new .sql in memory file but using this way I am not able to use my editory factory to it. var…

Developer technologies | Visual Studio | Extensions
asked Jul 11, 2025, 6:50 AM
Vasu Bansal 20 Reputation points
commented Jul 22, 2025, 12:11 PM
Varsha Dundigalla(INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
3 answers

How to fix error "operation could not be completed. Access is denied" that I am getting while sign the assembly.

When I am trying to sign the Assembly, I am getting below error. I am using Visual Studio Enterprise 2022 and framework 4.6.2. I tried using latest framework as well.

Developer technologies | Visual Studio | Setup
asked Jul 2, 2025, 6:14 PM
Aravind Muddeti 0 Reputation points
commented Jul 22, 2025, 12:00 PM
Varsha Dundigalla(INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
1 answer

why my request for Azure free credits is rejected?

I'm a personal user, I have created a new azure account and visual studio subscription today, when I try to activate my free azure credits, it says "you are not eligible for free azure credits", why is that? I have not used this account for…

Developer technologies | Visual Studio | Setup
asked Apr 12, 2025, 4:12 PM
Zhiying Wang 0 Reputation points
answered Jul 22, 2025, 11:22 AM
Aleksandar Dzonic 0 Reputation points
3 answers

Asp Net, MVC design patterns

Good afternoon, I'm currently developing in ASP.NET using the MVC 5 framework, and I have SPA applications. I want to migrate or unify my SPA applications into a single project. The project will have charts, reports, forms, and approximately 20 pages.…

Developer technologies | ASP.NET | ASP.NET Core
asked Mar 22, 2025, 7:20 PM
intel intel 0 Reputation points
commented Jul 22, 2025, 10:54 AM
Jack Dang (WICLOUD CORPORATION) 610 Reputation points Microsoft External Staff
3 answers

Blazor Warm Start

I have a landing page and when the user clicks a button it does Blazor.start(); Q. Is there a way that I can do something like Blazor.preload(); where it will preload the *.wasm assemblies into the Wasm runtime while the user is reading the landing page…

Developer technologies | ASP.NET | ASP.NET Core
asked Mar 22, 2025, 2:16 AM
Aaron 10 Reputation points
commented Jul 22, 2025, 10:54 AM
Jack Dang (WICLOUD CORPORATION) 610 Reputation points Microsoft External Staff
1 answer

Issue with Pip after migrating from .Net 6 to .Net 7 docker image

I am migrating an application from .NET 6 to .NET 8. I want to update my docker file with latest SDK version. After migrating it to SDK 8.0, I am getting error with pip command This was in .NET 6 Dockerfile FROM mcr.microsoft.com/dotnet/sdk:6.0 RUN…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
asked Dec 18, 2024, 2:02 AM
Aneesha 10 Reputation points
commented Jul 22, 2025, 10:46 AM
Raymond Huynh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
3 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
asked Jan 8, 2025, 5:16 PM
Surajit Kumar Shah 0 Reputation points
answered Jul 22, 2025, 9:55 AM
Danny Nguyen (WICLOUD CORPORATION) 410 Reputation points Microsoft External Staff
1 answer

Unable to connect Visual Studio debugger to Azure Web App

I have a web app running in Azure. This is a mature app. I have always been able to periodically connect my Visual Studio 2022 debugger to this web app to debug code. At some point in the last month, this has stopped working. I should say that this…

Developer technologies | Visual Studio | Debugging
asked Jun 19, 2025, 3:28 PM
Nick Evans 5 Reputation points
answered Jul 22, 2025, 9:14 AM
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 90 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Is it still the case that a Blazor WebAssembly cannot reference a Blazor Server-Side project?

I'm working on rewriting an old ASP.NET WebForms app. I've created an ASP.NET Core Blazor app using .NET 9, with both a server-side project and a WebAssembly (Client) project. The server-side project has the Home page and allows the user to change the…

Developer technologies | ASP.NET | ASP.NET Core
asked Jul 17, 2025, 8:24 PM
Falanga, Rod, DOH 290 Reputation points
commented Jul 22, 2025, 9:07 AM
Danny Nguyen (WICLOUD CORPORATION) 410 Reputation points Microsoft External Staff
1 answer

ASP.NET Core Web API with Google Cloud

Hello Developer's, I'm builded a .NET Core Web API using .NET 8. And I'm interested to use Google Cloud Operation Suite for Logs Monitoring and Logging Purposes. Is there any references which I can follow and suggestions how to integrate .NET Core with…

Developer technologies | ASP.NET | ASP.NET API
asked Jul 21, 2025, 11:00 AM
Vivek Barnwal 26 Reputation points
edited an answer Jul 22, 2025, 8:51 AM
Danny Nguyen (WICLOUD CORPORATION) 410 Reputation points Microsoft External Staff