373,032 questions
0
votes
1
answer
95
views
Problem displaying a message on a ajaxToolkit:ModalPopupExtender
When I display message from within a ajaxToolkit:ModalPopupExtender the ajaxToolkit:ModalPopupExtender closes after the message closes.
How can I display ajaxToolkit:ModalPopupExtender and still ...
0
votes
1
answer
85
views
Problem closing an ajaxToolkit:ModalPopupExtender
I have a webpage.
I show a ajaxToolkit:ModalPopupExtender(MPE_Example_Panel_Like_Browser).
I click a button on the ajaxToolkit:ModalPopupExtender(MPE_Example_Panel_Like_Browser) to then show another ...
1
vote
2
answers
94
views
How to populate nested objects simultaneously in ASP.NET
The medication schedule:
public int? UserId { get; set; }
public User User { get; set; } = null!;
public int? MedicationId { get; set; }
public Medication Medication { get; set; } = null!;
public ...
Advice
0
votes
2
replies
84
views
Inconsistent handling of unclosed quotes in header vs data rows (BadDataException vs silent column mismatch)
I’m trying to understand CsvHelper’s behavior when dealing with unclosed quotes, and I’ve noticed what is like inconsistent handling between header rows and data rows.
Scenario 1 – Unclosed quote in ...
Tooling
0
votes
4
replies
119
views
Pomelo version compatible with EF Core 10
My employer is making us use ef core 10 and I have problem migrating data because the pomelo nuget package that seem to be out and available is v 9
when will the version that's compatible with ef core ...
Best practices
0
votes
2
replies
89
views
Strategy for multi-language source code structural analysis in .NET without per-language parser dependencies
Problem
I’m building a code analyzer in .NET (C#) that extracts structural information (classes, methods, attributes, routes, DTOs) from source files across multiple languages: C#, TypeScript, and ...
0
votes
0
answers
41
views
NSwag does not create wrapper for selected methods
I have these two methods in a controller from which I generate an API client:
[ApiController]
[Route("users")]
public sealed class UsersController(UsersService usersService) : ControllerBase
...
Best practices
1
vote
5
replies
103
views
How to assert the number of SQL queries EF Core executes in integration tests?
I want to write integration tests that verify my ASP.NET Core endpoints don't produce N+1 queries. Specifically, I want a test to fail if an endpoint that should execute 1 query suddenly starts ...
1
vote
0
answers
88
views
Form.io (Angular / ASP.NET Zero) dropdown (Choices.js) not showing selected value until clicked
Problem
This happens specifically in wizard multi-tab forms where same field exists across tabs.
I am using Form.io in an ASP.NET Zero Angular project with a wizard (multi-tab form).
A dropdown field (...
Best practices
0
votes
2
replies
79
views
How to restrict a user to a single active session across Web and Mobile in Angular + ASP.NET Core 8?
I am developing an application with Angular (frontend) and ASP.NET Core 8 (backend). The application is available on both web and mobile platforms.
My requirement is to allow only one active session ...
0
votes
0
answers
109
views
ASP.NET button occasionally not getting to the OnClick function
I can recreate an issue I have with the following ASP.NET button control:
<asp:Button ID="btnExecSP" runat="server"
Text="Execute Stored Procedure" CssClass=&...
Advice
1
vote
3
replies
82
views
What is the correct way to build and run a command-line ASP.NET WebApplication?
I'm using Rider to develop a C# application that uses ASP.Net to create a simple web application. From inside the IDE, I can run and I get what I expect: A command-line application that runs in the ...
Advice
1
vote
1
replies
67
views
Highsoft.Highcharts .NET wrapper v11.4.6.3 silently drops ChartEvents.Load string handler — worked in v11.0.1.1
I'm using the Highsoft.Highcharts NuGet package in an ASP.NET Web Forms application targeting .NET Framework 4.8.
After upgrading from Highsoft.Highcharts v11.0.1.1 to v11.4.6.3, the ChartEvents.Load ...
0
votes
0
answers
125
views
Errors using Hot Reload (Alt-F10) in Visual Studio after making some changes to the code
Hot reload works for me, but it throws errors after a short period of using it.
I am currently working on a complex ASP.NET solution containing a main website, apis and other auxiliary projects inside ...
Best practices
0
votes
5
replies
189
views
Positioning Div relative to outer Div
My apologies if the title is not good.
I am on a group project making a DND map that will let the player move around pieces on the board.
It utilizes Jquery-UI for its draggable functions.
Currently I ...