So, it turns out that installing the component for VS 2017 is modular, since you need to install exactly what you need. This is different from 2015 (at least as far as I remember) when all components are included in the installation.
I tend to not read entire pages and just focus on what seems like the โmost completeโ option. In my case, I only chose the Universal Windows Platform development (doesnโt this look like everything you need?). If I bother to look at all the components, I would see ASP.NET and web development.
So, after changing my installation, now I see all the Razor syntax in my views.
source share