372,994 questions
1
vote
2
answers
67
views
Generic delete of child entities before MarkAsDeleted() to avoid foreign key constraint errors in VirtualEntityDeleted
public void VirtualEntityDeleted(object sender, VirtualEntityChangedEventArgs e)
{
if ((_DocumentEntity.ID > 0 && _AddedRows != null && _AddedRows.Any(a => a.Key == e....
Best practices
0
votes
4
replies
71
views
What is best practice to use second caching layer with Redis to use it in service layer with ApiControllers?
I've started pet-project recently and created generic RedisService to use for caching, but I found problem that redis isn't good way to storing anomyous user data, if he revisists the webapp for like ...
-5
votes
0
answers
99
views
How to manually activate confetti effect in an ASP.NET web page? [duplicate]
I have found some code from here that displays the confetti effect on a web page but will run on the page loads.
I'd like to:
Not start the confetti when the page loads.
Start the confetti on a ...
Best practices
2
votes
2
replies
98
views
How would you build a chat system using JavaScript (web based )and cSharp as you backend language?
So I’m a second year student doing IT in applications development and we were given a project of our own choosing , the issue is we’ve never used any kind of language to build a full working website(...
Advice
0
votes
2
replies
70
views
Is learning asp.net through paid in 2026 is beneficial or not?
Is learning ASP.NET through paid courses in 2026 still beneficial? With modern web technologies growing fast, I’m confused whether investing time and money in ASP.NET development is still a smart ...
-2
votes
2
answers
104
views
How to tell ASP.NET Core WebAPI to use one thread per API request
Is there any way to tell ASP.NET Core Web API to handle a request in a separate thread?
Actually multi-threading yes, per request one thread.
I do have a problem with deserializing incoming requests. ...
Advice
1
vote
9
replies
153
views
Which is the best approach for faster API request and response handling in react js UI?
I am developing an application using ASP.NET and I want to improve UI performance when sending and receiving API data.
Which approach is best for getting faster API request and response handling in ...
2
votes
1
answer
113
views
Using format in inline ASP.NET expressions from resources
I'm using inline expression builder in ASP.NET like this:
<asp:Label ID="Label1" runat="server" Text="<%$ Resources: Labels, MyText %>" />
But I would like ...
Best practices
2
votes
10
replies
178
views
How can I get rid of this ASP.NET boilerplate?
I’m building a REST API in ASP.NET Core. Many endpoints follow the same pattern:
Load a workspace
Include members and users
Check if current user belongs to workspace
Return 404 / 403 accordingly
...
Advice
0
votes
1
replies
111
views
ASP.NET Core How to build a class diagram in Razor Pages project type
I'm looking for ways to automatically display class diagrams (display relationships between classes/program components) in a small .NET Razor Pages project with Entity Framework data access. I'm using ...
3
votes
0
answers
92
views
Cloudflare 502 on ASP.NET protected-content redirect, but origin returns 302 then resets connection
I am troubleshooting a 502 Bad Gateway issue involving Cloudflare, IIS 10, ASP.NET / Sitefinity, and a custom SSO redirect flow.
The issue happens when an unauthenticated user requests protected ...
1
vote
0
answers
112
views
Call to a method inside HostingEnvironment.QueueBackgroundWorkItem() failing to complete the execution sometimes
I have a scenario where I need to return a value to the calling service before doing the actual execution. I have used HostingEnvironment.QueueBackgroundWorkItem() to keep the execution in background ...
0
votes
1
answer
98
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
87
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
1
answer
137
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 ...
