Fixing razor intellisense
I recently found myself unable to use the intellisense for razor pages in Visual Studio Community edition. The fix is relatively simple albeit not obvious. Simply go to Tools -> Options -> Environment -> General and uncheck Automatically adjust visual experience base on client performance as well as both Enable rich client visual experience and Use hardware graphics acceleration if available.
The only other workaround is to close the file without intellisense and reopen it.