Skip to main content

Posts

Showing posts from August, 2018

IIS secured local debugging

Download and run this:
https://github.com/mwanchap/configs/blob/master/SetupLocalhostCerts.ps1

For each project:

Open Visual StudioIn Solution Explorer, select the web project and press F4 to open properties (not right click -> Properties, that's a different set of properties for some reason)Set "SSL Enabled" = TrueCopy the SSL URLRight click on the project name in Solution Explorer again and open Properties from thereSelect "Web" sectionPaste SSL URL into "Project Url" TODO: script to enable edit-and-continue for local IIS
Credit: PS script derived from a similar one by camieleggermont at https://gist.github.com/camieleggermont/5b2971a96e80a658863106b21c479988 Enabling Edit-and-Continue for Local IIS from https://stackoverflow.com/a/50509545/2939759