English 中文(简体)
链接拒绝对MVC3采取行动
原标题:Connection refused to [RequestHttps] action on MVC3

我正试图确保我网站的一部分内容的安全,希望使用HTTPS,这样包裹就会被加密,但当我这样做时,我会这样做。

Error 102 (net:ERR_CONNECTION_REFUSED): 服务器拒绝了连接和带;翻译

[HttpGet]
[RequireHttps]
public ActionResult Login()
{
    return View();
}

If I remove the RequireHttps and dont do Https in my browser I got no issue reaching it

问题回答

您是否根据国际会计准则正确地设立了皇家警察部队? 如果你正在使用卡西尼,我就认为,现在还无法提供高科技中心。

见http://learn.iis.net/page.aspx/144/how-to-set-up-sl-on-iis/“rel=“nofollow”http://learn.iis.net/page.aspx/144/how-to-set-up-sl-on-iis/。





相关问题
Using jquery to get a partial view and updating the UI

I need to render a partial view (returned from the controller) to show some customer summary details. This will need to happen when the user clicks on a button. In the the mean time the user can ...

MVC 2 / MVC 3 / MVC 4

MVC 2 我们可以轻松地创造领域。 现在,我的问题涉及nes地区(地区内)。

Asp.Net MVC 2 - Changing the PropertyValueRequired string

Using a resx file in the App_GlobalResources directory, I ve been able to change the default message for the PropertyValueInvalid string of the model validators. But it doesn t work to translate the ...

ASP.NET MVC 3 - What features do you want to see? [closed]

I know a bunch of people that are really enjoying the improvements that ASP.NET MVC 2 made over the first release. I have just started to migrate our MVC 1 project over and so far areas has totally ...

热门标签