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#
The Status property of WiFiDirectAdvertisementPublisher is not updated after the Publisher is initially started
With WiFi switched on (through the Modern UI Settings via the taskbar or via ms-settings:network-wifi) starting the Publisher results in the WiFi Direct network being created and started as expected. Switching the WiFi off while it's in the Started state…
C#
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
C#
Visual Studio Debugging
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
Blazor
C#

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# 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#
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#
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
C#
XAML
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#
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#
Proper interpretation of Azure Advisor's recommendation 'Add missing indexes to your Azure Cosmos DB container'
Hello, I have an Azure Cosmos Db set up. Recently I've got an Azure Advisor's recommendation to add some indexes to the database: Add missing indexes to your Azure Cosmos DB container Potential Indexes - "/someField1 ASC","/someField2…
C#
C#, .NET, How can I make a code generator download when my NuGet package is installed?
csproj, Engine: <Project Sdk="Microsoft.NET.Sdk"> …
C#
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#
How can I display RDLC reports in a .NET 8 WinForms application, since ReportViewer is not supported? Is there any official Microsoft-supported way to reuse RDLC files in .NET 8?
I am migrating a WinForms desktop application from .NET Framework 4.8 to .NET 8, and I’m facing issues with displaying reports that were previously built using RDLC files and the Microsoft.Reporting.WinForms ReportViewer control. In the original project,…
C#
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#
I have Azure API which is not authenticating token from OAUTH but working locally not working after deployment
Hi Team, I have an angular app implementing OAUTH and the token is being authenticated in .Net core API in lower environment but the same code is not authenticating in Production, Getting error " Client Id is null". I have verified all the…
C#
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#
StoreContext.GetAppLicenseAsync() returns false for valid Microsoft Store add-on subscription in MSIX CLI wrapper
Hi all, I'm currently building a WinRT CLI wrapper in C# to integrate with my Electron + React.js app stack. The CLI allows Electron to check if a user has an active subscription for a Microsoft Store add-on, using its Store ID. Electron calls this…
C#
Visual studio is freezing when I click on my pending changes which has 34000 + files in it, I want to undo pending changes / manage it. Kindly help
My visual studio is hanging when I click on Pending changes as I have to manage it. Please help I'm using TFS and Visual studio professional 2022.
C#

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.