Can I run ASP.NET on Nginx without Kestrel?

Asked

Viewed 54 times

1

Is it possible to host my ASP.NET site directly on Nginx, just like PHP would? No need to use Kestrel and Nginx just as one proxy reverse.

  • Did the answer resolve what was in doubt? Do you need something else to be improved? Do you think it is possible to accept it now?

1 answer

1

Good question.

That indicates no, but I’m not sure if you’re going to use Nginx in the traditional way. Only I searched and I couldn’t find anything to confirm that.

What I can tell you for sure is that if you’re going to use Nginx as proxy reverse, the Kestrel or other mechanism similar to it, is mandatory.

Can you do if you create your own implementation of OWIN, but I don’t know if it’s what you want, or if it’s worth it. To tell you the truth I don’t think it’s necessary to do this. Today I think it just doesn’t work, in a traditional way, just because nobody created an OWIN for it.

What I do know is that you’ll soon be able to use the YARP and maybe it’s the best way, they’re creating it because Nginx has shown itself to be limiting. So don’t take Kestrel as a deterrent, embrace it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.