Questions tagged [httpsys]

15 questions
10
votes
1 answer

How to configure dotnet core 3 to serve up React SPA while using Http.sys and a URLPrefix?

After changing the URLPrefix I get the following error: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request. Something thus is required to tell…
Steven T. Cramer
  • 1,508
  • 1
  • 18
  • 34
2
votes
1 answer

Blazor webassembly use API from http.sys with windows authentication results in unauthorized

I am runnning client blazor wasm on https://localhost:5001/ and an API server hosted with http.sys on https://localhost:44302/. I have set windows authentication for http.sys as described in here…
2
votes
0 answers

Headers already sent in .net 5

We have middleware in a web API, which we use to filter the resposne body from a controller After updating our service to .net 5, replacing the output fails with System.InvalidOperationException: Headers already sent. at…
Torben Nielsen
  • 663
  • 1
  • 8
  • 21
2
votes
0 answers

Running Seq from the command line results in a HttpSysException "Access is denied"

When I try to run Seq from a regular command line as a normal user seq run --nologo --listen="http://localhost:5435/" --storage="C:\\temp\\Seq" I get the following exception Running as server; press Ctrl+C to exit. [23:36:16 INF] Seq "5.1.3364"…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
2
votes
2 answers

how to read UrlPrefixes from appsettings in program.cs - asp.net core 3.1

public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseHttpSys(options => { …
user584018
  • 10,186
  • 15
  • 74
  • 160
1
vote
1 answer

Can 'Kerberos' be passed in WWW-Authenticate header?

I want to setup a web server so that it allows Kerberos authentication exclusively (no NTLM). I'm using ASP.NET Core (Blazor) with HTTP.sys. I have managed to successfully setup both server and client so that Kerberos authentication works when I use…
tyrrr
  • 528
  • 2
  • 11
1
vote
0 answers

ASP.NET Core 2.2 - Use HTTP.sys only in Development

I have an application in ASP.NET Core 2.2 which requires Windows Authentication. To have a full development environment, we use HTTP.sys because it allows us to have full NTLM support with the watcher: dotnet watch run The problem occurrs, when we…
Raffaeu
  • 6,694
  • 13
  • 68
  • 110
0
votes
1 answer

Conditional windows auth on AspNetCore2 with HTTP.SYS

I'm using AspNetCore 2 with HTTP.SYS. I'm trying to implement an authentication scheme that 1. Performs custom (stateless) authentication if a request has a given header, or 2. If not, defaults back to windows auth My initial attempt was adding a…
Bogey
  • 4,926
  • 4
  • 32
  • 57
0
votes
1 answer

Which memory profiler should I use for ASP.NET Core REST API

I have a project which is an ASP.NET CORE REST API and the UI is hosted using Http.sys IIS doesn't come anywhere in picture here. There are multiple backend services created as windows service which include many API calls. I am looking for a memory…
0
votes
1 answer

NTLM is not working with Http.sys of ASP.NET Core 2.1 on .NET48 with https and wildcard certificate when accessing from same machine

So the NTLM authentication does not work with Http.sys of ASP.NET Core 2.1 on .NET48 with https when accessed from the browser on the same machine the server is running on. Nevertheless it works when accessed from any other machine. Screenshot of…
bobschi
  • 325
  • 1
  • 3
  • 13
0
votes
1 answer

How to change http.sys web server response when maxconnection limit reached

We are using http sys web server to host web api service. Business requires to limit maximum number of concurrent connections. MaxConnections configuration property used for that purpose: services.Configure(options => { …
Mardok
  • 624
  • 8
  • 18
0
votes
0 answers

How use Cloudflare Authenticated Origin Pulls on .NET Core HTTP.sys

I have to enable Authenticated Origin Pulls on my http.sys .NET Core application but i'm very confused. So far the steps I have performed have been: Install origin-pull-ca.pem on Trusted root netsh http add sslcert hostnameport=xxxxxxxxxxx.com:443…
Sauron
  • 2,156
  • 5
  • 17
  • 20
0
votes
1 answer

Make Http.sys work with Windows Authentication

I try to make Window authentication work with Kestrel by following the…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
0
votes
1 answer

How do I increase number of concurrent requests HttpSys will process?

We have a bunch of services which run with selfhosted http-listener using HttpSys. From what we can see, the HttpSys will only start 28 concurrent requests (at least on our developer workstations with 4 cores). How do we increase that? We tried…
Torben Nielsen
  • 663
  • 1
  • 8
  • 21
0
votes
1 answer

Swagger generated using NSwag not found for ASP.Net Core Service Fabric service when using httpsys with altered listener path

When we used NSwag with default settings for ASP.Net Core Service Fabric service, which had altered HttpSys listener url (added path suffix), the generated swagger.json and UI where not found/accessible. Setting url path for HttpSys…
marek_lani
  • 3,895
  • 4
  • 29
  • 50