相关疑难解决方法(0)

asp.net中强制https用于整个网站的最佳方式?

大约6个月前,我推出了一个网站,每个请求都需要通过https.当我找到确保页面的每个请求都通过https的唯一方法是在页面加载事件中检查它.如果请求不是通过http,我会response.redirect(" https://example.com ")

有没有更好的方法 - 理想情况下web.config中的一些设置?

c# vb.net asp.net https webforms

185
推荐指数
7
解决办法
15万
查看次数

标签 统计

asp.net ×1

c# ×1

https ×1

vb.net ×1

webforms ×1