C# - Microsoft Q&A (original) (raw)

Microsoft Q&A

11,549 questions

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 answers

Can't able to Upload Images on Azure Server if it is more than 128KB

Hi Everyone , I am trying to upload image and store but when i do it in my local server its working fine but when i push the same code in server i am getting entity too large I reached out microsoft support they are telling that "The content…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-13T07:21:07.5033333+00:00

commented 2025-06-18T09:43:53.71+00:00

Sampath 3,740 Reputation points Microsoft External Staff Moderator

asked 2025-06-18T08:42:44.65+00:00

Tom W 0 Reputation points

2 answers

How to fix Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Using VB 2022 and I have this issue that I can not get resolved. using .net framework 4.8 and I tried using x64, x86 and nothing has worked

Visual Studio

Visual Studio

A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.

5,449 questions

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

Visual Studio Debugging

Visual Studio Debugging

Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.

1,095 questions

asked 2023-02-13T16:44:30.9733333+00:00

answered 2025-06-18T07:45:35.01+00:00

2 answers

How to Rename a Solution and Projects in Visual Studio 2022 Without Affecting Functionality?

I have a working application that includes Blazor Server, Blazor WASM, and an API. I want to change the names of the solution and the projects while ensuring that the current application remains unaffected. What is the easiest and problem-free way to…

ASP.NET Core

ASP.NET Core

A set of technologies in the .NET Framework for building web applications and XML web services.

Blazor

Blazor

A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2024-11-29T07:38:49.4766667+00:00

Cenk 1,036 Reputation points

answered 2025-06-18T04:26:20.3633333+00:00

1 answer

C# make a class data member read only to parent?

I need to make certain data members in a class read only to parent classes. I'm currently doing this to protect data. It's a LOT of duplicate code / writing... Certainly there's a better way to do than what I'm currently doing below? // Currently using…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-17T22:15:49.1833333+00:00

answered 2025-06-17T22:54:13.2533333+00:00

0 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…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-17T22:21:26.7833333+00:00

1 answer

Inquiry: Support for Document Generation and Embedding Capabilities in Microsoft Technologies

Dear Team, We are currently evaluating document generation libraries for a .NET-based application using c# and would like to understand whether Microsoft components(free/paid services) would support the following functionality: Generate documents in the…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-16T14🔞13.14+00:00

answered 2025-06-17T15:53:35.57+00:00

1 answerOne of the answers was accepted by the question author.

How to change default color of WPF Combobox?

I want to change the color of Combobox in WPF as below. I tried changing the color with the background property of the Combobox, but the background color of the contents displayed when the combo box is clicked is changed. Is there a way to solve this by…

Windows Presentation Foundation

Windows Presentation Foundation

A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

XAML

XAML

A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.

asked 2022-06-06T07:08:57.957+00:00

commented 2025-06-17T10:57:35.8966667+00:00

0 answers

i can't execute program in visual studio without administrator account after changing the assembly name

Hi, after windows updates, I can't execute program on visual studio (Debug/Release) without administrator account after changing assembly name. changing version name of assembly name is able to execute program without administrator account. ex) Device…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-17T01:28:27.9066667+00:00

광효 이 0 Reputation points

1 answerOne of the answers was accepted by the question author.

How would I use the WordNet libraries to access its dictionary entires?

I downloaded and installed the WordNet app. How would I use the WordNet library to access its dictionary entries? Would I need to import those WordNet libraries first before using them?

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-16T10:00:58.4366667+00:00

John 506 Reputation points

accepted 2025-06-17T00:42:45.3066667+00:00

John 506 Reputation points

asked 2025-04-24T07:56:42.8266667+00:00

commented 2025-06-16T10:07:32+00:00

asked 2025-06-14T19:13:45.1366667+00:00

1 answer

Only one compilation unit can have top-level statements. Visual Studio code error

Hi, I am trying to compile some code and keep getting this error. I deleted the code and rewrote it but still getting error CS8802 after inititiating dotnet run in terminal. See my code below: using System; int currentAssignments = 5; int[]…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-02-26T17:32:50.2333333+00:00

commented 2025-06-13T20:51:09.08+00:00

1 answerOne of the answers was accepted by the question author.

asked 2025-06-13T06:11:59.3333333+00:00

accepted 2025-06-13T06:43:06.0666667+00:00

0 answers

Conditional Access Not Triggering in Azure AD B2C

Hi , I’ve successfully implemented all my main Azure AD B2C flows for user migration— including custom password reset, MFA with authenticator app (via TOTP), user migration with just-in-time logic, and sign-in / sign-up orchestration. Most core flows are…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-06T02:20:23.8666667+00:00

commented 2025-06-12T18:39:26.1066667+00:00

asked 2025-06-12T17:29:46.84+00:00

0 answers

StoreContext.GetAppLicenseAsync() returns false for active subscription in MSIX CLI

I'm building a WinRT CLI wrapper in C# that checks if a user owns an active Microsoft Store subscription add-on. This CLI is called from an Electron + React.js app using command-line arguments and returns true or false depending on the license…

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-12T16:21:17.58+00:00

asked 2025-06-12T16:07:18.13+00:00

asked 2025-05-07T03:45:15.8833333+00:00

edited a comment 2025-06-12T14:23:17.2566667+00:00

0 answers

How to get the trophy for Write your first code using c#

Hi, I did all the modules and checked everything. But I cant find the trophy for finishing my module. Could you please help me out.

C#

C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,549 questions

asked 2025-06-12T07:16:05.6866667+00:00

edited the question 2025-06-12T07🔞16.49+00:00