Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
45,905 questions
Filter by
Sorted by
Tagged with
1vote
0answers
35views

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,...
1vote
0answers
33views

Mysql ConnectionAttempts increased on AWS RDS after dotnet 6 update to 8

After updating our Dotnet API from dotnet 6 to 8 the connection-attemps on AWS RDS increased significantly (see attached picture).The API is running in a docker-container.We use a MYSQL RDS instance ...
1vote
1answer
56views

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) ...
1vote
0answers
80views

Unable to create a 'DbContext' of type 'RuntimeType'

I get this error when migrating from Entity Framework:dotnet ef migrations add initAppUnable to create a 'DbContext' of type 'RuntimeType'. The exception 'Unable to resolve service for type '...
-5votes
0answers
88views

EF Core: One Principal with two different relationships to the same dependent? [closed]

I've got a class model with a class PrincipalEntity, which serves as the principal and contains a 1:1-relationship as well as a 1:n-relationship both to DependentEntity. How to configure these ...
1vote
0answers
62views

Convert .Net Framework 2.0 repo to 9.0 for Unix support [closed]

There's a specific tool that I had used in Windows in the past that doesn't currently exist in the Linux ecosystem. There are alternatives but as always they all require making compromises. I found ...
-1votes
1answer
110views

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 = ...
1vote
2answers
103views

How to make image white outside of contour in OpenCvSharp

Looking for a method to set image color to white outside single contour.Answer inFill the outside of contours OpenCVoutside-of-contours-opencvcontains python code for this:import cv2import numpy...
0votes
0answers
27views

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 ...
1vote
2answers
71views

Force RedirectToPage() to include query parameters with empty values?

If I use the following code in my OnPost() handler:return RedirectToPage(new { parm1 = "abc", parm2 = "" });The address bar shows:https://localhost:7240/Transloading/Assets/...
0votes
0answers
38views

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 ...
0votes
1answer
101views

What is the proper way to load an assembly in new .NET since GAC went away?

I have 2 versions of a vendor DLL that contain same classes but are different for reasons, and have slightly different names.At any rate I either want to load DLLA or DLLB, I do not want to set these ...
user21221040's user avatar
0votes
0answers
42views

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();...
handles's user avatar
  • 7,891
-1votes
1answer
52views

How can I enable verbose tracing in dotnet/runtime/src/native/corehost/hostmisc/trace.h [closed]

How can I enable verbose tracing in dotnet/runtime/src/native/corehost?There is enable function but it is not exported and I don't see calls to it so that I can't use another function as a mediator.
Yola's user avatar
  • 19.3k
0votes
0answers
48views

OpenCvSharp4 in Debian 13 (bookworm) throws DllNotFoundException

Steps to reproduceIn 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();...

153050per page
1
2345
3061

Hot Network Questions

more hot questions
Newest .net-core questions feed

[8]ページ先頭

©2009-2025 Movatter.jp