36,995 questions with no answers
0
votes
0
answers
45
views
FileNotFoundException: Could not load file or assembly '/HotReloadAgent/Microsoft.Extensions.DotNetDeltaApplier.dll'
I'm building a single-project solution in Visual Studio using Docker. When trying to Debug using Visual Studio, I'm immediately met with the following error:
System.ArgumentException: 'Startup hook ...
0
votes
0
answers
28
views
Unable to use the Microsoft.Practices.EnterpriseLibrary.Validation
When I am trying to run the validate in the application which try to create the object using the below code I get the error message
public static void Validate<TEntity>(this IValidated entity)
{
...
1
vote
0
answers
136
views
MassTransit Kafka connectivity / health check
We're using MassTransit with Kafka for simple service-to-service communication. A service might read hundreds of records from a source and publish ("produce") the corresponding messages to ...
0
votes
0
answers
61
views
.NET Aspire right after start spams telemetry log
I added Aspire to my .NET project and after starting it (Visual Studio profile AppHost https), I constantly get a spamming telemetry log in my Debug Console. It appears every second. I feel like it is ...
0
votes
0
answers
63
views
The located assembly's manifest definition does not match the assembly reference launch darkly
I created a nuget package library called FeatureLibrary.
I added this nuget package in a another project. At run time getting below error.
"Description": "Unhandled exception in ...
0
votes
0
answers
62
views
Semantic kernel OTel metrics in Blazor
I have a Blazor server application using Semantic Kernel and OTel. I'd like to send Semantic Kernel metrics to Application Insights. Here's my code:
AppContext.SetSwitch("Microsoft.SemanticKernel....
0
votes
0
answers
43
views
How to make Akka.net crash the application?
The application is running in a Docker container with limited RAM.
There's some kind of memory leak in the application (the problem is being investigated), which accumulates over a long time. When an ...
1
vote
0
answers
29
views
Why EventingBasicConsumer can't process RMQ messages in parallel, although prefetch =100
I'm using C# RabbitMQ.Client Lib to process RMQ message.
I have set the prefetch to 100, but the EventingBasicConsumer still process the message one by one. why it can't raise 100 event at same time?
...
0
votes
0
answers
89
views
Log4Net - "The file is not currently locked" exception in custom appender, log is not being written
In a .NET Standard 2.0 class library, I'm trying to write my own RollingFileAppender which will work with a buffer that will be flushed periodically. The reason for this, is the need to have my ...
0
votes
0
answers
47
views
How to define the boundaries of objects inside the hatching in .NET API Autocad
The problem is that I can't determine the inner borders for hatching, I added an ObjectIdCollection, which contained all the ObjectIds that I wanted to take into account: text and polylines, but I ...
1
vote
0
answers
21
views
How to independently time user controls with MiniProfiler
I am trying to get some performance metrics for various controls (.ascx) that are on an ASP.NET webforms page. There's no problem with the whole page, but for user controls I can't get a good ...
0
votes
0
answers
79
views
ASP.NET Site Issue on Edge Browser
so from past few weeks i've been working on this project asp.net project which has aspx.cs and asp pages. everything was working perfectly until we enabled https suddenly sessions between aspx and asp ...
0
votes
0
answers
55
views
Is it possible to create one ClipboardItem with both MIME types?
I am trying to copy the URL of my page and embed it to HTML text, which wherever this mime is supported it shows the HTML text and we can open the URL by clicking the text (which I've already made ...
1
vote
0
answers
56
views
Error connecting to Power BI Service from C# to execute XMLA script
When I run this C# code from MS Visual Studio to connect with Power BI service I get Error: The connection either timed out or was lost. What could be wrong? I checked the XMLA endpoints in Power BI ...
0
votes
0
answers
48
views
Version conflicts with System.ValueTuple in Google.Api.Gax/Grpc/CommonProtos v4.11.0 packages on .NET Framework 4.8
after updating from:
<package id="Google.Api.Gax" version="4.10.0" />
<package id="Google.Api.Gax.Grpc" version="4.10.0" />
<package id="...
0
votes
0
answers
101
views
.NET Selenium Driver with Authentication - Handling Authentication Failure
With .NET and Selenium, I'm using Chrome drivers to navigate pages and retrieve their content.
Consider the following code where I use basic authentication to retrieve a page content. I'm targeting ....
0
votes
0
answers
43
views
Set asp-append-version to true for everything (link , script , img)
how Set asp-append-version to true for everything? (link , script , img)
without change code!
I don't want to do this by timing the cache because after the change I want the Annie to change
I tested ...
0
votes
0
answers
97
views
iText 7 PDF/A signing error: "All the fonts must be embedded. This one is not: Helvetica"
I'm trying to sign a PDF document using iText 8.0.5 in C#, and the input file is PDF/A-compliant (created externally). During the signing process, I get the following error:
iText.Pdfa.Exceptions....
2
votes
0
answers
105
views
Baffling Build behaviours in Visual Studio 2022 for .net projects
Making the move over to .net from .framework and wishing I hadn't. I have a complex setup needing multiple projects being built to separate directories depending on selected configuration (details ...
0
votes
0
answers
74
views
How to set separate Debug Targets for different configurations in Visual Studio for .net projects?
I've recently updated a solution from .framework to .net 9.0. Sadly, it's caused no end of issues - not with the code or framework, but with the VS UI elements and functionality. The setup is a bit ...
0
votes
0
answers
47
views
Dapr firewall rule required for local development with dotnet
I am trying to use dapr for local development using Visual Studio 2022 but it seems the connections with dapr are blocked through my antivirus Bitdefender firewall settings.
It only works when I ...
2
votes
0
answers
93
views
300ms Delay Loading Assemblies on .NET Framework due to Fusion Publisher Policy?
If I create a new WinForms project targeting .NET Framework 4.7.2, and replace Program with the following code
static class Program
{
/// <summary>
/// The main entry point for the ...
0
votes
0
answers
66
views
Why is the custom host authorization attribute not working?
I created a custom controller in ProjectName.HttpApi, but my problem is that the [Authorize] attribute doesn't work when I use it there.
Also, the built-in authorizations in the ABP Framework services ...
0
votes
0
answers
84
views
.NET MAUI SQLite db absolute path
I have created an SQLite Database in .NET MAUI
public static class Constants
{
private const string DBFileName = "SQLite.db3";
public const SQLiteOpenFlags Flags =
...
0
votes
0
answers
30
views
Which approach makes more sense for validating survey completeness?
I’d like to get input on two possible approaches for handling validation of a survey before generating a document based on it.
Users can fill in a survey gradually, over multiple days. We have an ...