Friday, 27 September 2013

Where Does Razor Code Go?

Where Does Razor Code Go?

When I create a Web Forms project, my code behind is compiled into a DLL,
which is processed by an IIS server. When I use Javascript, it's
interpreted by the browser and I can find it using things like the Chrome
Developer Tools or by inspecting the source.
However, when I create an ASP.NET Web Page using Razor syntax, I can't
find the code anywhere. Since it doesn't need to be compiled, it's not put
into a DLL and I can't locate any trace of it using Chrome's inspect
tools.
So, where does Razor code go?

No comments:

Post a Comment