如何建立Https//:网站 [英] how to build Https//: website

查看:96
本文介绍了如何建立Https//:网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过使用Visual Studio 2010在C#中使用asp.net来创建https://anywebsite.com(如果可以的话,那么如何)(建议任何简单方法).

i want to create a https://anywebsite.com by using asp.net with c#, using visual studio 2010, is it possible, if yes then how.(Suggest any simple way).

推荐答案

您可以正常开发自己的网站.

在web.config中,您必须在表单部分中添加它:
You can develop your site normally.

In the web.config you must add this in your forms section:
<authentication mode="Forms">
      <forms name=".APP_ASPXAUTH" loginurl="Login.aspx" defaulturl="Default.aspx" ticketcompatibilitymode="Framework40" protection="All" requiressl="true" />
</authentication>



希望它能回答您的问题.



Hope it answers your question.


这篇关于如何建立Https//:网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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