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
1 answer

dnx does not load correct .Net libraries

I am trying to run a .Net WebApi using dnx and kestrel on my CentOS machine, and I am getting a lot of "The type or namespace 'blah' does not exist in the namespace 'blahblah'" errors, which hints, that dnx is for some reason using some old…
user2082616
  • 195
  • 1
  • 17
0
votes
1 answer

DNX start multiple websites

I have a folder A, which including two websites project. Can I start them only one command? Such as dnx kestrel. For now, I have to switch to each website root directory, and execute command dnx . kestrel separately. Any suggestion…
Jerry Bian
  • 3,998
  • 6
  • 29
  • 54
0
votes
0 answers

vNext: Form method POST not working with Debian/Kestrel

I trying to build up simple ASP.NET vNext application. I have simple client-side html code:
Login:
Password:
-1
votes
1 answer

DotNet Core remove content-length header

I have an DotNet Core API which we are running in Kestrel Server In the response headers it adds the header "Content-Length" which is causing an issue. Is there any way to remove the Content-Length Header for all the responses ? I tried below code…
user804401
  • 1,990
  • 9
  • 38
  • 71
-1
votes
1 answer

Can't get Angular with ASP.Net API project running on Kestrel server using wwwroot as path to Angular project files

INFO - I'm running and debugging my (Angular 10 / ASP.Net 5) site successfully in VS Code connecting to localhost:4200 with >ng serve and >dotnet run, I now want to publish it to Azure, but first I want to test it locally on Kestrel only, by…
chuckd
  • 13,460
  • 29
  • 152
  • 331
-1
votes
1 answer

Why doesn't my asp.net application listen to https://localhost:5001?

I'm developing a web api, but when I run it with dotnet on Ubuntu18.04, it only listens on http://localhost:5000. I'm using nginx as a reverse proxy and to redirect http to https, but I think that the problem is with kestrel.
-1
votes
1 answer

Visual Studio 2017 forces sites to load via https, even though ssl is disabled (Dotnet core 2.2)

For some reason, Visual Studio 2017 (version 15.9.12), refuses to load ASP.Net Dotnet Core 2.2 pages in non-ssl. It automatically appends an s to http as in https://localhost:15777 even though Enable SSL is unchecked and the Launch brower path is…
-1
votes
1 answer

Details needed to clarify info from official asp.net site

I am studying Asp.Net Core. and honestly I am little confused. On official website it says: ASP.NET Core is completely decoupled from the web server environment that hosts the application What does it mean? does it mean asp.net Core apps can be…
user786
  • 3,902
  • 4
  • 40
  • 72
-1
votes
1 answer

MVC 6 - Krestel throwing error while building request.path , any work around to route the call to controller

I receive the following exception: System.ArgumentException at Microsoft.AspNet.Http.PathString..ctor(String value) at Microsoft.AspNet.Http.Internal.DefaultHttpRequest.get_Path() at…
-1
votes
1 answer

nginx cannot connect to kestrel

I'm using DNX 4.5.1 with the RC1 update 1 runtime on an Ubuntu Server. My backend application runs over Kestrel, listening on localhost:5004. My front-end is nginx which redirects the requests to the backend. However for some reason nginx is not…
Astaar
  • 5,858
  • 8
  • 40
  • 57
-2
votes
1 answer

Startup with high traffic

I have just converted my current MVC site to aspnet core. My site is having huge traffic. But i am facing one strange problem in deployment I am using VS 2017 to publish my core 1.1 site. If i copy all the publish content to site folder and start…
-3
votes
1 answer

How to convert escape codes to html or remove

Kestrel in ASP.NET 5 Core MVC application in Debian writes escape codes to /var/log/syslog text file like Apr 5 22:02:21 ew kestrel-store[31907]: #033[40m#033[32minfo#033[39m#033[22m#033[49m: Microsoft.Hosting.Lifetime[0] Apr 5 22:02:21 ew…
Andrus
  • 26,339
  • 60
  • 204
  • 378
1 2 3
54
55