Visual Studio for Mac supports Razor editing, including IntelliSense and syntax highlighting in .cshtml files.
Getting Started with Razor in Visual Studio for Mac
There are two options to consider when getting started with Razor in Visual Studio for Mac: Razor Pages in ASP.NET Core and ASP.NET Core MVC. For tutorials and more information on both options, visit one of the guides below:
- Get started with Razor Pages in ASP.NET Core on macOS with Visual Studio for Mac
- Get started with ASP.NET Core MVC and Visual Studio for Mac
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.