Questions tagged [kestrel]

Kestrel is a simple, distributed message queue system written in Scala.

Kestrel is a simple, distributed message queue system written in .

There is also Kestrel a cross platform web server for ASP.NET Core. If your question is addressing the web server you can use

364 questions
8
votes
1 answer

The server returned an invalid or unrecognized response error when using System.Net.Http.HttpClient

Recently i have migrated my code base from .net core 1.0 to 2.0 . After that i am getting the error "The server returned an invalid or unrecognized response error when using System.Net.Http.HttpClient" randomly. I am getting this error in 2 out of…
7
votes
1 answer

Apache reverse proxy to Kestrel not working

In a Ubuntu 18.04 server I have Apache (currently running several PHP sites whit no problem). Now I need to host a .NET app (v 3.1). Followed this tutorial…
drcrow
  • 331
  • 1
  • 10
7
votes
1 answer

asp.net core controller action route uses encoded slash to determine route (IIS only)

I have an asp.net core 2.2 mvc action method and GET it from the client JavaScript code : [Route("/search/{searchterm}")] public IActionResult Search(string searchterm) { // code } Now, when I navigate to search with the searchstring…
Michel
  • 23,085
  • 46
  • 152
  • 242
7
votes
1 answer

Is it possible to smoothly "hot deploy" an ASP.NET Core app?

Under ASP.NET with .NET Framework, you can perform a "hot deploy" of new code without disruption. This works because IIS can juggle multiple app domains for the same application: when new code arrives it "drain stops" the old app domain, allowing it…
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
7
votes
1 answer

.NET Core 2.1 Azure Web App: The specified CGI application encountered an error and the server terminated the process

I host my ASP.NET .NET Core 2.1 project in Azure Web App service. I recently upgraded to 2.1 (From 2.0) and I started getting these errors: The specified CGI application encountered an error and the server terminated the process. The application…
7
votes
1 answer

Can't cancel task in Asp.net core Action

I am trying to cancel Task running in Asp.net Core Action. For that I am using this github sample. I can cancel task if running service in console, but if I run under IIS (or IIS Express) task is not canceling. I saw similar issue in other question.…
6
votes
1 answer

How to create a responding TCP listener with the System.IO.Pipelines package?

I want to create a TCP Listener using Kestrel and the System.IO.Pipelines package. The messages I receive will always be HL7 messages. An example message could…
user13755987
6
votes
1 answer

Can kestrel server in ASP.NET core be configured with idle timeout at startup

I'm using a HostedService inside an ASP.NET core web api that will be deployed in an IIS instance on premise (.NET Core 2.2). I need to ensure that the idle timeout is set to zero to ensure the background service will run continuously and I believe…
Geekn
  • 2,650
  • 5
  • 40
  • 80
6
votes
1 answer

How to use domain url with kestrel in Asp.Net core app?

I have a project with asp.net core 2.2 in windows os. I deploy the project and run with kesterl with this command: dotnet myapp.dll that's run in http://localhost:5000. I need to run the website in mydomain.com. I set mydomain.com in hosts for…
AminRostami
  • 2,585
  • 3
  • 29
  • 45
6
votes
2 answers

Issue with .ConfigureKestrel() method in .net Core

I'm trying to create a very simple API with .net Core, and am exploring Kestrel. I am following the directions on this MS tutorial: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-2.2 However, when I try…
Arco3
  • 333
  • 2
  • 4
  • 12
6
votes
2 answers

How to configure asp.net kestrel for low latency?

I am trying to implement an asp.net 2.2 application to serve HTTP requests with the lowest possible latency (not throughput, it's not for production but some sort of a competition). The application is supposed to run in a Linux docker container…
Yuriy L
  • 109
  • 1
  • 6
6
votes
2 answers

Change the "/api" part of the url in ASP.Net Core

When I run a .NET Core Web API project, I get a URL that looks like this: http://localhost:5000/api/... How can I change the /api/ part of the URL to something else? i.e. - http://localhost:5000/myservice/... I am using Kestrel as my web host.
David Derman
  • 821
  • 2
  • 9
  • 19
5
votes
0 answers

Running .NET Core Web API with Kestrel under https as Windows service

The idea is, I would like to run a .NET Core Web API with Kestrel enabled and configured to expose https, the service is intended for internal use and a js application should call localhost:someport under https. I am installing the API as a Windows…
Martin Spasovski
  • 101
  • 1
  • 2
  • 6
5
votes
2 answers

ASP.NET Core + Docker not accessible on specified port

It is impossible for me to access container with ASP.NET Core 3.1 application running inside. Goal is to run application in container on port 5000. When I'm running it locally using standard VS profile I navigate to…
Kalik
  • 175
  • 1
  • 11
5
votes
1 answer

Increasing the maximum upload size limit for a Dockerized ASP.NET Core site running on Azure?

Here is the architecture of the application: Web API written in ASP.NET Core. Dockerfile builds the Web application using microsoft/dotnet:2.1-sdk and executes the API using microsoft/dotnet:aspnetcore-rumtime. The app is compiled and placed into…
fdmillion
  • 4,823
  • 7
  • 45
  • 82
1
2
3
24 25