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:
- A.
a mix of ASP.NET and HTML code
- B.
all ASP.NET code
- C.
all HTML code
- 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.