<h2>Running Windows 10 as a Windows IIS server from your desktop...</h2>
There are scattered resources out there on how to do this, but they don't seem very complete or concise. Below are my own notes on getting my desktop up and running as a server, so that I can both use it as a desktop and test server code via "
http://localhost/" (which will point to C:\inetpub\wwwroot\).
1. Go to Control Panel > Programs and Features > Turn Windows Features On/Off (left panel).
2. Check the box for: Internet Information Services > Web Management Tools > IIS Management Console
3. Enable ASP.NET -
https://hostadvice.com/how-to/how-to-install-the-wisa-windows-iis-sql-asp-net-stack/4. Run "aspnet_regiis.exe -i" in your .NET install folder to enable serving of .aspx files (.NET install in folder c:\Windows\Microsoft.NET\... depending on your config, see
MSDN)
You will then be able to access IIS server management via Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.
Your web page can be viewed by opening a browser and going to
http://localhost/All other things you normally do with a Windows server can be done as well, including installing MS SQL Server, etc for development.
You might also find the
Auto Login and Lock info useful for making sure the desktop stays on and logged in (reboots if shut down and auto-login) no matter what.