Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 2. Building ASP.NET Pages
Does importing namespaces cause additional overhead?
Importing namespaces is similar to using include files or accessing references in other programming languages. There's no processing overhead, and unlike other languages, file sizes may not necessarily increase either. Also, the JIT compiler only compiles small portions of code that are in use at a time, so importing namespaces doesn't necessarily mean longer compiling and processing times.
Can ASP.NET pages really be built using any programming language?
Theoretically, yes, although the language must be supported by the CLR and must be able to produce MSIL. Currently, support is limited to C#, VB.NET, JScript.NET, and the managed extensions for C++, but developers can add support for any language to the CLR relatively easily.