Visual Studio 2013 Use HTTPS (SSL) On Web Application Projects
公司调试HTTPS接口会用到,原文:http://www.codeproject.com/Tips/766918/Visual-Studio-Use-HTTPS-SSL-On-Web-Application-Pro
Introduction
Sometimes (increasingly), we need to develop and deploy a secure web site that uses https protocol.
Within the new version of Visual Studio (2013), we now can easily create, develop and test our web application on https.
How To
To enable the secure https protocol within our web projects, just follow these steps.
Once you have created your project, go in the properties window and search the setting property "SSL Enabled" by default is set to False.
Set the "SSL Enabled" property to True.
Once you change the value, Visual Studio set in automatic the SSL URL, e.g., https://localhost:44301/.
At this point, we can go in the advanced properties of the project (Alt + Enter), select the Web tab and set the Project URL with the same value of SSL URL, e.g., https://localhost:44301/.
Once you have configured the default URL of the web application, we can run the site (F5 or CTRL + F5).
The first time you set the secure protocol on IIS Express, you will be prompted to install the certificate for SSL.
After installation, now you can browse our application using the https protocol!
I hope you enjoy.
Happy coding!
相关文章
- 如果没有Visual Studio 2015,我们如何创建.NET Core项目 ?
- visual studio code配制中文
- Visual Studio for Mac中的ASP.NET Core
- ODAC with Oracle Developer Tools for Visual Studio
- vscode: Visual Studio Code 常用快捷键
- 使用 Visual Studio Code(VSCode)搭建简单的Python+Django开发环境的方法步骤
- 2019CHI paper Evaluating the Combination of Visual Communication Cues for HMD-based Mixed Reality
- Dynamics CRM 为Visual Studio 2015安装CRM Developer Toolkit
- Dynamics CRM2013 在Visual Studio中开启脚本的Xrm.Page智能提示
- Code VBA完整代码块,创建Visual Basic源代码
- PHP Tools for Visual Studio
- Visual Micro v20.03.21.21-SEO狼术
- Visual Studio 10.0设置引用HalconDotNet.dll
- 在visual studio 2022 C++中配置最新版OpenCV和可能错误解决方案
- Unable to find manifest signing certificate in the certificate(Visual studio)
- 安装Visual Studio 2010时提示"The location specified for the help content store is invalid or you do not have access to it".
- 关于Visual C++ 6.0的调试技巧和经验总结
- 在linux系统中安装VSCode(Visual Studio Code)
- Windows下用Visual Studio来build ImageMagick
- Visual Studio 必备神器---转
- window 下的 opencv 配置 + visual studio
- visual studio 2005 编fortran程序,运行后dos窗口显示问题
- Visual C++ 6.0静态、动态链接库
- Visual Leak Detector 2.2.3 Visual C++内存检测工具