https://github.com/cloudfoundry/hwc/releases
Enable-WindowsOptionalFeature -Online -All -FeatureName IIS-WebServer
Enable-WindowsOptionalFeature -Online -All -FeatureName IIS-WebSockets
Enable-WindowsOptionalFeature -Online -All -FeatureName IIS-HostableWebCore
Enable-WindowsOptionalFeature -Online -All -FeatureName IIS-ASPNET45
hwc.exe
file in the folder where your applications web.config
resides OR optionally you can can pass the path of the application as argument -appRootPath
& { $env:PORT=5000; .\hwc.exe; }
OR (if application is in a different path)
& { $env:PORT=5000; .\hwc.exe -appRootPath "<Path of the application>" }
http://localhost:5000
hwc.exe
to the VS Debugger (Alt+D+P
) and enjoy debugging