ASP.NET Monsters #88: Inside Compiled Views in the Razor View Engine
Have you ever wondered how scripts are inserted into your layout from a view, or how the debugger knows which line of code you are on when you're using partial views?
In this episode, Monster James dives into the classes that are generated automatically behind the scenes and ultimately compiled at runtime to give your application the capabilities required to generate HTML for your client.
- Read about the RazorPage class that your views inherit from
- See the code discussed in this episode in RazorTemplateEngine
- Check out the Monsters' book - ASP.NET Core Application Development