Was https ever setup?
Did you add + install a security certificate?
I as a general rule will develop on my desktop - no https enabled.
One BIG reason? To setup and install a security certificate for https, then you need (in most cases) a public facing site, which of course I don't have while working and developing on my developer computer.
So, I tend to not worry, and in the past I can't think of anything that broke, or did not work.
Remember, setting up logons and that security is NOT related to that of setting up the web site to run as http, or https. They are two different goals, and concepts.
so, in 99% of cases? You can freely work and develop without https. In fact, given that Visual Studio defaults and uses IIE express editon? Then you don't have the typical IIS setup and GUI setup stuff. So, you "can" try and attempt to get https working during development, but I just don't bother. And as noted, I can't really think of any code - even JavaScript stuff that required changes.
So, your published site will not by magic just start using https, and you have to setup + configure https in IIS for this to work.
So, it is assumed that you turned on in IIS for the site to use https, you have to in most case add a new binding, and then of course purchase + install a security certificate. Or you can consider using a free certificate, and they can save you say $100 per year on hosting. (often some hosting providers will offer a low cost security certificate as part of their monthly hosting package). If you running your own server say on site, then yes, you need to buy or get a security certificate.
How to setup this up is certainly beyond the scope of this Q & A forum, but for the past while?
Lets Encrypt (run by the Linux foundation) offers a really nice free https certificate - and one that plays nice, and works well with asp.net. You do have to re-new every 3 months - but even that process can be automated. and they even have some step by step for asp.net, and even setup scripts that work rather nice for asp.net, and IIS. And as noted, they are free. Prior to this discovery, I was buying and paying for my security certificates from Go Daddy (and was not using their hosting plans). That was a few years ago, and I was paying $110 per year (Canadian). I not looked as of recent, since as noted I now use free ones .
Anyway, to make a long story short, you should not have to care, or worry during development. And if https is not working after you publish, then this means that IIS not been setup correctly - but you doing that from IIS, and not really from your Visual Studio project, nor do you have to care or worry about https during your development process (at least in 99% of the time).