Caddy as a replacement for Kestrel in .NET Core

I don’t know if this would be a plugin, but my question is, could Caddy be used in a .NET environment? Since .NET Core works on Linux, this would be a great opportunity to combine a powerful web server (Caddy) with a powerful framework (.NET).

Kestrel would still be used to execute the .NET Core code but you could certainly use Caddy as a reverse proxy. The best practices around Kestrel already encourage using a reverse proxy for any external traffic (i.e., don’t expose Kestrel directly to the web!). There’s nothing really special about .NET Core/Kestrel in this regard.

1 Like

Awesome, thank you for the insight, Joshua. I’ll have to start experimenting right away, then!