“.NET” Interview Questions”
1.What is .NET?
Ans:Many application run in windows that are the intrigel part of .NET.it is a fremwork that provides a comprehensive programming mode.
2.How many languages .NET is supporting now?
Ans:like C# ,VB,cobal perl ruby on rail. Etc.
3. What is an IL?
Ans:This is called Intermediate language that is used for microsoft Intermediate language and Common Intermediate language.
4. What is CAS ?
Ans:Thw full from of CAS is code access security.It is basically used to prevents unauthorized access and some kind of operation.
5.What is NameSpace ?
Ans:NameSpace is logically groupr classes. Multiple assambly can sapn By NameSpace.
6.What is Assembly?
Ans:collection of physical gruop of logic unit is called assambly.
7. What is Microsoft Intermediate Language?
Ans:.Net Framwork provieds intermediate code for all language like C#,VB.Net,Perl etc,It provite that intermediate common code affetr compiling the source code.
8.What is managed extensibility framework?
Ans:it is a new lib for .NET framework 4.0.It helps grater reuse of application.MEF help the other hosting application consume extension without any chaneging inconfiguration of requerment.
9. Which method do you use to enforce garbage collection in .NET?.
Ans:THere isa method is applied that call system.gc.collect.
10.What is the difference between int and int32. and system int32.
Ans:They are same it is a .NET class and system int32 is alias name for system.
11.What are tuples?
Ans:Tuples are sathe collection of fixed size of eliment that have same or diffrent Data type.
12. What is the full form of ADO?
Ans:It is an data object for .NET fremwork. The full nameof AOD is ActiveX Data Object.
13.What are the two fundamental objects in ADO.NET?
Ans:thee fundamental object of ADO are two types they are Datareader and other is Data set.
14. What is the meaning of object pooling?
ANS:It is a technique storing a object on memory for using that object later.By this technique pooling that object can be reused.
15.Mention the namespace that is used to include .NET Data Provider for SQL server in .NET code?
Ans:the code is kind of that System.Data.SqlClient namespace.
16.Which architecture does Datasets follow?
Ans;basically dataset of .NET follow tha disconnected architecture .
17.Name the method that needs to be invoked on the DataAdapter control to fill the generated DataSet with data?
Ans:Fill() method .
18. What are the pre-requisites for connection pooling?
Ans:Some time it need to shere the same connection using the same perameters and it must be identical.
19. Which adapter should you use, if you want to get the data from an Access database?
Ans:We must use OleDbDataAdapter.
20.What are the parameters that control most of connection pooling behaviors?
ANS: There are 4 type of parameters there 1.connect time out, 2.max ,3 min, 4 and the other is pooling.
21,What are different types of authentication techniques that are used in connection strings to connect .NET applications with Microsoft SQL Server?
Ans:There are two different type of technique they are 1.Windows Authentication and 2.structure queary language SQL Server.
22. What is AutoPostBack?
Ans:To controll psotback when it is not in manual mode taht a even raisedthat time we need to set the autopostBack property and have to Make the control true.
23.Which property is used to check whether a DataReader is closed or opened?
Ans:There is a property which is called ISclosed that is used to check whether it is open or Not.
24.What is the function of the ViewState property?
Ans:it ia feachers of .NET 4.0.Basically used for control class.
25.Which properties are used to bind a DataGridView control?
Ans.To bind datagrid Datasource and Datamember’s properties are used.
26.What is ASP?
Ans:ASP is an interpeiter of .NET framework.
27.In which event are the controls fully loaded?
Ans:When The page that are all controls are fully loaded.Whole controle are accessed by int_page(),and you will see that vie sate is not fully loaded on the page during the even happaning.
28.Which is the parent class of the Web server control?
Ans:To all web server control the parent class is ystem.Web.Ul.Control class.
29.How can we identify that the Page is Post Back?
Ans: Is Post Back property is used to check that page is post back or Not.
30. Define a multilingual Web site.
Ans :It is a web site which contain multiplr language and resources such as data and time and in tahst all in different language.