kestrel Questions

5

Solved

Using ASP.NET Mvc Core I needed to set my development environment to use https, so I added the below to the Main method in Program.cs: var host = new WebHostBuilder() .UseContentRoot(Directory.Ge...
Synapse asked 8/6, 2017 at 13:39

29

I am working on a fabric application where I have configured HTTPS. It is throwing an exception though I have a valid installed certificate.
Dissertation asked 14/11, 2018 at 12:40

6

Solved

From what I understand the correct way of setting listen ports for ASP Dotnet Core 2 preview 1/2 is by creating a Kestrel section in the appsettings.json in the following format: "Kestrel": { "En...
Epley asked 20/7, 2017 at 9:52

3

Solved

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 pro...
Hy asked 6/10, 2020 at 21:55

1

Solved

I have tried the following two functions to configure Kestrel: public static void UseKestralConfigurations(this WebApplicationBuilder builder) { _ = builder.Services.Configure<KestrelServerOpti...
Hermelindahermeneutic asked 25/7, 2023 at 0:27

2

We are experiencing issues with high load on our dotnet-core (3.1) application. Beyond a certain amount of connection (virtual users), we encouter a bottleneck, the server is starved and we get req...
Parkins asked 7/9, 2022 at 15:0

4

In Visual Studio 2017 and 2019 on Windows, I run dotnet watch run in the Package Manager Console. It launched kestrel for a dotnet core app, automatically disabled text edit in the console, and dis...

1

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 https://learn.microsoft.com/en-us/aspnet...
Oscillator asked 10/3, 2020 at 19:11

5

I need to notify systemd that my service has started up successfully, and a task it needs to run after startup requires that the server is already listening on the target Unix domain socket. I am ...
Jaddan asked 20/6, 2017 at 20:46

2

Solved

Optimizely CMS (the artist formerly known as EPiServer) recently released a .Net Core version. I can run my site using Kestrel. But, I want to set a specific url for my site, and I want to use an a...
Isonomy asked 2/3, 2022 at 16:58

1

Nginx is event based and by default runs as 1 process supporting max 512 concurrent connections. Another process would allow another 512 concurrent connections. I'm using nginx as a reverse proxy t...
Binky asked 7/2, 2022 at 17:49

0

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:somepor...
Nebulose asked 31/10, 2021 at 17:24

2

I have a ASP.NET Core service build in .Net 5 which uses Kestrel as edge server. The service needs to listen on multiple domains on HTTP protocol - e.g. http://foo:12912 & http://bar:12912 and ...
Keikokeil asked 15/9, 2021 at 17:52

0

I have an ASP.NET Core application running smoothly on IIS and suddenly it start throwing below error while running EXE. [23:14:04 FTL] Unable to start Kestrel. System.Net.Sockets.SocketException (...
Crysta asked 6/7, 2021 at 14:6

2

Solved

I created a new .NET Core worker project with the template provided by Visual Studio. I want to listen for incoming TCP messages and HTTP requests. I'm following David Fowler's "Multi-protocol...
Achromatic asked 7/9, 2020 at 9:34

1

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.HttpCli...

1

Solved

I have a .NET Core worker project and want to add a library providing several HTTP endpoints. I have to stay with the worker project, I can't change it to a Web API project. What I have done so far...
Swart asked 1/10, 2020 at 15:3

2

Solved

I have a .NET Core worker project with TCP pipelines and want to add one HTTP controller endpoint to it. I basically created a new worker project (for reproduction purposes) in its csproj file I a...
Circumambient asked 1/10, 2020 at 11:54

1

Solved

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 be MSH|^~&|MegaReg|XYZHospC|Supe...
Pleasure asked 18/9, 2020 at 8:0

1

Solved

I'm receiving HL7 messages via TCP connection. Those messages will always be of type ADT. I'm using Kestrel to listen for thise messages and the NHAPI package to deal with them. I took David Fowler...
Ogham asked 17/9, 2020 at 10:7

3

Solved

I write simple Asp.Net Core WebAPI 2.0 application, it works on my local machine. But i want to deploy it to server. So, i do it. My system: Ubuntu 16.04. Asp.Net WebAPI 2.0 (and dotnet version 2...

1

Solved

I have aspnetcore3.1 project, and I want to set custom port for Kestrel (other than default 5000). I can possibly do it in Program.cs by adding Host.CreateDefaultBuilder(args) .ConfigureWebHostDef...

2

Solved

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/my...
Galiot asked 23/2, 2017 at 19:55

1

Solved

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 ...
Ornithomancy asked 16/12, 2019 at 14:16

1

Solved

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 bac...
Subdominant asked 11/9, 2019 at 16:15

© 2022 - 2024 — McMap. All rights reserved.