
.NET Rocks! Razor Tooling in Visual Studio 2026 with David Wengier
Sep 18, 2025
David Wengier, a principal software engineer at Microsoft, leads the Razor tooling experience for Visual Studio and VS Code. In this chat, he reveals the exciting co-hosting model with Roslyn that turbocharges Razor performance and reliability. David dives into the shared capabilities between Visual Studio and VS Code, enhancing developer tools through the Language Service Protocol. He also shares upcoming improvements in Visual Studio 2026, including faster Hot Reload and bug-fixing guidance, making for a more seamless coding experience.
AI Snips
Chapters
Transcript
Episode notes
Full Compilation Access Enables Better Type Queries
- Co-hosting gives Razor full access to Roslyn compilations and APIs it previously could only approximate.
- That access allows Razor to answer questions about types, components, and tag helpers more accurately.
Carefully Consider Merging Razor And C# Usings
- Consider consolidating Razor imports with C# global usings where safe, but plan migrations carefully.
- Evaluate breaking risk and runtime ownership before switching import sources for projects.
Feature Parity Depends On Visual Studio LSP Adoption
- Some LSP-powered features like CodeLens may work in VS Code but not yet in Visual Studio due to client differences.
- Visual Studio is gradually adopting LSP but inertia from legacy systems slows feature parity.
