In ASP.NET applications, specifically in ASP.NET Web Forms and ASP.NET MVC (pre-Core), the compilation process is dynamic and happens at runtime if source files like .cshtml, .aspx, and .cs files are present on the server.
ASP.NET uses just-in-time (JIT) compilation for views (.cshtml, .aspx, .ascx, etc.) and sometimes for code-behind files (.cs).
When a request hits a page, ASP.NET dynamically compiles these files into temporary assemblies.
If there’s a syntax error, missing semicolon, incorrect type, or any other compilation issue, the process will fail and throw a 500 error.
even if you have like a student learning platform so they don’t have to install anything, surely it would wrap the code that’s submitted so it doesn’t crash the application
In ASP.NET applications, specifically in ASP.NET Web Forms and ASP.NET MVC (pre-Core), the compilation process is dynamic and happens at runtime if source files like .cshtml, .aspx, and .cs files are present on the server.
ASP.NET uses just-in-time (JIT) compilation for views (.cshtml, .aspx, .ascx, etc.) and sometimes for code-behind files (.cs). When a request hits a page, ASP.NET dynamically compiles these files into temporary assemblies.
If there’s a syntax error, missing semicolon, incorrect type, or any other compilation issue, the process will fail and throw a 500 error.
why would you use asp in an introductory course
even if you have like a student learning platform so they don’t have to install anything, surely it would wrap the code that’s submitted so it doesn’t crash the application
my guess is he had all the boilerplate written, and was using a single line or two of “working code” to show what the technology was capable of
but it’s 4chan greentext so it could be fake and gay
Yeah, what he said.