1. Explain dotnet framework ? The dot net Framework has two main components CLR and .NET Libraries. CLR (common language runtimes), that actually runs the code manages so many things for example code execution, garbage collection, memory allocation, thread management etc. Apart from CLR, the .NET framework contains .NET libraries, which are collection of namespaces and classes. The classes and namespaces are kept in a systematic way and can be used in making any application, code reuability etc. The root namespace of .NET framework is System, with this namespace many namespaces like web (system.web), data (system.data), windows (system.windows) are generated which can be further have their namespaces.
2. What is the difference between Metadata and Menifest ? Menifest descriubes the assembely itself. Assembely name, version number, culture information. strong name, list of all files, type reference and reference assembely. While the Metadata describes the contents within the assembely. like classes, interfaces, namespaces, base class, scope, properties and their parameters etc.
3. What are public and private assemblies ? differences and scope ? Public assembly are the dll/exe file that can be used in different application. The main advantage of public assemblies is code reusability. These can be used in different machine on different computers. These are also called as shared assemblies. Private assembly is the assembelyinfo.cs or assembelyinfo.vb file within an application. An application must have one private assembely, outside this application there is no scope of privaet assembely.
4. What is an Assembly ? Assemblies are the fundamental buildung block of .NET framework. They contains the type and resources that are useful to make an application. Assembly enables code reuse, version control, security and deployment. An assembely can have four parts : Menifest, Type metadata, MSIL and Resource file
5. What is GAC ? GAC (global assembelu cache) Its an space (directory C:\winnt\assembely) on the server where all the shared assemblies are registrered and that can be used in the application for code reuse.
6. What do you know about Machine.Config file ? Its a base configuration file for all .NET assemblies running on the server. It specifies a settings that are global to a perticular machine.
7. Different types of authentication modes in .NET Framework ? Windows, Forms, Passport and None.
8. What is Strong name ? Strong name ensures the uniqueness of assembely on the server. A strong name incudes information about Assembely version, Public/Private Key token, Culture information and ASsembely name.
9. Where does the GAC exist ? By defauit C:\\assembely e.g c:\winnt\assembely or c:\windows\assembely
10. What are different types that a variable can be defined and their scopes ? Public- Can be accessed anywhere Private- anywhere in the same class Protected -winthin the class and the class that inherites this class Friend- Members of the class within the assembely Protected friend- member of assembely or inheriting class
11. What is DLL HELL ? Previously (when using VB) we can have a situation that we have to put same name dll file in a single directory , but the dlls are of different versions. This is known as dll hell.
12. What is COM, COM+ and DCOM ? COM (Component Object Model) A standard that is used to for communication between OS and the softwares. COM is used to create reusable software components COM+ : COM+ is an extension of Component Object Model (COM). COM+ is both an OOP architecture and a set of operating system services. DCOM an extension of the Component Object Model (COM) that allows COM components to communicate across network boundaries. Traditional COM components can only perform interprocess communication across process boundaries on the same machine. DCOM uses the RPC mechanism to transparently send and receive information between COM components (i.e., clients and servers) on the same network.
13. What is boxing and unboxing ? Implicit (manual) conversion of value type to reference type of a variable is known as BOXING, for example integer to object type conversion. Conversion of Boxed type variable back to value type is called as UnBoxing.
14. what is connected and diconnected database ? Connected and Disconneted database basicallythe approch that how you handle the database connection, It may be connected that once the application starts you have to open the connection only for a single time and then performs many transactions and close the connection just before exit the application. This approch will be generally used in windows based application. On other hand disconnected architecter refere to open and close the connection for each time while performing a transactio.
15. What is garbage collection and how it works ? Garbage Collection is Automatic Memory Manager for the dotnet framework. It manages the momery allocated to the .NET framework. CLR takes cares about .NET framework. When a variable is defined, Its gets a space in the memory and when the program control comes out of that function the scope of variable gets ended, so the garbage collection acts on and memory will releases.
ASP.NET 1. What are the different types of caching ? Output caching, Fragment Caching and Data caching.
2. What do you mean by authentication and authorization ? Authentication is the process of validating a user on the credentials(username and password) and authorization performs after authentication. After Authentication a user will varified for performing the various tasks, It access is limited it is known as authorization.
3. What is Setellite Assemblies ? Setellite assemblies holds the cultural information. Cultural refers the cultural information about the region in the the application is going to use.
4. What are different types of directives in .NET ? Page, Outputcache, Register
5. What is difference between server side and client side ? 6. Difference between Server.Transfer and Response.redirect ? 7. How to use Dataview property ? 8. How to reflect updation of data in dataset to database ? 9. What is is advantage of Dataset over Datareader ? 10. What is advantage of Datareader over dataset ? 11. What are the different types a command can be execute ? (execute reader, executenonquery.. ) 12. What are different types of validations ? 13. What is ViewState ? and how it is managed ? 14. What is web.config file ? 15. what is the difference between usercontrol and costem control ? 16. How you will set the datarelation between two coloumns ? 17. What are advantage of viewstate and what are benifits ? 18. How doyou turn off cookies in one page of your asp.net application ? 19. Dataset is always disconnected ? True 20. What is a Dataset ?
|
| Author: Ravi Makwana 18 Jan 2005 | Member Level: Bronze Points : 0 |
These are the quite common questions spreaded on net. Even in one of the articles of "interview questions and answers" posted by other guy on dotnetspider have given answers to the ones listed in this one with many more. The questions may be important but, without answers are of no use.
Regards,
|
| Author: Ashish Nigam 22 Jan 2005 | Member Level: Bronze Points : 0 |
Article is good but it wud have been better if givn answers too along wiht these questions ..
|
| Author: Royce C Samuel 24 Jan 2005 | Member Level: Bronze Points : 0 |
i am really fscinated to see the document, which you have posted in the site.It helps me to raise myself to the standard, which is required for the market.Please post such documents that are 'particular' and helps people think in a new dimension.
|
| Author: Gyanendra Kumar Nayak 29 Jan 2005 | Member Level: Silver Points : 0 |
Thanks a lot. Its realy amazing to see a lot of questions on a single link.
|
| Author: suryaprabha 01 Feb 2005 | Member Level: Silver Points : 0 |
Hi
This article is good. If will give answers also its very nice.
|
| Author: Rathinayagam V 16 Feb 2005 | Member Level: Bronze Points : 0 |
The article is very informative and would be very useful for the people who have 2 yrs of experience.
|
| Author: Devesh Sharma 16 Feb 2005 | Member Level: Bronze Points : 0 |
Good Set of Questions , I have cleared my interview on .NET through this
|
| Author: V.Venkatesa Prasath 18 Nov 2005 | Member Level: Bronze Points : 0 |
NIce Article, Thanks From PrasathVV , Coimbatore.
|
| Author: E.Senthil Kumar 16 Jan 2006 | Member Level: Gold Points : 0 |
Nice for freshers too.
|