Skip to main content

All Questions

0 votes
1 answer
32 views

RabbitMQ Client .Net Core Timing Out under load after rabbitmq upgrade. Consumer System.TimeoutException

We have a system that was running RabbitMQ 3.8.5 with RabbitMQ.Client 5.2.0. Part of the way the system uses rabbit is by creating a consumer to wait for a specific command from a different executable ...
Kaizer69's user avatar
  • 403
0 votes
0 answers
26 views

Need to order by list using row value using entity framework [duplicate]

I have data in following format as shown in the sample table data. I want to order by this data in ascending order for ND values. Means like from ND1 to ND10. I tried the following way: return await ...
Sami In's user avatar
  • 330
-3 votes
1 answer
36 views

why don't Show EF Core 6, AppDbContext onModelCreating in modelbuilder.HasDefaultSchema("Schema name"); [closed]

why dont Show EF Core 6, AppDbContext onModelCreating in modelbuilder.HasDefaultSchema("Schema name"); i tried different methods, I almost asked the AIs too, ChatGPT, Bing etc. but somehow ...
Muhammadabdulloh Komilov's user avatar
-1 votes
1 answer
53 views

How does a Task understand that it has already been executed if the thread is released?

For example, if I asynchronously contact the database with a request. How should a Task understand that it has already been completed and change its status? Do I understand correctly that when I ...
Madiyar's user avatar
0 votes
0 answers
34 views

Blazor Webassembly Cache Cleanup issue

I've a Blazor Webassembly application without PWA (.NET 8). We are facing issues in deployment, that whenver a new version is deployed the cache storage in client(browser) doesn't get refresh ...
ASHISH_TECHIT's user avatar
0 votes
1 answer
555 views

How to Self Host a ASP.NET Core WebAPI with Console App?

I have a fully functional ASP.NET Core Web API built with .NET 8, and it runs smoothly in Visual Studio. Now, I'm looking to create a separate console application to host this Web API using self-...
MikloWak's user avatar
0 votes
0 answers
63 views

how does the first Activity instance from Activity.Current get created in asp.net web api?

if I try to get the activity instance by calling Activity.Current in a console project, I get a null class Program { static void Main(string[] args) { var activity = Activity.Current; ...
user22155685's user avatar
0 votes
0 answers
60 views

why not use HealthCheckMiddleware explictly for Health Check?

the norm of using Health Check is like the code below public class Startup { public void ConfigureServices(IServiceCollection services) { // ... services.AddHealthChecks() ...
user22155685's user avatar
1 vote
2 answers
646 views

How to get a path to the 'wwwroot' from a separate project in .NET 8?

Microsoft has changed something in .NET 8. I have two projects: MyApplication.Api (it is the main project with 'wwwroot', ASP.NET Core Web API) MyApplication.Infrastructure (this is a library, here I ...
Aleksander Chelpski's user avatar
0 votes
1 answer
563 views

How do I add or change claims in .NET using the new IClaimsTransformation interface

I know ClaimsAuthenticationManager was used in .NET Framework. I need to perform some custom logic to modify claims and make sure the modifications persist across requests
k29's user avatar
  • 702
1 vote
3 answers
243 views

UnsupportedContentTypeException appears to occur due to application/jwt in Post

I'm using .NET 6.0, and have a simple API Controller to receive a POST from a 3rd party website. They are, however, posting with the Content-Type application/jwt, and according to the trace logs I'm ...
Dan Chase's user avatar
  • 1,042
0 votes
0 answers
34 views

.NET core minmal APIs not connecting with react native app (Expo CLI)

I am trying to connect my .Net core minmal apis backend with react native but it keeps giving me network error, I dont know what I am doing wrong. I have double checked the url the ip address too many ...
Waseem Hassan's user avatar
1 vote
1 answer
60 views

How i can add endpoint (or сatch a request and check its path) to BCL?

I need to create a BCL that will automatically add a path to /api/environment, for example, in order to subsequently reuse this library by adding the same path to all projects that will do the same ...
Cheburechek7's user avatar
1 vote
1 answer
154 views

Error MSB4018: The "ResolvePackageFileConflicts" task failed unexpectedly

I've been trying to build a simple project using Microsoft.EntityFrameworkCore, but always I tried to build project it is showing me following error: Can anyone help me? Thanks! I try to downgrade ...
NightRider's user avatar
0 votes
1 answer
206 views

How to bridge requests from one service to another in ASP.NET

I'm developing a service in ASP.NET Core Web API which acts as a proxy for another service. For few specific endpoints it should handle the requests itself, but for all others endpoints I want it to ...
Arnon Axelrod's user avatar

15 30 50 per page
1
2 3 4 5
17