Skip to main content
0 votes
0 answers
42 views

Url.Action can't resolve GET url while other actions do work

I have a Web API controller that inherits from ControllerBase for invoices. It contains these endpoint definitions: [HttpGet] [Route("{id:guid}")] public async Task<ActionResult<...
kbd's user avatar
  • 4,489
1 vote
0 answers
31 views

SignalR Client does not connect with Web Socket and Server Sent Events Options but it connects with LongPolling

I used signalr with backend polling as a background service in my .NET web api project. However, when I try to connect to my hub from the client, it throws System.IO.IOExpcetion. I checked if web ...
Yusuf Mert Çelikarslan's user avatar
0 votes
2 answers
43 views

Web API not showing swagger UI after Elasticbeanstalk deployment

I just deployed my web api to elasticbeanstalk but it doesn't render anything, even swagger ui. This is my environment which shows that the status of it is healthy and okay: Then this is the ...
Steez's user avatar
  • 31
0 votes
1 answer
31 views

ASP.NET Core API in Docker on Linux

I have created a ASP.NET Core Web API app with Docker enabled just using the auto generated boilerplate code. Running on Docker on my Windows dev machine works just fine. But when I deploy the app to ...
Jonas Samuelsson's user avatar
0 votes
0 answers
26 views

Running ASP.NET Web API on IIS Express getting ANCM error

I am running an ASP.NET Web API application for .NET Framework 4.7.2, and when I try to run it in on my Windows 11 dev machine via IIS Express, the app is crashing with the following error: HTTP ...
David Keaveny's user avatar
0 votes
0 answers
31 views

Sending tokens when redirecting

I am working with OAuth in my ASP.NET API for a web app + mobile app, anyway lets use Google as an example here the user authenticates using the Google provider then Google calls my API and I issue a ...
Coffee's user avatar
  • 1
0 votes
1 answer
33 views

There was an error while performing this operation" error when publishing an old ASP.NET web project on IIS

I'm trying to publish an old ASP.NET web project on IIS (Internet Information Services). However, when I click on Handler Mappings in IIS Manager, I receive the following error message: SSL Settings ...
ömer Furkan Keltek's user avatar
3 votes
1 answer
80 views

How to configure options to display StackTrace with AddProblemDetails() based on environment in ASP.NET Core?

I have my ASP.NET Core 9 Web API app using custom ExceptionHandlerMiddleware Middleware to handle all exceptions as shown below: public sealed class ExceptionHandlerMiddleware(IWebHostEnvironment env, ...
fingers10's user avatar
  • 8,097
0 votes
0 answers
27 views

SwaggerResponse add "Field" suffix to property name

I have an issue with Swagger model preview. I using ASP.NET Web API. It shows me this model: But all model properties - is a private property names. So, on my opinion there must be Id instead of ...
Denis Gavrikov's user avatar
1 vote
1 answer
29 views

Asynchronous File Validation Method Not Responding in Docker Environment

I'm working on an ASP.NET Core application running inside a Docker container. I have an API endpoint that processes a file asynchronously. The method picks a pending file, triggers an async validation ...
nishant bhadke's user avatar
1 vote
0 answers
38 views

ASP.NET Web API on .NET 4.8 - can't load assembly

I have a .NET 4.8 (migrated from .NET 4.5.2) ASP.NET Web API that I have deployed to a dev server and it is working fine. I take the same code and deploy it to a qa server, and I am getting the ...
Rick Hodder's user avatar
  • 2,262
0 votes
1 answer
30 views

Multipart form post only works if you look at it first

I'm calling a rest endpoint that accepts a multi-part form data request. One of the fields is a file and I'm using a 42k test png image. I'm using the HttpClient to make the request like so: using var ...
Simon Halsey's user avatar
  • 5,475
0 votes
0 answers
16 views

Seeing rst error when netscalar is trying to connect to REST API

Issue with test netscalar REST API. We do not see issues with local REST API. Attached tcp stream from wireshark. Netscalar ip sends syn to app server then in second line in screenshot app server ...
Madugula Chetana's user avatar
0 votes
0 answers
37 views

App Authentication with ADFS, OpenID Connect and ASP.NET WebAPI 9.0

I have an iOS App that connects to an ASP.NET WebAPI on the server side for CRUD operations. I now need to add authentication against a Active Directory Foundation Service (AD FS 2019) to protect the ...
Jeremy's user avatar
  • 326
0 votes
0 answers
35 views

How to send request to API that uses MessagePack with MagicOnion using Postman

I have an API that is using MagicOnion and MessagePack in .NET. I am using swagger like this: public static IServiceCollection AddMagicOnionServices(this IServiceCollection services) { services....
Dilshod K's user avatar
  • 3,042

15 30 50 per page
1
2 3 4 5
2536