Net interview questions by nagaraju pdf




















NET supports multithreading in two ways:. Ravindra Savaram is a Content Lead at Mindmajix. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

Open Menu. Course Categories. AI and Machine Learning. API Management and Testing. Big Data. Business Intelligence and Analytics. Cloud Computing. Data Science. Programming and Frameworks. Software and Automation Testing. Close Menu. Net Interview Questions. Get Trained And Certified. Types of. Net Interview Questions Basic. Net Interview Questions Advanced. Net Interview Questions for Experienced Top.

What is the. NET framework? What are the most important aspects of. What are the basic features of OOP? Name some OOP languages What is caching in.

What is the difference between Stack and Queue? What is inheritance? What is Polymorphism? What are globalization and localization? What is Multithreading? Net Interview Questions 1. What is. What languages does the. NET Framework support? Explain OOP and its relation to the. NET Framework? The basic features of OOP are: Encapsulation: Creation of self-contained modules that bind together the data and the functions that access that data.

Abstraction: Handles complexity and allows the implementation of further complex logic without disclosing it to the user object. Polymorphism: Operation performed depends upon the context at runtime to facilitate easy integration. Inheritance: Creation of classes in a hierarchy to enable a class to inherit behavior from its parent class allowing reuse of code.

Name some OOP languages. What is JIT? What are the different types of JIT Compilers? There are 3 types of JIT Compilers: i. What is BCL?

What is FCL? What is caching in. What are the types of caching in. There are 3 types of caches in. What is a cross-page posting? Discuss the difference between constants and read-only variables.

Explain the difference between value type and reference type. What is the difference between Stack and Heap? What are the differences between systems. StringBuilder and system. Net Interview Questions What is the difference between the While and For loop?

Provide a. NET syntax for both loops. What are a base class and derived class? What is the extension method for a class? What is the inheritance hierarchy? Inheritance hierarchy is a singly rooted tree structure for organizing classes. What are implementation inheritance and interface inheritance? How can a class be prevented from being inherited? What is a constructor in C?

Explain Different Types of Constructors in C? There are 5 types of constructors in C , as given below: Default Constructor- It is without any parameters. Parameterized Constructor- It has one parameter. Copy Constructor- It creates an object by copying variables from another object. Static Constructor- It is created using a static keyword and will be invoked only once for all of the instances of the class. Private Constructor- It is created with a private specifier and does not allow other classes to derive from this class or create an instance of it.

Define Method Overriding. What is Shadowing? What is the difference between shadowing and overriding? What are the types of Polymorphism? There are two types of Polymorphism: i. Static or compile-time polymorphism ii. Dynamic or runtime polymorphism Do we have multiple inheritances in. What is the Diamond of Death?

What is an Interface? What are the events and delegates? These components provide excellent runtime and inbuilt functionalities in form of class libraries.

Other components are metadata and self-description components, dynamic language runtime and more. It supports many language interpretations. NET has effectively solved many problems faced by software developers earlier. These codes are called managed codes that run exclusively on the.

NET environment. When these codes are compiled, then language is no restriction. NET can support about languages without hindrance. NET class defines the kind of data or functionality the object will possess. Classes can customize types according to our wish while grouping the other variables, methods or events. NET is an Object Oriented language. This allows us to access inheritance, abstraction, encapsulation, and polymorphism. These components are useful in creating more complex codes in an organized manner.

It allows us to modify the existing codes too. A manifest in. NET is used to store assembly metadata. These metadata are used for version assemble, the scope of assembling, security and for segregating references to classes.

For executing this, the CLR is used. It is also used for code verification, security for code access, collection of garbage and for JIT compilation.

It is the common runtime environment for most. NET codes. JIT compilation in. The MISL is stored in. NET assembly when the developer writes codes in. NET language. JIT also ensures that every written code fits in the given memory space. JIT is responsible to execute the written code according to the native code of the target device.

Additionally, JIT stores the code in the native language for further use. There are two types of memory in. This provides a faster response with a little less overhead on the server. The clients url history list or current url Server does not update in case of Server.

Which validator control you use if you need to make sure the values in two different controls matched? ViewState is stored in a hidden field on the page at client side. ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. What are the different Session state management options available in ASP.

Out-of-Process Session state management stores data in an external server. All objects stored in session are required to be serializable for Out-of-Process state management. How you can add an event handler? Caching is a technique used to increase performance by keeping frequently accessed data or files in memory.

Which type if caching will be used if we want to cache the portion of a page instead of whole page? Fragment Caching: It caches the portion of the page generated by the request. For that, we can create user controls with the below code:. Is it possible to create web application with both webforms and mvc?

We have to include below mvc assembly references in the web forms application to create hybrid application. It is a feature used to secure connection string information. Write code to send e-mail from an ASP. NET application? What is the good practice to implement validations in aspx page? Client-side validation is the best way to validate data of a web page. State management, as the name suggests, is used to constantly monitor and maintain the state of objects in the runtime.

A web page or a controller is considered to be an object. Object Class An instance of a class The template for creating an object A class becomes an object after instantiation The basic scaffolding of an object Used to access properties from a class The description of methods and properties. It was first brought out in , and it provides users with a lot of extra features when working with the.

One highlight is that it allows the users to manipulate data without any dependency on its source. An assembly is the simple collection of all of the logical units present. Logical units are entities that are required to build an application and later deploy the same using the.

It can be considered as a collection of executables and DLL files. Caching is a term used when the data has to be temporarily stored in the memory so that an application can access it quickly rather than looking for it in a hard drive. This speeds up the execution to an exponential pace and helps massively in terms of performance. Function Stored Procedure Can only return one value Can return any number of values No support for exception handling using try-catch blocks Supports the usage of try-catch blocks for exception handling The argument consists of only one input parameter Both input and output parameters are present A function can be called from a stored procedure The stored procedure cannot be called from a function.

It can easily be done by manipulating the web. Next up in this set of top. NET interview questions for freshers and experienced developers, we can take a look at the questions categorized as intermediate! Boxing is the process that is used when a user wishes to convert a value type into a reference type directly. Unboxing is the opposite of boxing, where the reference type is converted back into a value type. Manifest is mainly used to store the metadata of the assembly.

It contains a variety of metadata which is required for many things as given below:. Memory-mapped files in. NET are used to instantiate the contents of a logical file into the address of the application. This helps a user run processes simultaneously on a single machine and have the data shared between processes.

The MemoryMappedFile. CreateFromFiles function is used to obtain a memory-mapped file object easily. It is vital in the prevention of unauthorized access to programs and resources in the runtime. It can provide limited access to the code to perform only certain operations rather than providing all at a given point in time. CAS forms to be a part of the native. NET security architecture. Garbage collection is a process that is used to maintain various aspects of memory to prevent memory leaks during program execution.

An entity called the garbage collector is used to allocate and de-allocate memory as and when required by an application. This is done by performing checks on the references of variables and objects used by the application.

If an object is no longer required by the application, the memory is de-allocated and freed up. If you want to learn Data Structures in C and master various aspects of the C programming language, make sure to check out C Programming Course from Intellipaat. GAC is a part of CLR, which is used to store the assemblies that are shared across all of the applications. A user can make use of the Gacutil application to add any file into GAC easily. Next on this top dot net interview questions blog, we will be checking a frequently asked question, i.

It is an architectural model that is used to build applications in. It serves as the foundation for the creation of applications.

A delegate works similar to that of a function pointer of other programming languages. It provides a way to encapsulate the reference of a method in an object. A delegate object can be easily passed to a program after this, and then a method, which was referenced earlier, can be called.



0コメント

  • 1000 / 1000