Please enable Javascript for better experience...
Disabling SSL from MVC application in Visual Studio 2019
By Rahul Kumar Jha | Dec 15, 2019 | In Tips | Total Views [ 65580 ]
Taged In
(5 Like)
Rate

Now a day, new templates in latest visual studio IDE versions like 2017 and 2019 web applciations in preset to use SSL and they are coming with https protocol but it can be disabled using basic web settings. In this article we will see the steps to disable SSL from MVC web application in Visual Studio 2019.

The Problem

In this article we will see the steps to disable SSL from MVC web application in Visual Studio 2019, by default in newer version of Visual Studio, web applications are preset with https protocol.

The Solution

To resolve this issue, just follow below steps. We can remove SSL from web properties. If you try to set property "SSL Enabled" to false it will throw below error.

disable from property

not allowed

You can't remove SSL from this site because this Web project is currently configured to browse with this URL. You need to use the Web property page to change the project URL to the non-secure URL first.

error message

For that first open web property and change "https" to "http"

open property

change the settings

It will popup a message and ask to create a virtual directory to configure the application. Click "Yes" to allow.

allow and save setting

Once setting are saved, you can disable the SSL from project property and you are done.

disable from property

Hope it helps you.

Share this

About the Author

Rahul Kumar Jha
Rahul Kumar Jha
Founder, Developer dotnet-concept.com

Public profile: user/profile/99900001


Has working experience in different phases of Software Development Life Cycle (SDLC) in CMS, Gaming, Health Care and Financial Services domain using Agile pattern. Working experience in Design patterns, ASP.NET, MVC, ANGULAR, ANGULAR JS, Windows application, WCF, ADO.NET, SQL Server and Test Driven Development (TDD) environment with JQuery, JavaScript, N-Unit, Entity Frameworks, LINQ, Code Refactoring and Business Objects Models.

User's Comments


 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment
 
 
 
 
 
 
Sponsors