339,997
questions
-2
votes
1
answer
14
views
What is the minimum required information in a WNDCLASSEX struct?
I'm trying to call RegisterClassEx, and I need to generate a WNDCLASSEX struct. What are the minimum requirements for this struct?
For the sake of this example, I'm using C#, with CsWin32 to generate ...
1
vote
1
answer
14
views
How to query with LINQ a dictionary property in EF Core with Cosmos DB provider
I have a class Entity mapped with EF Core to a Cosmos DB container. The class has a property Labels of type Dictionary<string, string>. How can I find all instances of that class that have say ...
0
votes
0
answers
10
views
EPPlus returning different values in the same version
I have an API in .NET Framework that receives a list of cells to populate and returns the result of a specific cell after performing calculations. I'm currently migrating this API to .NET 8. To ...
0
votes
1
answer
19
views
Why the `Items` property within `Newtonsoft.Json.Schema` is represented as a `IList<JSchema>`?
According to the documentation of JSON Schema, the value of "items" MUST be a valid JSON Schema itself for the subschema, while within the Newtonsoft.Json.Schema package, Items are ...
-1
votes
0
answers
39
views
Does .NET have an official or standard class for arrays that use value equality rather than reference equality?
I keep running into cases where I need an array with value equality. An array of records that itself acts record-ishly. At the moment I'm working on an IIncrementalGenerator and want all the ...
0
votes
1
answer
20
views
Using reflection to set a private field, no error but field always old value
I'm using ASP.NET with default session storage and HttpContext.Session is returning an instance of DistributedSession (https://github.com/dotnet/aspnetcore/blob/main/src/Middleware/Session/src/...
0
votes
0
answers
15
views
Access has been blocked by CORS policy when redirecting to login.microsoft
I have a web app (javascript front-end with a .NET Core 6 Web API) and I am trying to add authentication via OpenIdConnect and my redirects to login.microsoft are blocked by a CORS, if I hit the ...
0
votes
0
answers
14
views
I am trying to expose grpc service using nginx in kubernetes. the application is using kestrel in appsettings
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/backend-protocol: "GRPC&...
1
vote
0
answers
13
views
SignalR connection Error The underlying connection was closed before the hub handshake could complete
The error occurs when attempting to establish a SignalR connection. The connection is closed before the hub handshake can complete, causing the retry mechanism to trigger. This results in multiple ...
0
votes
0
answers
6
views
Error: Exception calling "NextValue" with "0" argument(s): "Category does not exist."
I have this piece of code in would like to run with Powershell on my local machine, try to collect some performance counter value on another machine.
# Define parameters
param (
[string]$...
0
votes
1
answer
8
views
Unable to attach ExtentReportManager as ITestListener in NUnit Test Runner
Description:
I'm working on integrating Extent Reports with NUnit for my automation framework, aiming to capture detailed test execution logs and screenshots. The idea is to create a structured Extent ...
0
votes
0
answers
9
views
How to upload media to Display Video 360 using the .NET API client?
I'm communicating with Google's Display & Video 360 Service API from my .NET application. To achieve that, I'm using the Google.Apis.DisplayVideo.v3 package:
https://github.com/googleapis/google-...
-2
votes
0
answers
26
views
Best choice for application deployment [closed]
We are developing a microservice application on .Net and we are choosing a CI/CD tool. We need to deploy the application to several virtual servers. Unfortunately, we do not have the ability to deploy ...
1
vote
0
answers
15
views
Is local dependency resolution possible in .NET without NuGet?
I have two shared library .NET projects, B and C, which depend both on another shared library project, D.
Both B and C have respective CLI wrapper projects which they need to build independently with, ...
0
votes
0
answers
10
views
`dotnet test`-- how can I suppress irrelevant console outputs
Here's a sample of the console outputs that I have
Test run for E:\SampleOfReproductions\.Net Plain\Net48NetStandard20\TestLibNet80\bin\Debug\net8.0\TestLibNet80.dll (.NETCoreApp,Version=v8.0)
Test ...