When an ASP.NET file is placed on an IIS server and viewed through a browser,…

2017

When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains:

  1. A.

    a mix of ASP.NET and HTML code

  2. B.

    all ASP.NET code

  3. C.

    all HTML code

  4. D.

    as much ASP.NET code as is in the ASP.NET file

Attempted by 488 students.

Show answer & explanation

Correct answer: C

ASP.NET code is executed on the server (IIS) .

The browser receives only the processed output , which is pure HTML .

ASP.NET code is never sent to the client .

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025