26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

136<br />

}<br />

}<br />

else {<br />

}<br />

// --><br />

<br />

args.IsValid = true;<br />

(A)What is Tracing in ASP.<strong>NET</strong> ?<br />

Tracing allows us to view in detail how the code was executed.<br />

(A) How do we enable tracing ?<br />

<br />

(I)What exactly happens when ASPX page is requested from<br />

Browser?<br />

Note: - Here the interviewer is expecting complete flow of how an ASPX page is processed<br />

with respect to IIS and ASP.<strong>NET</strong> engine.<br />

Following are the steps which occur when we request a ASPX page :-<br />

√<br />

√<br />

The browser sends the request to the webserver.let’s assume that the webserver<br />

at the other end is IIS.<br />

Once IIS receives the request he looks on which engine can serve this request.<br />

When I mean engine means the DLL who can parse this page or compile and<br />

send a response back to browser. Which request to map to is decided by file<br />

extension of the page requested.<br />

Depending on file extension following are some mapping<br />

√<br />

√<br />

√<br />

.aspx, for ASP.<strong>NET</strong> Web pages,<br />

.asmx, for ASP.<strong>NET</strong> Web services,<br />

.config, for ASP.<strong>NET</strong> configuration files,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!