使用不同的端口与MVC2 RequireHttps过滤器 [英] Use a different port with RequireHttps filter in MVC2

查看:86
本文介绍了使用不同的端口与MVC2 RequireHttps过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能使用 [RequireHttps] 与443以外的其他端口过滤?我找不到关于它的多文档。

Is it possible to use [RequireHttps] filter with a different port other than 443? I can't find much documentation about it.

推荐答案

史蒂夫·桑德森的做法终于为我工作得很好。无需使用MVC2过滤器。

Steve Sanderson's approach finally worked fine for me. No need to use the MVC2 filters.

这篇关于使用不同的端口与MVC2 RequireHttps过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆