1,623,961 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
46
views
ASP.NET Core Blazor Server + Windows impersonation: backend returns 401 on new IIS server, works on old server
The Problem
We have a Blazor Server app ("frontend") that calls an ASP.NET backend API.
Both apps are hosted in IIS on the same machine, but in different app pools.
Authentication is Windows Auth only ...
0
votes
0
answers
16
views
VSPackage fibers stack tracing
I am trying to display the stack traces of RTOS fibers running in a C++ solution in VS2022. Since upgrading to Windows 11 there seems to be a problem in the implementation. The existing approach, ...
-1
votes
1
answer
28
views
Trying to add a data to existing table
@inject NavigationManager NavigationManager
@inject IWorkRepository WorkRepository
@* EmployeeService reference name for 25thline *@
@rendermode InteractiveServer
@attribute [StreamRendering(true)]
&...
1
vote
0
answers
31
views
XML signature validation failing using SignedXML
We are validating the signature in XML responses (for Peppol).
For this we are using the SignedXml (System.Security.Cryptography.Xml) class in C#. Which works fine, most of the times.
For some XML ...
Advice
0
votes
2
replies
40
views
System.Text.Json Polymorphic Deserialization not binding Type Discriminator property
I'm trying to do a polymorphic deserialization using System.Text.Json in net-8.0. Here is my schema.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "type")]
[JsonDerivedType(typeof(Manager)...
1
vote
1
answer
43
views
Serialization of nullable immutable array
I seem to be having trouble serializing a Nullable, ImmutableArray which I had thought would work out of the box.
e.g.,
void Main()
{
var x = new Test() { Field = null };
var stream = new ...
mike's user avatar
- 3,202
-1
votes
0
answers
26
views
How to accurately measure time difference between audio and video RTP packets coming from different clients?
I’m building an SFU in C#, using the SIPSorcery library for handling WebRTC media streams.
I need to calculate the exact time difference between an incoming audio RTP packet from client A and a video ...
5
votes
1
answer
89
views
.NET MAUI 9 ZXing.Net.Maui doesn’t scan 26-character Code128 barcodes (not detected or decoded incorrectly)
I’m using ZXing.Net.Maui in a .NET MAUI 9 app to scan barcodes.
QR codes work perfectly, but Code128 barcodes with 26 characters are either:
not recognized at all, or
recognized incorrectly (wrong/...
0
votes
0
answers
35
views
MAUI - Access XAML element from a different class code behind
I'm working on my first MAUI app. It consists of two screens, switchable via a tab control.
Now to my issue - I have page MainPage.xaml with MainPage.xaml.cs and also AboutPage.xaml with AboutPage....
0
votes
3
answers
84
views
C# Remove Both Duplicate Values from Custom Object Based On Multiple Positive/Negative Values
Working in C# with a custom object that has multiple rows and columns.
I need to remove duplicate records where some (but not all) of the column values match, including positive and negative values of ...
Best practices
2
votes
4
replies
64
views
How do I parse multipart content from an HttpResponseMessage?
I am using HttpClient in .NET 9 to get content that has a JSON part along with a base-64 encoded file. Reading the content as a string, I don't see a clear format that would ensure consistent parsing ...
0
votes
1
answer
26
views
AutoFixture customization to link foreign key relationships
I'm writing some AutoFixture customization to make standing up our test database objects less verbose. It's been easy enough to omit included objects if they are referenced by a ForeignKeyAttribute. ...
-1
votes
0
answers
25
views
WPF Flyout Positioning Issue with FlowDirection="RightToLeft"
Problem Description
I'm developing a custom WPF Flyout component that uses Popup with CustomPopupPlacementCallback. The Flyout positions correctly when the Window has FlowDirection="LeftToRight&...
2
votes
1
answer
75
views
Casting Func<T1, T2> to Func<T1, object> doesn't work with double but works with classes
I have a simple question about covariance/contravariance here.
Below, I have a Func<T1, T2> that I need to be casted to Func<T1, object>.
In theory, this should be possible, but in ...
4
votes
0
answers
44
views
Word.Document Close ComException
We have some legacy code that late binds to Microsoft.Office.Interop.Word to do various things with documents.
This code has worked fine for years.
The Solution is written in VB.NET and consists of ...