Compiler/Interpreter
-
Hi Friends Here is a simple question in which im confused. when we build our ASP.NET project . Does it get compiled or gets interpreted. I know that many of us think that it is compiled but when i build my project i get the error one by one. this means that it is interpreted. If any one knows what is this please do let me know. Naveen
-
Hi Friends Here is a simple question in which im confused. when we build our ASP.NET project . Does it get compiled or gets interpreted. I know that many of us think that it is compiled but when i build my project i get the error one by one. this means that it is interpreted. If any one knows what is this please do let me know. Naveen
ASP.NET is compiled. This is most obvious if you are using code behind files. If you are embedding C# code into the aspx pages then the first time the page is encountered .NET will compile the C# in to an assembly and this may look as if it is interpreted if you get the errors "one by one" as you navigate through your site - however it is all compiled on the fly and a second visit to the same page will not trigger the compilation process unless the ASP.NET process realises that the aspx page has changed. Alternatively, you could just be seeing normal runtime errors. However, as you say "when i build my project i get the error one by one" that suggests that you are getting compile time errors, but every time you correct one it unhides another. If you need more help then you need to explain how you've built your application and what errors you are getting and exactly where they are occurring.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!