User-821857111 posted
can i run c# razor pages from visual studio code?
You can, but you need to install an extension to support IIS Express. If you search the extensions marketplace for "IIS Express", a couple of them come up. One of them is simply called "IIS Express". Once installed, you can run the current folder as a website
by simply hitting Ctrl + F5.