Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
477 views

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
  • 432
0 votes
0 answers
104 views

When I host my web API on IIS, the Python script does not execute as expected. However, the entire workflow functions correctly during local development and debugging in Visual Studio. What I Have ...
chamika's user avatar
1 vote
0 answers
72 views

I have a Blazor Web App that uses cookie authentication (not the built-in Identity). I'm trying to understand why when I authenticate the user directly in the application, the authentication cookie is ...
E-Bat's user avatar
  • 4,912
0 votes
0 answers
342 views

I have 2 projects: Client and API and use IdentityDbContext When I login and enable 2FA, it returns true for the Client to navigate through Page LoginWith2fa var result = await _signInManager....
TCNJK's user avatar
  • 9
-3 votes
1 answer
100 views

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 vote
1 answer
337 views

I am working on a GraphQL backend service in C# (.NET8 Web Api), which is a proxy for an another GraphQL service (An existing black box application with a GraphQL API, unknown implementation). I have ...
V. A.'s user avatar
  • 27
0 votes
1 answer
73 views

I have created a web api in asp.net web api as all methods work perfectly on localmachine but throguh m siite where i hosted my site on vercel when i call throgh this get methods work ...
Muhammad Yahya's user avatar
-1 votes
1 answer
49 views

I have a strange story when I used it for the first time, it worked, but after that I don't know what happened. The problem occurs when you change the path for LoginPath, LogoutPath, AccessDeniedPath, ...
motaz allala's user avatar
0 votes
1 answer
101 views

I'm a beginner in ASP.NET MVC / Web API. I have an ASP.NET Web API with a login endpoint that returns a token. My endpoint login returns a json with the token and its expiration date. The usage of the ...
Zul Huky's user avatar
  • 333
0 votes
0 answers
114 views

i am trying to implement google auth and i seem to missunderstand the auth flow , i looked through every sub and post allready and tried all the fixes there but nothing seems to work , i dont exectly ...
Avi_H's user avatar
  • 21
0 votes
1 answer
34 views

I am creating an ASP.NET Web API using C# expecting a payload in the POST body. Windows auth is enabled on IIS. public class GenericController : ApiController { [Route("api/{version}/{user}/...
Romil Kumar Jain's user avatar
0 votes
1 answer
152 views

I have these two entities in EF Core: public class Chat { public int Id { get; set; } public string SessionId { set; get; } = string.Empty; // Could be sessionId or anything that indicate the ...
Mohammad Zohar's user avatar
1 vote
1 answer
207 views

I am having difficulty publishing a new, blank ASP.NET Web API 2 project running on .NET 4.8. I discovered in an actively developed project, of the same type, that even though the project builds ...
Magstriker's user avatar
0 votes
1 answer
150 views

I am currently migrating an application originally built on .NET 4.6.1 to .NET 8. The relevant piece of the application is an API Controller that receives a batch of API requests from the browser, and ...
Joseph Gabriel's user avatar
0 votes
1 answer
442 views

I'm experiencing significant cold start delays for my .NET API hosted on Kubernetes. The first API call to any endpoint takes between 500 to 1000ms, but subsequent requests to the same endpoint take ...
Dawid's user avatar
  • 1
0 votes
1 answer
49 views

I have an existing Web Api project which works well, I can authorize and run the endpoints in controllers. But when I add a new controller and decorate with [Authorize] attribute as same as others, no ...
Ozkan Tuzemen's user avatar
0 votes
0 answers
309 views

I'm failing to connect to PostgreSQL using Npgsql in my local environment I have checked each and every thing looks fine and I'm able to connect using my pgAmin and also I have managed to update ...
Janeth Jackson's user avatar
1 vote
1 answer
79 views

`I am writing fullstack app (ASP.NET and React) and now trying to implement Steam auth using AspNet.Security.OpenId.Steam I already figured out how to set cookies, but when i try to check, if user is ...
Endesapt's user avatar
1 vote
1 answer
123 views

I'm working on an ASP .NET Core 3.1 Web API project and encountering an issue with Serilog. The logs are written to the file only after the first request is made post-startup. Here's a simplified ...
Cdke2ko's user avatar
  • 25
1 vote
2 answers
42 views

I have a controller which it is like the following code : [Route("api/[controller]")] [ApiController] [Authorize("Admin, OtherRole")] public class MyController : ControllerBase { ...
Ahmadreza Mozaffary's user avatar
3 votes
2 answers
720 views

I would like to retrive the keyvault secrets using managed identity in web Api. Creates Web APi with DefaultAzureCredential Able to retrive the data using aboe code. Built image and pushed into Azure ...
Balanjaneyulu K's user avatar
0 votes
0 answers
87 views

I'm developing an ASP.NET Web API. It runs smoothly without authentication, but when I try to access the API in Postman with username and password, I always get an error: Authorization has been ...
Abu Bakar Afzal's user avatar
0 votes
1 answer
62 views

I'm encountering an exception when trying to configure AutoMapper in my ASP.NET Core application. The exception message is: System.Reflection.TargetInvocationException: Exception has been thrown by ...
Doberman's user avatar
1 vote
3 answers
106 views

I created a sample .Net WebAPI core application to understand JWT implementation. The API was created and added JWT based authentication in it. The API returns the token from the token controller. But ...
user1531912's user avatar
1 vote
1 answer
595 views

I recently published a .NET 8 Web API to IIS Windows server. At first I was getting errors showing Failed to Load ASP.NET runtime which I resolved by installing ASP.NET Core Runtime 8.0.5 Windows ...
Ross Kelly's user avatar

1
3 4
5
6 7
759