The Highest Post
DotNet Top questions

Find by name:


New Post

Recent Post

  • Antonita Seed Q #1) What is .Net framework?

    Ans: It is a platform for building various applications on windows. It has a list of inbuilt functionalities in the form of class, library, and APIs which are used to build, deploy and run web services and different applications. It supports different languages such as C#, VB .Net, Cobol, Perl, etc.

    Samson Koa Q #2) What are the important components of .Net?

    Ans: The components of .Net are Common language run-time, .Net Class library, Application domain, Common Type System, .Net framework, Profiling, etc. However, the two important components are Class library and Common Language Runtime.

    Peter Agyekum Q #3) What is CTS?

    Ans: CTS stands for Common Type System. It has a set of rules which state how a data type should be declared, defined and used in the program. It describes the data types that are to be used in the application.

    Peter Agyekum Q #4) What is CLR?

    Ans: CLR stands for Common Language Runtime. It is one of the most important components of .Net framework. It provides building blocks for many applications.

    Peter Agyekum Q #5) What is CLS?

    Ans: CLS stands for Common Language Specification. With the rules mentioned under CLS, the developers are made to use the components that are inter-language compatible. They are reusable across all the .Net Compliant languages.

    Peter Agyekum Q #6) What is JIT?

    Ans: JIT stands for Just In Time. JIT is a compiler that converts Intermediate Language to a Native code.The code is converted into Native language during execution. Native code is nothing but hardware specifications that can be read by the CPU. The native code can be stored so that it is accessible for subsequent calls.

    Mercy Soya Q #7) What is MSIL?

    Ans: MSIL stands for Microsoft Intermediate Language.

    Mercy Soya Q #8) What is meant by Managed?

    Ans: The code that is managed by the CLR is called Managed code. This code runs inside the CLR. Hence, it is necessary to install the .Net framework in order to execute the managed code. CLR manages the memory through garbage collection and also uses the other features like CAS and CTS for efficient management of the code.

    Mercy Soya Q #9) How is a Managed code executed?

    Ans: Following steps are followed while executing a Managed code:

    Jay Man Q #10) What is ASP.Net?

    Ans: ASP .Net is a part of .Net technology and it comprises of CLR too. It is an open source server-side technology that enables the programmers to build powerful web services, websites and web applications. ASP stands for Active Server Pages.

    Jay Man Q #11) Explain State management in ASP .Net.

    Ans: State Management means maintaining the state of the object. The object here refers to a web page/control.There are two types of State management, Client Side, and Server side.

    Jay Man Q #12) What is an Assembly? What are the different types of Assemblies?

    Ans: An Assembly is a collection of logical units. Logical units refer to the types and resources which are required to build an application and deploy them using the .Net framework. The CLR uses this information for type implementations. Basically, Assembly is a collection of Exe and Dlls. It is portable and executable. There are two types of Assemblies, Private and Shared. Private Assembly, as the name itself suggests, it is accessible only to the application. It is installed in the installation directory of the Application. A Shared assembly can be shared by multiple applications. It is installed in the GAC.

    Jonathan Jebrown Q #13) Explain the different parts of an Assembly.

    Ans: The different parts of an Assembly are: Manifest – It contains the information about the version of an assembly. It is also called as assembly metadata. Type Metadata – Binary information of the program. MSIL – Microsoft Intermediate Language code.Resources – List of related files.

    Jonathan Jebrown Q #14) What is an EXE and a DLL?

    Ans: Exe and DLLs are Assembly executable modules. Exe is an executable file. This runs the application for which it is designed. An Exe is generated when we build an application. Hence the assemblies are loaded directly when we run an Exe. However, an Exe cannot be shared with the other applications. DLL stands for Dynamic Link Library. It is a library that consists of code which needs be hidden. The code is encapsulated inside this library. An Application can consist of many DLLs. These can be shared with the other applications as well. Other applications which need to share this DLL need not worry about the code intricacies as long as it is able to call the function on this DLL.

    Jessy Suvan Q #15) What is Caching?

    Ans: Caching means storing data temporarily in the memory so that the application can access the data from the cache instead of looking for its original location. This increases the performance of the application and its speed. System.Runtime.Caching namespace is used for Caching information in .Net.Given below are the 3 different types of Caching: Page Caching, Data Caching and Fragment Caching

    Jessy Suvan Q #17) What is the difference between Function and Stored procedure?

    Ans: Stored Procedure: A Stored procedure is always used to perform a specific task. It can return zero, one or more value. It can have both Input and Output Parameters. Exception handling can be done using a try-catch block. A function can be called from a Procedure. Functions: Functions must return a single value. It can only have the input parameter. Exception handling cannot be done using a try-catch block. A Stored procedure cannot be called from a function.

    Jessy Suvan Q #18) Explain CAS (Code Access Security).

    Ans: .Net provides a security model that prevents unauthorized access to resources. CAS is a part of that security model. CAS is present in the CLR. It enables the users to set permissions at a granular level for the code. CLR then executes the code depending on the available permissions. CAS can be applied only to the managed code. Unmanaged code runs without CAS. If CAS is used on assemblies, then the assembly is treated as partially trusted. Such assemblies must undergo checks every time when it tries to access a resource.

    Peter Agyekum What are the differences between value types and reference types?

    . Value types are stored on the stack where as reference types are stored on the managed heap.

    Peter Agyekum Explain GAC.

    GAC stands for global assembly cache. It is an area of memory reserved to store the assemblies of all .NET applications that are running on a certain machine. It shares assemblies among multiple .NET applications. The assemblies must have a strong name and must be publicly shared to be installed in the GAC.

    Cara Brown What is a pointer? Give an example.

    A pointer is a variable that stores the address of another variable. Pointers allow passing variables by references using the address

    Cara Brown What is the difference between reference and pointer?

    Pointer stores the address of a variable, but the reference is just a copy of a variable with a different name. References have to be initialized, whereas pointer need not be. To initialize pointer, we use the dereference operator,

    Peter Agyekum What is White box testing?

    Internal programming fully known. Tester knows the internal working of the application.

    Peter Agyekum What is Black Box Testing?

    Internal programming is not known. The knowledge of the internal working of the application is not required

    Peter Agyekum What is Gray Box Testing?

    Internal programming is partially known. The internal working of the application is partially known.

    Peter Agyekum Could you explain services in Angular?

    Singleton objects in Angular that get instantiated only once during the lifetime of an application are called services. An Angular service contains methods that maintain the data throughout the life of an application.

    Peter Agyekum .What are the fundamental principles of OO programming?

    Encapsulation, Polymorphism, Abstraction, and Inheritance

    Peter Agyekum Difference Between Put and Post

    POST is often used to create a new entity, and PUT is often used to update an existing entity

    Peter Agyekum Difference between IEnumerable,IQueryable

    IEnumerable exists in System.Collections Namespace. 2. IEnumerable can move forward only over a collection, it can’t move backward and between the items. 3. IEnumerable is best to query data from in-memory collections like List, Array etc. 4. While query data from database, IEnumerable execute select query on server side, load data in-memory on client side and then filter data. 5. IEnumerable is suitable for LINQ to Object and LINQ to XML queries. 6. IEnumerable supports deferred execution. 7. IEnumerable doesn’t supports custom query. IQueryable exists in System.Linq Namespace. 2. IQueryable can move forward only over a collection, it can’t move backward and between the items. 3, IQueryable is best to query data from out-memory (like remote database, service) collections. 4. While query data from database, IQueryable execute select query on server side with all filters. 5. IQueryable is suitable for LINQ to SQL queries. 6. IQueryable supports deferred execution. 7. IQueryable supports custom query using CreateQuery and Execute methods.

    Peter Agyekum What Is a Web Service?

    A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards. As far as many developers are concerned, web services mostly use SOAP — a messaging protocol where XML data is shared via HTTP requests. Others disagree with this, saying that web services don’t have to use SOAP, but it’s an issue of semantics more than anything else.

    Peter Agyekum What Is The Difference Between Web Services and APIs?

    APIs enable two otherwise distanced entities to talk to each other in a more standardized format. A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.

    Peter Agyekum What is abstract Class?

    An abstract class is a special type of class that cannot be instantiated. An abstract class is designed to be inherited by subclasses that either implement or override its methods. ... You can have functionality in your abstract class—the methods in an abstract class can be both abstract and concrete.

    Peter Agyekum test

    test