Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
3 answers
140 views

This question relates to the nullable / non-nullable reference types that were added in C# 8.0 If I have the Nullable property within my project set to 'Enable', and I have a class where a field is ...
0 votes
0 answers
80 views

I am trying to call .NET Core 8 (C#) code from C++ dll in Excel VBA. The architecture I’m targeting is: Excel (VBA) → C++ native DLL → .NET Core 8 C# DLL The idea is that the VBA code calls the native ...
Polack77's user avatar
0 votes
0 answers
69 views

We need to use On-behalf-of flow using delegatedUser permissions to accept a file from a Angular client, determine if it's protected and then decrypt it and use decrypted bytes for various reasons. we ...
0 votes
0 answers
15 views

In my code convertion of VB.NET to C#, is error in convertion... "Cannot implicitly convert type 'object' to 'demoComp.ListControlItem'. An explicit conversion exists (are you missing a cast?)&...
2 votes
1 answer
127 views

I am working on creating some ASP.NET Core 8.0 Web API endpoints (in C#). There will be over 100 endpoints across 40-50 repositories that are all a part of the same platform ecosystem; it is not an ...
4 votes
0 answers
59 views

Why is it that if I switch on an Int16[] in C#, it will match with UInt16[], even when an Int16[] is present later in the switch statement? Example Code: namespace SwitchError; internal class Program ...
0 votes
0 answers
414 views

When I create a new ASP.NET Core MVC project, the wwwroot folder initially appears correctly, like this:when the project is created However, when I close Visual Studio and reopen the project, the ...
0 votes
1 answer
46 views

I'm working on an ASP.NET Core application running inside a Docker container. I have an API endpoint that processes a file asynchronously. The method picks a pending file, triggers an async validation ...
3 votes
0 answers
222 views

I generate a brand new blazor server project in ubuntu with "dotnet new blazor -o MyBlazorAppServer" command and it works perfectly fine when I launch it, but as soon as I install Microsoft....
-1 votes
1 answer
271 views

public class MyClass { public readonly List<int> Value { get; } = []; // Error: Property cannot be 'readonly' } public record MyRecord { public readonly string Name { get; init; } // ...
1 vote
1 answer
342 views

To translate my application into multiple languages in a Blazor United Project and .NET 8, we need to use localization and resource files. This involves manually writing each sentence in key-value ...
1 vote
1 answer
96 views

In my blazor app, I'm trying to get @rendermode InteractiveAuto to work, so I created a simple sample project by creating a new project and including the sample pages. I now have button on my home ...
0 votes
1 answer
580 views

In C# 8 we have the return switch statement, which looks like this: return a switch { 1 => "op1", 2 => "op2", 3 => "op3", _ => "default&...
Daniel's user avatar
  • 7,800
0 votes
1 answer
278 views

I am unable to deserialize a Dictionary<Enum,decimal> from a JSON string when the enum key is in kebab-case-lower format. I tried defining JsonStringEnumConverter(JsonNamingPolicy.KebabCaseLower)...
1 vote
1 answer
848 views

In C# I'm using Polly Version=8.4.1 and a reusable retry ResiliencePipeline via ResiliencePipelineBuilder. return new ResiliencePipelineBuilder() .AddRetry(new RetryStrategyOptions ...

15 30 50 per page
1
2 3 4 5
...
40

AltStyle によって変換されたページ (->オリジナル) /