Code-behind model - if you want to separate server-side code from client-side layout code

Q.  Which programming model should you implement if you want to separate your server-side code from your client-side layout code in a Web page?
- Published on 28 Jul 15

a. Single-file model
b. Code-behind model
c. Inline model
d. Client-server model

ANSWER: Code-behind model
 

    Discussion

  • ramesh   -Posted on 24 Sep 15
    Code-behind model to separate your server-side code from your client-side layout code in a Web page. This model provides you the clean separation of your HTML from your programming logic. This model enables you to keep the markup in one file—the .aspx file—and the programming code in another file.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)