Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 1 1 vote
1 answer 1 answer
41 views 41 views

Global.Application_PostAcquireRequestState Session state is not available in this context when missing page 404

I am getting an exception in Global.Application_PostAcquireRequestState when trying read or write to session variables in ASP.NET Webforms app on .NET. This only happens when navigating to paths/files ...
Martin Belcher - AtWrk's user avatar
  • 4,589 reputation score 4589
Score of 0 0 votes
1 answer 1 answer
97 views 97 views

How do I send emails on a timer in an ASP.NET webforms application?

My client is having issues with their legacy system (ASP.NET webforms) sending emails as they are bottlenecking. So I made the code asynchronous (eg. await smtpClient.SendMailAsync(newMail);) and this ...
LornaMcGeek's user avatar
  • 1 reputation score 1
Advice
0 votes
2 replies
55 views

Modernizing and maintaining a legacy ASP.NET WebForms application in Visual Studio 2022

I have spent the last several years working primarily on modern stacks, building .NET backends paired with ReactJS and Blazor frontends. However, I have recently inherited a legacy ASP.NET WebForms ...
Shoni Nemavhidi's user avatar
  • 148 reputation score 148
Score of -1 -1 votes
1 answer 1 answer
127 views 127 views

IIS keeps spiking in memory and stopping my WEB APP [closed]

I have a .NET web application hosted on my server with IIS. Usually the IIS process will run for days on end with memory at around 400-500mb. But sometimes which seems totally random to me this memory ...
Paul's user avatar
  • 83 reputation score 83
Tooling
3 votes
26 replies
361 views

Is Windows required for C#?

I’ve started my software learning journey with C#, but the courses on YouTube and Udemy consistently proceed using Windows PCs. I use a MacBook Air, so I’m unable to build the Windows Forms ...
TWildrunner's user avatar
  • 1 reputation score 1
Advice
2 votes
9 replies
173 views

ASP.NET Core learning journey

I'm currently learning backend development with C# and ASP.NET. Instead of following video tutorials, I've been trying to learn by building things myself. At first, I had AI generate a few simple ...
kemal tankut's user avatar
  • 1 reputation score 1
Advice
0 votes
0 replies
44 views

How to understand the Reliable web app pattern

I was reading some tutorial on Microsoft's documentation about MVC with Razor views, I finished the tutorial, and I fully understood how all the modules talk to each other, like how the controller ...
katarina zed's user avatar
  • 5 reputation score 5
Score of 2 2 votes
1 answer 1 answer
102 views 102 views

Authorized HLS streams with LibVLC and ASP.NET

I am developing an application that uses HLS streams from an ASP.NET server to an Avalonia desktop client. My target is to provide HLS streams only to authenticated users and my solution is to ...
Theofanis kouniakis's user avatar
  • 19 reputation score 19
Score of 0 0 votes
1 answer 1 answer
63 views 63 views

Azure Container Apps OpenSearch security plugin not working over HTTP internal ingress (HTTPS → HTTP mismatch)

I am deploying OpenSearch in an Azure Container Apps (ACA) environment and facing issues when enabling the OpenSearch security plugin. Architecture API / WebJob (HTTPS) ↓ Azure Container Apps ...
Arul's user avatar
  • 11 reputation score 11
Best practices
0 votes
1 replies
93 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, ...
Nandan Bhowmick's user avatar
  • 1 reputation score 1
Advice
0 votes
4 replies
102 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 ...
Ahmed Dolabi's user avatar
  • 485 reputation score 485
Advice
0 votes
7 replies
148 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: ...
Vanderson Freitas's user avatar
  • 1 reputation score 1
Score of 2 2 votes
2 answers 2 answers
93 views 93 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....
Roshan Kadel's user avatar
  • 21 reputation score 21
Best practices
0 votes
4 replies
103 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 ...
FoolCode's user avatar
  • 1 reputation score 1
Best practices
2 votes
2 replies
115 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(...
Athabile Banzi's user avatar
  • 1 reputation score 1

15 30 50 per page
1
2 3 4 5
24860
Morty Proxy This is a proxified and sanitized view of the page, visit original site.