I have a C# library Azure Function (v1 .Net Framework 4.6.1) developed in Visual Studio.
I want to run this locally within Visual Studio on HTTPS. How can I achieve this?
I have set my application arguments as follows:
host start --port 7112 --pause-on-error --useHttps --cors *
Adding --usehttps
results in the application not starting correctly.
When the application starts it asks if I want to install a certificate, I click yes.
Then console window shows this and the application doesnt seem to load correctly - the final message just keeps repeating.
Listening on https://localhost:7112/
Hit CTRL-C to exit...
[10/07/2018 15:52:58] Reading host configuration file 'C:\GTFS\Girlguiding\Gapconsulting.Girlguiding.MSCRM\Gapconsulting.Girlguiding.MSCRM.Companion.Server\bin\Debug\net461\host.json'
[10/07/2018 15:52:58] Host configuration file read:
[10/07/2018 15:52:58] {}
The host is taking longer than expected to start.
(Aside; I am trying to do this because I think it might help with this).