26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(I)How do you upload a file in ASP.<strong>NET</strong> ?<br />

I will leave this to the readers … Just a hint we have to use System.Web.HttpPostedFile<br />

class.<br />

(I)How do I send email message from ASP.<strong>NET</strong> ?<br />

ASP.<strong>NET</strong> provides two namespaces System.WEB.mailmessage classand<br />

System.Web.Mail.Smtpmail class. Just a small homework create a Asp.<strong>NET</strong> project and<br />

send a email at shiv_koirala@yahoo.com . Do not Spam.<br />

(A)What are different IIS isolation levels?<br />

IIS has three level of isolation:-<br />

LOW (IIS process):- In this main IIS process and ASP.<strong>NET</strong> application run in same process.<br />

So if any one crashes the other is also affected. Example let’s say (well this is not possible)<br />

I have hosted yahoo , hotmail .amazon and google on a single PC. So all application and<br />

the IIS process runs on the same process.In case any website crashes it affects every one.<br />

Figure: - 7.3 LOW IIS process scenario<br />

Medium (Pooled):- In Medium pooled scenario the IIS and web application run in different<br />

process. So in this case there are two processes process1 and process2. In process1 the IIS<br />

process is running and in process2 we have all Web application running.<br />

141

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

Saved successfully!

Ooh no, something went wrong!