Interview FAQs

1. This is automatically installed when you install Visual Studio. Net.
2. This is also called machine level configuration file.
3. Only one machine.config file exists on a server.
4. This file is at the highest level in the configuration hierarchy.

1. This is automatically created when you create an ASP.Net web application project.
2. This is also called application level configuration file.
3. This file inherits setting from the machine.config

By default ASP.Net web application has only one web.config. but in sub folder you can create one web.cofing per sub folder to set configuration of that folder.

eg. - if your web application have 3 folder then 4 web.config can be in your web application

All the .Net libraries you call within your code are not compiled into your assembly, and you need these assemblies in the destination machine, in order for it to run you need .Net Framework installed.\r\n

A program compiled in C# or VB is not a program in native code, it is a Pre-compilation in a Intermediate Language (MSIL). When you run this program the .Net Runtime, makes the final compilation to native code for the platform on which it is executed - this is called Just-In-Time compilation.

A typed dataset is very much similar to a normal dataset. But the only difference is that the sehema is already present for the same. Hence any mismatch in the column will generate compile time errors rather than runtime error as in the case of normal dataset. Also accessing the column value is much easier than the normal dataset as the column definition will be available in the schema.
When sending and retrieving a DataSet from an XML Web service, the DiffGram format is implicitly used. Additionally, when loading the contents of a DataSet from XML using the ReadXml method, or when writing the contents of a DataSet in XML using the WriteXml method, you can select that the contents be read or written as a DiffGram. For more information, see Loading a DataSet from XML and Writing a DataSet as XML Data. While the DiffGram format is primarily used by the .NET Framework as a serialization format for the contents of a DataSet, you can also use DiffGrams to modify data in tables in a Microsoft SQL Serverâ„¢ 2000 database.
The answer of this question is always Yes because XML is an important component of ADO.Net architecture. ADO.Net use XML to store and transfer data. We do not have to convert data to XML format. DataSets helps XML to integrate with ADO.Net. XML schema plays a role to get table definition, column, datatypes and constraints in the DataSet.
ADO uses binary serialization while ADO.Net uses text based serialization. Since the text takes more space, it takes longer to write it out.
Displaying 1 of 9Next
1 2 3 4 5 6 7 8 9
Need Help? Contact Us.

Log in


Forgot password?


New User