HTTP Url is not redirecting for controller to from HTTP to HTTPS in ASP.NET MVC
I have a controller MapController
in which I have written code that check if url
contains http://nvmbd1bkh150v02.rjil.ril.com/FiberInventorylease/
, then it should redirect to HTTPS – so this url: https://nvmbd1bkh150v02.rjil.ril.com/FiberInventorylease/
HTTP Url is not redirecting for controller to from HTTP to HTTPS in MVC
I have a controller named as MapController
in which I have written that IF url has http://nvmbd1bkh150v02.rjil.ril.com/FiberInventorylease/
in that then it should redirect to HTTPS
which is as https://nvmbd1bkh150v02.rjil.ril.com/FiberInventorylease/