Skip to main content
0 votes
0 answers
16 views

I've been searching all over the internet for a solution; hope someone can help. I am using MsgReader to extract information from .MSG files. Recently, I have been getting an error Modified time ...
Glenn Rosenthal's user avatar
-2 votes
0 answers
12 views

I am using Azure B2C with Custom Policies. When I use graph api and set forceChangePasswordNextSignIn true I see error "Password has expired" instead of password change screen. This is the ...
Huso's user avatar
  • 63
1 vote
0 answers
32 views

I am using the ColorShadow control from the CompositionProToolkit in a WinUI/UWP project. I ported it to WinUI by replacing namespaces and Window.Current... with CompositionTarget....
Atena's user avatar
  • 139
1 vote
1 answer
45 views

When setting up an integration test with the .NET 10.0 SDK and the new xunit v3, I get the following error when trying to customize the WebApplicationFactory: System.InvalidOperationException: The ...
Dblock247's user avatar
  • 6,835
1 vote
2 answers
81 views

I have two classes: UNumber and Number (which inherits from UNumber). Both use the same addition, although Number also looks at the sign of the Numbers. I want that the addition of Number gets used if ...
user31962013's user avatar
0 votes
0 answers
20 views

I am trying to configure dual JWT authentication in my ASP.NET Core Web API. My API should accept tokens from: Azure AD B2C Azure AD (Entra ID) I use a PolicyScheme (DualAuth) to auto-detect which ...
Backend Development's user avatar
Advice
0 votes
0 replies
35 views

Do I have to call ConfigureAwait for every await or only when I created a new task? async Task Foo() => await Task.Wait(1).ConfigureAwait(false) async Bar() => await Foo()....
codymanix's user avatar
  • 29.6k
Best practices
0 votes
2 replies
31 views

I have an Entity Called CardTemplate. For physical cards, there will have to be a pattern chosen to physically print the card. And based on the two types of operations that the cards are allowed to do,...
Erfan Mirhoseini's user avatar
0 votes
2 answers
59 views

I am writing a Web API endpoint, data comes from SQL Server, and I'm using EF Core 8.0. I have a table of products and another table that maps the product codes to product attributes (one-to-many) ...
pepr's user avatar
  • 21.1k
1 vote
0 answers
37 views

I have recently added Component Space to my .NET 9.0 based web application, to facilitate SSO. It worked fine for few days, then I faced an issue, where the 'configurationName' is becoming empty for ...
Hemanth Hemu's user avatar
-2 votes
1 answer
93 views

I found these two links to a description of System.Type: .NET Standard 1.6 .NET 10 These descriptions list different members. For example: The .NET Standard version has a Name property, but the ....
Andreas's user avatar
  • 101
-1 votes
0 answers
33 views

I'm implementing some versioning in my Minimal API for .NET 8 and I've hit a bit of a snag. My documentation won't load the v2 API doc into Swagger when I run the application. I have this Swagger ...
Bithellio's user avatar
1 vote
2 answers
329 views

I implemented this simple loop in C# which runs a 100 times, and in each iteration waits for 50ms. using System.Diagnostics; var sw = Stopwatch.StartNew(); for (int i = 0; i < 100; i++) { ...
Mark Vincze's user avatar
  • 8,151
0 votes
1 answer
45 views

I'm writing code for .NET 8. Given this class Sample: [Serializable] [TypeConverter(typeof(ExpandableObjectConverter))] [DataContract] public class Sample { [DataMember] public int SampleId {...
mich's user avatar
  • 21
Advice
0 votes
4 replies
70 views

I have a question about how try/finally behaves when using return statements in C#. Consider the following methods: public int Test() { return 12; } public int Test2() { try { ...
Colin's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
108261