45,903 questions
Tooling
0
votes
1
replies
41
views
How to programmatically insert Plant 3D catalog parts into a drawing using C# API?
I’m working on automating the insertion of parts from a custom Plant 3D catalog into project drawings using a C# plugin.
What I have so far:
A custom catalog (.pspx, .acat, .pspc) with supports and ...
0
votes
0
answers
22
views
Unable to connect signalr hub with jwt authentication
List item
[2025-11-19T14:03:33.645Z] Error: Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not ...
0
votes
0
answers
26
views
Why does my GraphQL call using the HTTP client return null? [closed]
I am trying to call my GraphQL API using the generic HTTP client in .NET Core. The query doesn't work when I use the HTTP client. I have this set up in Bruno and get results back.
var queryObject = ...
0
votes
0
answers
33
views
.NET Templates in Visual Studio (extra sln/slnx being created)
I have a .NET Template that already contains a solution file as well as several projects. When instantiating this template via the CLI everything is fine. However when instantiating it via Visual ...
12
votes
4
answers
3k
views
installing dotnet-ef dotnet tool throws error
I’m trying to install the Entity Framework Core CLI tools globally using the .NET CLI command:
dotnet tool install --global dotnet-ef
However, the installation fails with the following error message:
...
0
votes
0
answers
47
views
Sap .NET connector (SAP Nco 3.1.6) for .NET 8 throws an error "could not find sapnco_utils.dll' file
I'm trying to use the Sap connector for .NET 8 (v3.1.6) and i have run into an error saying that the "sapnco_utils.dll" module is not found. I have the dll file and I have added the assembly ...
-1
votes
1
answer
58
views
How to distribute a .NET 9 application using Microsoft.Office.Interop.Excel?
I have recently migrated a large code base from .NET Framework 4.7.2 to .NET 9. In this code base, we have a few C++/CLI projects which reference the Microsoft.Office.Interop.Excel Nuget package to ...
0
votes
0
answers
52
views
StackExchange.Redis.RedisTimeoutException on FT.SEARCH with Redis Stack vector index (HNSW)
I'm building a .NET 8 demo that stores OpenAI text embeddings in Redis Stack and performs similarity search with FT.SEARCH (KNN over HNSW vector index).
The setup works for indexing and upserting data,...
1
vote
1
answer
130
views
How do I implement a Cron based trigger?
I'm using Elsa Workflows 3 for a project, and there are four types of triggers (source):
HTTP Endpoint: triggers the workflow when a given HTTP request is sent to the workflow server.
Timer: triggers ...
0
votes
0
answers
47
views
How can I programmatically suspend a running WorkflowApplication in the middle of execution, not only when idle?
I’m working with a .NET Workflow Foundation (CoreWF) based engine that runs workflows with multiple steps (custom NativeActivity implementations). Each step executes synchronously and immediately ...
1
vote
0
answers
152
views
Text DPI scaling difference between .NET Framework 4.7.2 and .NET 9
There seems to be a subtle difference in appearance between .NET Framework 4.7.2 and .NET 9 when scaling text with the DPI.
I made a small DPI-aware test project which compiles to .NET Framework 4.7.2 ...
0
votes
1
answer
79
views
CoreCLR 0x8007000E on macOS ARM64 in Terminal after reboot, works in VSCode
After a macOS reboot, my .NET 7 builds fail in a normal Terminal/zsh login shell:
dotnet build
with:
Failed to create CoreCLR, HRESULT: 0x8007000E
Here’s what I’ve observed:
The same build works ...
1
vote
0
answers
161
views
Strange hanging request in a .NET / Core application
I have two applications running, a web app on .NET 4.7.2 (versioning is not under my control...), and another on .NET 9 (LLM proxy service). The proxy service takes a request, routes it and uses ...
1
vote
1
answer
45
views
Telerik Report Generation Fails in IIS on Azure VM with OperationCanceledException
I have an ASP.NET Core Web API that generates reports using Telerik Reporting. The report generation works perfectly in my local development environment, but when deployed to an Azure VM with IIS, it ...
1
vote
0
answers
46
views
EF Core 8.0.5 migrations not creating tables in Release publish (only raw SQL via migrationBuilder.Sql() executes) [closed]
I have an ASP.NET Core application using Entity Framework Core (SQL Server).
When I run the app in Debug, all migrations execute perfectly — all tables are created in the database as expected.
However,...
1
vote
1
answer
93
views
How to test .NET Core Console application which uses Dependency Injection using xUnit?
I have a console app constructed using the following code:
public partial class Program
{
private static async Task<int> Main(string[] args)
{
Host.CreateDefaultBuilder(args)
...
-1
votes
1
answer
189
views
How to remove background from all sides of bill photo
Tried to remove background from bill photo using OpenCvSharp GrabCut method:
static Mat Grabcut(Mat imageMat) {
Mat result = new(imageMat.Size(),MatType.CV_8UC1);
OpenCvSharp.Rect rect = ...
0
votes
0
answers
47
views
Stay in Edit Mode of Dialog Template after Save when Error happens in EJ2 Grid Dialog Template Save
I want to be able to provide option to fix the error and save again. Now, when i click "Save", Save and cancel buttons are gone and when error message is shown in my new html element, I ...
0
votes
0
answers
46
views
Using Nuget SDK inside IIS Project - Access Denied Error
I'm working on an ASP.NET Core project, where I have to grab information and packages from a Nuget feed. Everything works like a charm locally, but when I deploy the site and try to access the nuget ...
0
votes
0
answers
56
views
Create correlation ids for API requests originating from a Blazor Server app
My Blazor server application calls an external API. For each request to this API I want to send a unique correlation id (as a X-Correlation-Id header).
I'm trying to use Activity.Current.Id.ToString();...
0
votes
0
answers
65
views
OpenCvSharp4 in Debian 13 (bookworm) throws DllNotFoundException
Steps to reproduce
In Visal Studio create .NET 9 console application.
Add OpenCvSharp 4 Windows and Linux nuGet packages:
Create program.cs file:
using OpenCvSharp;
using Mat src = new Mat();
...
0
votes
0
answers
62
views
I cannot hide a WebView in .NET MAUI
I added a WebView control to my .NET MAUI application and this control shall only be visible under certain conditions, e.g. the user wants to open a link.
My problem is that the WebView is always ...
2
votes
1
answer
93
views
Different result by cast negative double to uint with .NET Framework 4.7.2 and .NET 9.0 [duplicate]
I'm migrating my project from .NET Framework 4.7.2 to .NET 9.0.
Now I see that casting a negative double to uint is different.
.NET Framework 4.7.2:
double codeDouble = -2147287039.0;
uint codeUint = (...
1
vote
1
answer
49
views
How to only generate library (models and abstract controller) for .NET Core using Open API generator
I'm trying to create a separate .NET Core library project for all generated files which I can implement in my API code.
That way generation does not delete/change my actual API like it does if you ...
0
votes
0
answers
41
views
How to remove action node in soap request body
I’m learning SoapCore and I need the function parameter to appear directly inside the Body of the SOAP request, without the action node. Code looks correct, but my function parameters are still coming ...