372,964 questions
Best practices
0
votes
1
replies
29
views
Best practice for organizing Claim Types and Values as constants in ASP.NET
I'm trying to refactor the authorization layer in my ASP.NET Core Web API project to remove any hard coded strings in policies.
For roles, I used an enum, and for policies I used a flat static class, ...
-3
votes
0
answers
102
views
How do I fix geolocation permission error "Tracker:178 [Violation] Permissions policy violation: Geolocation access has been blocked " [closed]
I have an issue with a site I'm building. My site uses IIS and my domain is through GoDaddy. My site features geolocation and Azure Maps to track the vehicle's positions, as well as asset location ...
Advice
0
votes
4
replies
87
views
How to exit on a found string for aws logs tail
I have made a customized deployment pipeline, for a legacy ASP.net web forms app, where I utilize Web deploy + S3 and SQS Services from Amazon.
I have written a script in Powershell that moves the ...
Advice
0
votes
7
replies
135
views
.NET 6 .NET 10 Visual Studio
When creating or opening an ASP.NET Core MVC web project using .NET 6 and .NET 10, I encounter a frustrating error.
In Visual Studio Community, when I click to run, the following error appears:
...
2
votes
2
answers
87
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
89
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
102
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
109
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
78
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
3
answers
166
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
165
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
115
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
183
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
113
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
100
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 ...