Requiring Authorization Causes Long Url
Hello everyone and thanks for the help in advance. I am developing an Asp.net 9 Core MVC application. I want to all controllers to require authorization rather than having to decorate each action with [Authorize]. I tried…
Developer technologies | ASP.NET | ASP.NET Core
Windows application specific's registry key
I need a place to put configuration for my Win32 application inside the registry. Where it is should be? Are there multiple places to store application-specific registry?
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++

Visual Studio 2013 license not working after move to new machine
Purchased Visual Studio Professional 2013 back in 2013 or 2014. Installed on a laptop. Never installed on any other device. Ancient laptop is close to death, so I started moving to a new Windows 11 laptop. I installed VS 2013 from the original DVDs a…
Developer technologies | Visual Studio | Setup
Can ClosedXML be used in a Visual Studio developed .Net9 Blazor Webassembly app?
I have read conflicting statements about whether ClosedXML can be used in a Blazor Webassembly app. A Google seacrh of "can Closedxml be used in a Blazor WASM app c#" produces an AI response of "yes" though with caveats about…
Developer technologies | Visual Studio | Other
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#

why abc4j can not parse the file?
I am using .net android and add the package : abc4j to parse music file. but there is error and I can not parse it. this is the music file: p.txt
Developer technologies | .NET | .NET MAUI
How to use existing Visual Studio subscription/license on new laptop
Several years ago I purchased a subscription for microsoft visual studio profesional and am still paying monthly. The laptop I was using Visual Studio 2019 on is no longer functioning. However, I have the hard drive from the old laptop in my new laptop.…
Developer technologies | Visual Studio | Setup
How can sales and commissions be calculated based on multiple conditions?
I want to extract commission from sales using multiple conditions using LINQ query. Here different types of commission are assigned on different sales values. I need this in my report sheet. If any experienced person could help me, I would be benefited.…
Developer technologies | ASP.NET | ASP.NET Core
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++
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
Error In Update Record (The instance of entity type 'x' cannot be tracked)
I have this error when update record in RoleRepository.cs. i use AsNoTracking but show error again The instance of entity type 'ApplicationRole' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked.…
Developer technologies | .NET | Entity Framework Core
Help fixing template logging code
In the line return $log, "testVoid4"; I'm getting this compile error: 'void' function returning a value I don't understand why when $log, is called with just a single argument void_wrapper is returning anything else than void. How I could make…
Developer technologies | C++
Emails with Undeliverable Subject don't get saved on a text File
Hi, I would like to ask if this is intended or a bug. I'm currently working on a program wherein all of the bounced emails (specifically undelivered emails) will be caught and then fetch the email addresses of the recipient of the undelivered emails…
Developer technologies | C#
Microsoft - Graph - Batch API - Getting 429 Too Many Requests error
I have created a website where user's will authenticate and grant Calendar events - Read/Write access. My application will create events for the user based on the user's schedule. Here some times user might have more than 100 records also. I'm using…
Developer technologies | C#
Access database set Default Value of a short text field of another short text field
Hi there I have an access database with a short text field called TM Description. I have created another short text field called BrandingDescription that I want to set the Default Value to the text entered in TM Description, ie the two fields would show…
Developer technologies | VB
Making a Blazor WebAssembly E-commerce Application Responsive with Flexbox
A Blazor WebAssembly e-commerce application has been built, but the design looks good only on a 23-inch 1920x1080 laptop. The layout includes a header, a left navigation menu, and a footer that is consistent across all pages. The goal is to make this…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor

System.NullReferansException:
I would like to insert product but SelectListItem returned true Can you help me? It will make me crazy
Developer technologies | ASP.NET | ASP.NET Core
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
Visual Studio 2022 Build Failure Due to Shortcut Creation Issue
The solution includes a Setup Project that fails to build, causing the build process to be cancelled. This has worked previously without issues. To troubleshoot, the solution was tested on two other computers: one with Visual Studio 2019 and another with…
Developer technologies | Visual Studio | Debugging
An installation file didn't download
I keep getting this error while downloading the visual studio community 2022 package. I have used different VPNs and DNS and have turned my laptop off and on many times but it did not work. What is the problem and solution?