Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the webserver to a more maintained version #1501

Open
kenkendk opened this issue Nov 26, 2015 · 5 comments
Open

Switch the webserver to a more maintained version #1501

kenkendk opened this issue Nov 26, 2015 · 5 comments

Comments

@kenkendk
Copy link
Member

kenkendk commented Nov 26, 2015

The webserver currently in use seems to cause hangs under heavy load.

The Nancy webserver seems to be a good choice:
http://nancyfx.org

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28630329-switch-the-webserver-to-a-more-maintained-version?utm_campaign=plugin&utm_content=tracker%2F4870652&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F4870652&utm_medium=issues&utm_source=github).
@KiLLeRRaT
Copy link

Hi Kenneth, have you considered node.js at all?

-Albert

On Fri, Nov 27, 2015 at 1:31 AM Kenneth Skovhede notifications@github.com
wrote:

The webserver currently in use seems to cause hangs under heavy load.

The Nancy webserver seems to be a good choice:
http://nancyfx.org


Reply to this email directly or view it on GitHub
#1501.

Regards,
Albert

www.gouws.org | blog.gouws.org | www.flickr.com/albert_gouws

@kenkendk
Copy link
Member Author

No, I have not considered node.js, because the webserver needs to interact with C# code.
But after your comment, I found this:
https://github.com/tjanczuk/edge

Which allows hosting nodejs inside C#.

Not sure how Duplicati would benefit from it though. The webserver only needs to serve static files, and hook up a few REST methods that call into C#.

@mnaiman
Copy link
Contributor

mnaiman commented Dec 10, 2015

I think in .NET 5 there is already web server Kestrel (https://github.com/aspnet/KestrelHttpServer) - you could you classic ASP.NET MVC.
At bottom there is example
https://alexanderzeitler.com/articles/Running-ASP.NET-5-beta4-in-Docker-with-DNX-runtime/
BTW:do you consider to move to .NET5?

@tsuckow
Copy link
Contributor

tsuckow commented Mar 7, 2021

If I'm still working on this project by the time #3124 gets merged, I would probably look at making a PR for kestrel. I'd also like to swap the channel implementation for dotnet5 ones.

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/invalid-uri-crash-after-first-http-request/11895/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants