Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force HTTPS on asp.net MVC VNext?

Does someone know how to force HTTPS in MVC Vnext?

I have read a couple of articles about forcing HTTPS in MVC, but in the new version VNext, alot of things have changed so they are all kinda deprecated so im pretty lost right now

like image 731
Assassinbeast Avatar asked Sep 28 '26 02:09

Assassinbeast


1 Answers

That part hasn't changed much. You can use the same RequireHttpsAttribute

like image 130
davidfowl Avatar answered Sep 29 '26 21:09

davidfowl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!