Asp.Net interview Questions and Answers Part 9

By
1.) How to redirect the user to another web page without performing round trip to the client in asp.net application ?
Server.transfer();

2.) What method is used to bind the data items in asp.net ?                                   
DataBinder.Eval()
Read More...

3.) What is difference between  asp session and asp.net session in .NET ?       
Asp.net session supports cookie less and it is change in SPAN tag on the server side at run time.But in asp not like that.
Read More...

4.) What data type support in Range Validator control in asp.net ?                   
  • Integer
  • Double
  • Currency
  • Date
  • String
5.) How can disable view state in asp.net  ?                                                                    
Set EnableViewState ='false'

6.) What namespace are used for data access in asp.net  ?                                     
  • System.Data
  • System.Data.OledB
  • System.Data.SqlClient
7.) What is difference between server side and client side code in asp.net  ?   
  • Client side code is executed on the Browser side (client end)
  • Server side code is executed on the server (IIS ,Other)
8.) What extension is used in web services ?                                                                    
.ASPX

9.) What are the different type of extension used in asp.net ?                                
  • .aspx   -->web form 
  • .ascx   --> Web user Control
  • Master  --> Master Page
  • .edmx   --> Ado Entity Data Model
  • .ascx    --> Dynamic data Field
  • .html   ---> Html page
  • .mdf    -->  Sql data base
  • .config   --> web configuration
  • .asmx  --> web services
  • .cs     ---> class file
  • .rpt   ---> crystal report
  • .xsd   --> Data set
  • .xml   --> XML File
10.) What is difference between server side and client side scripting in asp.net? 
Server side scripting --> It is executed on the server end .
Client side scripting --> It is executed on client side or browser side(ex.check validation,clock etc.).

11.) What is .NET Remoting ?                                                                                                
DOM Model is used for this functionality but .NET Remoting is replacement of DCOM Model .Web services ,WCF and others are used this functionality.

0 comments:

Post a Comment

Powered by Blogger.