Top 12 Advanced Dot Net Interview Questions
Q1. Differences Between Dataset.Clone And Dataset.Reproduction?
Clone - Copies the structure of the DataSet, together with all DataTable schemas, members of the family, and constraints. Does now not replica any statistics.
Copy - Copies both the structure and statistics for this DataSet.
Q2. How Many Languages .Internet Is Supporting Now?
When .NET was added it got here with numerous languages.
VB.NET, C#, COBOL and Perl, and so on.
Q3. What Is Garbage Collection?
Garbage collection is a heap-management method where a run-time component takes duty for dealing with the life of the reminiscence utilized by objects. This concept isn't new to .NET - Java and plenty of different languages/runtimes have used rubbish series for some time.
Q4. What Is Serialization?
Serialization is the procedure of changing an object right into a flow of bytes. Deserialization is the alternative process, i.E. Creating an item from a circulation of bytes. Serialization/Deserialization is in the main used to trport objects (e.G. During remoting), or to persist items (e.G. To a record or database).
Q5. What Is Code Access Security (cas)?
Code get entry to safety (CAS) is a part of the .NET protection version that stops unauthorized get admission to of sources and operations, and restricts the code to carry out particular obligations.
Q6. What Is Code Access Security?
Code get right of entry to safety (CAS) is a part of the .NET security mode that determines whether or not or not a bit of code is permitted to run and what sources it can use even as running.
Q7. What Is The Managed And Unmanaged Code In .Net?
The .NET Framework provides a run-time environment referred to as the Common Language Runtime, which manages the execution of code and offers offerings that make the development procedure easier. Compilers and tools divulge the runtime's capability and permit you to write down code that benefits from this managed execution environment. Code which you develop with a language compiler that objectives the runtime is called controlled code; it advantages from features which include move-language integration, cross-language exception coping with, improved security, versioning and deployment guide, a simplified version for issue interaction, and debugging and profiling services.
Q8. What Is An Assembly?
An meeting is the primary constructing block of .NET Framework programs. In .NET, every application is compiled into an meeting, which refers to a portable executable (PE) file. The PE record can be both a dynamic Link library of an executable (.Exe report).That carries the MSIL code of the compiled software. In addition to the MS11, an meeting additionally carries the files and assets vital for the application, meeting metadata, and’ kind metadata. An meeting shops the statistics about itself such as the call, version number of the meeting, and protection facts, which Is referred to as metadata. Ibis also o ceded the assembly metadata. The kind metadata is the facts approximately the kinds (classes, systems, interfaces, and enumerations) required for the meeting.
Q9. How To Manage Pagination In A Page Using .Net?
Using pagination alternative in DataGrid control is available in .NET. We ought to set the range of records for a page, then it takes care of pagination by means of itself mechanically.
Q10. What Is .Internet?
NET is an quintessential a part of many packages going for walks on Windows and presents commonplace capability for the ones programs to run. This download is for individuals who want .NET to run an software on their pc. For builders, the .NET Framework provides a comprehensive and consistent programming model for constructing applications that have visually lovely person reviews and seamless and comfortable conversation.
Q11. What Is Portable Executable (pe)?
The file format used for executable programs and for files to be linked collectively to shape executable programs
Q12. What Is Managed Code?
Managed code is the code that Is done directly by way of the CLR. The applications created by means of the usage of managed code mechanically have CLR services inclusive of type Checking, protection, and automatic garbage collection. These offerings Help offer platform and language independence for controlled code applications. The CLR compiles the supply code to MSIL, now not system code. This MSIL together with the metadata that describes the attributes, instructions and methods of the code is living an meeting.
