DIFFERENCE BETWEEN SRC AND CODE-BEHIND

Pushpendra Singh

Total Post:240

Points:1200
Posted by  Pushpendra Singh
 1399  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:240

    Points:1200
    Difference between src and Code-Behind

    With the ‘src’ attribute, the source code files are deployed and are compiled by the JIT as needed.

    Though the code is available to everyone with an access to the server (NOT anyone on the web), this method is preferred as it does away with the compilation of the DLLs.

    ‘CodeBehind’ attribute just has the VS.NET associate the code file with the aspx file. This is necessary since VS.NET automates the pre-compiling that is harder by hand.

    Due to this the ‘Src’ attribute is done away with having only a DLL to be deployed enhancing the protection level even though it can be decompiled.

      Modified On Mar-26-2018 05:17:37 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!