natemcmaster / dotnet-serve

Simple command-line HTTPS server for the .NET Core CLI

Home Page:https://nuget.org/packages/dotnet-serve/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is there a way to override arbitrary kestrel options

mungojam opened this issue · comments

I've got a site that relies on very long URL strings, so I'd like to increase the default maxQueryString config option in kestrel. I believe this would usually be done in the web.config, but I guess we don't have a way to override that in dotnet serve. Any ideas or tricks to achieve the same?

I'm using dotnet serve to self-host a react site so that I can look into a production issue with a profile build. It's really handy :)

All supported options are listed in the readme.md file. maxQueryString is not currently one of them.

If you would like to make that a new command line argument, feel free to propose the use case. Pull requests are also highly recommended. This project is basically in maintenance mode. I don't do feature work myself here anymore.

This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.

Closing due to inactivity.
If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.