"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Friday, July 15, 2011

Some Interview Question

Hi,
Last day had an interview, a top class one i ever had. Here i'm sharing some among them.


1:what are the advantages of asynchronous web page programming

Answer:
A. asynchronous web page programming improves application''s efficiency

B. asynchronous web page programming reduces page rendering time


2: For what file types IIS passes request to aspnet_isapi.dll

Answer:
A.File types for which IIS passes request to aspnet_isapi.dll are
.aspx,.asmx etc

B.File types for which IIS does not passes request to aspnet_isapi.dll are
.jpeg .png ,.html etc


3.how to set the title of the page dynamically from Code behind in ASP.NET C#

Answer:
A.Page.Header.Title = "New Title";
can be used to set the title of the page dynamically from Code behind in ASP.NET C#.

4.What is meant by intelligent load balancing in web farm in ASP.NET

Answer:
By intelligent load balancing in web farm in ASP.NET we mean "always send a request from a given client to same server to which the first request from that client was sent".Note that in web farm a web application request load is shared by more than one server.

5.How to encrypt view state using web.config in ASP.NET

Answer:
To encrypt view state using web.config in ASP.NET use the tag
<pages viewStateEncryptionMode = "Always"/>


There are lot more stuff but i can't recollect all of them :(

Stay Tune...
Have a nice day... 'N happy Coding :)

No comments: