Questions tagged [kestrel-http-server]

Kestrel is a HTTP server that is built-in to ASP.NET Core.

Kestrel is an open-source web server based on libuv and developed by Microsoft. The project home is on GitHub.

822 questions
0
votes
2 answers

ASP.NET Core 2.2 kestrel server's performance issue

I'm facing problem with kestrel server's performance. I have following scenario : TestClient(JMeter) -> DemoAPI-1(Kestrel) -> DemoAPI-2(IIS) I'm trying to create a sample application that could get the file content as and when…
vishwas-trivedi
  • 516
  • 2
  • 8
  • 26
0
votes
0 answers

How can I implement an Amqp Server on dotnetcore for RabbitMq while tying into the Authentication Middleware?

Below is a simplified flow of the http request pipeline for asp.net-core: A request comes into the server, a context gets created for the request, and the authentication middleware is able to authenticate a user and place the object on the…
yenta
  • 1,332
  • 2
  • 11
  • 25
0
votes
1 answer

Request not being denied with 413 status code

There is a need to deny requests that have ANY body contents (meaning that body size is > 0). I tried using RequestSizeLimit attribute but it does not seems to be working properly. Code: [HttpPost] [RequestSizeLimit(0)] public…
Alex
  • 4,607
  • 9
  • 61
  • 99
0
votes
0 answers

Can Kestrel listen on a specific foreign adress?

I'm starting to learn C # and try to develop an app which run on Ubuntu using Kestrel. Now netstat command show next: Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:5000 0.0.0.0:* …
ED9
  • 11
  • 2
0
votes
1 answer

ASP.NET Core Kestrel RequestSizeLimit different for different users?

In our ASP.NET Core 2.0 app we would like to have a RequestSizeLimit of X for most users, but for some special users we'd like to bump it up to a higher value Y > X. I.e. we have this today: [HttpPost("files")] [RequestSizeLimit(100_000_000)] public…
Kjell Rilbe
  • 1,331
  • 14
  • 39
0
votes
2 answers

Fetch request middleware in kestrel returning net::ERR_INCOMPLETE_CHUNKED_ENCODING

I am trying to resolve two errors on my kestrel middleware which is designed to handle a fetch request and return some JSON. (I am not interested in using MVC) The code works, but I would like to remove these two errors: In chrome I get this…
patrick
  • 16,091
  • 29
  • 100
  • 164
0
votes
0 answers

ASP Core 2.1 - Query gets interrupted by server

I need to make an async POST request to a part of my API, and the query is taking around 30 minutes. When I try on local it works fine both on Debug and Release, but when I am publishing to my hosting provider, the request gets interrupted after…
Antoine C.
  • 3,730
  • 5
  • 32
  • 56
0
votes
1 answer

How to launch an url on F5 when using Kestrel on a specific port?

I have an Asp.Net Core 2.2 application using Kestrel with default settings. I went in the project's debug properties and set the "Launch Browser" setting to the page I want to start with when debugging and "Launch" to "Project". This all works fine…
0xFF
  • 808
  • 1
  • 12
  • 33
0
votes
1 answer

chunked response empty (terminating) chunk missing

I have a controller action that returns a CSV document produced asynchronously by a data source. I subscribed to an observable data stream and I write to the http response with Response.WriteAsync(). It seems to work apart of the fact that the…
grzegorz_p
  • 483
  • 1
  • 4
  • 14
0
votes
1 answer

Active Directory Roles - developing locally

I'm looking to switch this local environment to use Windows Authentication in order to facilitate the usage of the following logic inside of the code. User.IsInRole("BRV_Projects_Edit"); I'm launching dotnet core locally in a windows environment…
ffejrekaburb
  • 656
  • 1
  • 10
  • 35
0
votes
1 answer

How to sequence an webserver like nodejs or kestrel in app-v?

i need to have a webserver in an app-v container. I could not find examples how to sequence and configure a webserver with app-v. Are there examples available for sequencing e.g. nodejs or even .net core webserver kestrel? Thank you for the…
0
votes
0 answers

launchsettings.json - commandName, IIS or Project for Production?

For an MVC core live production website, I am trying to understand which commandName setting I should be using in my launchsettings.json. My understanding is that if I set Project it will use the Kestrel server to host the website. If I set IIS it…
Bagzli
  • 6,254
  • 17
  • 80
  • 163
0
votes
0 answers

Kestrel request per second issue

i'm a newbie to asp.net core i'm write a web api service, which store passed data to database. in theory there is about 300-400 request per second to server in future and response time must be less than 10 seconds but first of all i try to run some…
anatoly.kryzhanosky
  • 185
  • 1
  • 1
  • 18
0
votes
0 answers

.net 4.x framework and asp.net core 2.2 application on same domain

I am currently going through the process of converting a prior application that lives on apps.website.com from .Net 4.5 to .Net Core 2.2. As this is a WIP, I would like to publish each component as it is completed. Is it possible for a .Net 4.X…
Fraze
  • 908
  • 2
  • 8
  • 20
0
votes
1 answer

503 Service Unavailable for Asp dotnet core 2.0 web app on linux server

I'm trying to deploying my asp.net core 2.0 web application + angular 6 project on linux ubuntu 18.04 os.I'm using apache2 server. this is apache config file ProxyPreserveHost On ProxyPass / http://127.0.0.1:5000/ ProxyPassReverse…
DevAra
  • 531
  • 3
  • 10
  • 35