372,837 questions
Score of 0
0 answers
61 views
WebDAV implementation issue with MS Word
This implementation is not working for Word but working for Excel. For Word it is opening in Protected view but then when I click on Enable Editing it is closing that window and opening another new ...
Score of 0
0 answers
89 views
Error running under AppPoolIdentity: DllNotFoundException: Unable to load DLL 'db2app64.dll' or one of its dependencies
I have a .NET 10 web app that uses the NuGet package Net.IBM.Data.Db2 version 10.0.0.200 to connect to a DB2 database. On the IIS server, I have a clidriver folder.
The website runs fine under my ...
Score of 0
1 answer
186 views
Playwright session state not loading
I am having trouble loading loading session state into a browser. I create a file with existing storage, point the new Page to the storage, but the sessionState variable is empty in the browser. ...
Score of -3
1 answer
198 views
How can SQL Server populate the foreign key value automatically, so I don't have to manually? [closed]
In my application an Admin user is authorized to access the AdminPanel view or page. The AdminPanel is initially empty; it does not show products. An Admin can click some button on the AdminPanel that ...
Score of 3
1 answer
123 views
Why does enabling MultipleActiveResultSets (MARS) prevent TransactionScope from promoting to MSDTC?
I have a TransactionScope in a .NET application. When MARS is disabled, opening a second SqlConnection inside the same ambient transaction causes the transaction to be promoted to MSDTC. However, when ...
Score of 2
2 answers
205 views
Is there a reason creating IFormFile from stored image won't open
An image file is uploaded and kept in temporary location until the primary record is submitted and saved. The image record structure requires the ID of the primary plus another value. Other parts of ...
Score of -6
1 answer
286 views
Best practices for identifying clients in an API
I'm working on a C# API that is using auth and for that to work I need my server to remember certain clients.
I've considered using IP addresses as my primary identifier, but I've read that these are ...
Score of 1
1 answer
52 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 ...
Score of 0
0 answers
116 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 ...
Score of 0
3 answers
119 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 ...
Score of 0
9 answers
477 views
Is Windows required for C#?
I am learning 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 applications the instructors create. Is it ...
Score of -1
5 answers
225 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 ...
Score of 2
1 answer
118 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 ...
Score of 0
1 answer
70 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 ...
Score of 0
1 answer
106 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, ...