WhatisWhatis Latest Questions

Singasani Akshay
  • 0
  • 0

Explain MEF. How does it benefit Programmers and app developers? Where can you find MEF? What is its composition? Define Imports and Exports in MEF.

  1. MEF Meaning: MEF or the Managed Extensibility Framework refers to a digital library for the formation of extensible technical applications. Using it, software developers and programmers can utilize the available extensions without any coding or configuration. You can even use MEF across applicationsRead more

    MEF Meaning:

    MEF or the Managed Extensibility Framework refers to a digital library for the formation of extensible technical applications. Using it, software developers and programmers can utilize the available extensions without any coding or configuration. You can even use MEF across applications during their development stage. You can reuse it for multiple times.

    Benefits of MEF:

    • MEF helps in arranging smaller components 
    • An MEF component can be easily categorized as imports (dependencies) or exports (capabilities).
    • MEF helps an app function without any codes or config files.
    • You can analyze all parts using metadata.

    Location of MEF

    MEF is a constituent part of the .NET framework. Everytime you use .NET, you have to use MEF as well. MEF works in sync with .NET client as well as ASP.NET and in other technology as well. 

    MEF Composition

    MEF composition basically includes a composition container having all available parts assembled together. It is responsible for performing various computing operations. A part represents any object through which any value can be exported or imported.   

    Imports and Exports of MEF:

    Imports and exports are just a behavioral pattern of how MEF parts operate within the .NET framework. When the component delineates the necessity of assigning a value to a particular object, it is called Imports. While export determines whether the same is available or not. Each import has to be matched with their corresponding export in the MEF.

    See less
Singasani Akshay
  • 0
  • 0

What is Method Overloading meaning? How does it work? Explain the types and features of Method Overloading? What are its benefits?

  1. Method Overloading Meaning: Method Overloading, a benefit permitting a class to have more than one method having the same name with different parameters, is similar to Constructor Overloading in Java if their argument lists are different. It allows a class to have more than one constructor having diRead more

    Method Overloading Meaning:

    Method Overloading, a benefit permitting a class to have more than one method having the same name with different parameters, is similar to Constructor Overloading in Java if their argument lists are different.

    It allows a class to have more than one constructor having different argument lists which means the parameters that a method has.

    Thus it denotes if a class has many or several methods having the same name but different in parameters, it is Method Overloading.

    Functions of Method Overloading:

    It has several functions primary among them being:

    Being similar to Constructor Overloading in Java, it allows a class to have more than one constructor having different argument lists (also known as parameter lists).

    Its functionality can be utilized by declaring the same method with varied parameters which must be different in number, sequence or types of parameters (or arguments).  

    One of the functions of it relates to Static Binding which happens at compile time. Under Method overloading, binding of method calls to its definition happens at Compile time.

    Types of Method Overloading:

    Following are the main types of Method Overloading:

    • Function overloading.
    • Operator overloading.

    Note:

    In the light of the above types, it is necessary to mention that there are two possible ways to overload which are:

    • Changing Number of arguments.
    • Changing the data types.

    Features of Method Overloading:

    Following are the main features of Method Overloading:

    It is a static polymorphism system (methods are binded during the compilation process).

    Overloading relates to runtime (binding) and the binding of methods is done at compile-time. As a result, multiple processes are not required during run time.

    The numbers of arguments are part of the actual method overloading.

    Benefits of Method Overloading:

    This has several benefits primary among them being:

    • It is time-saving as it reduces execution time because the binding is done during compilation time.
    • An overloading mechanism achieves flexibility.
    • Code reusability is achieved; hence it saves memory.
    • Code complexity is reduced. Hence provides consistency of code. 

    Conclusion:

    Method Overloading has revolutionized the working methods as it eliminates multiple methods with the same name. This has tremendous overloading functionality benefits in code readability and reusability of the program. 

    See less
Singasani Akshay
  • 0
  • 0

What is MIME? How Does It Work? How can you attach heavy files using MIME (Multipurpose Internet Mail Extensions)?

  1. MIME Definition: MIME is the acronym or short form of Multipurpose Internet Mail Extensions. It is basically a content type on the internet in which the data contained in an internet message can be clearly classified as it would in an email or in an HTTP message.  We can also say, to simplify the meRead more

    MIME Definition:

    MIME is the acronym or short form of Multipurpose Internet Mail Extensions. It is basically a content type on the internet in which the data contained in an internet message can be clearly classified as it would in an email or in an HTTP message. 

    We can also say, to simplify the meaning, MIME is an Internet Standard. It extends the format of email message messages to support text in character sets other than the American Standard Code for Information Interchange or ASCII. MIME also facilitates attachments of audio, video, images, and application programs. 

    How Does It Work?

    It should be mentioned here that the MIME is an extension of the original Simple Mail Transport Protocol or SMTP in technical terminology that facilitates or allows the users to exchange various types of data files. Such files may be audio, video, visuals, and application programs.

    The messages or matters with MIME formatting can be sent with a number of systems including SMTP, POP (Post Office Protocol), and IMAP (Internet Message Access Protocol). MIME is a useful system with high technological sophistication.

    Being a versatile system or method, MIME permits your mail Web browser to send and receive written text, audio, video, and graphics files via Internet mail. Attachments under the MIME are faster and versatile.

    How can you attach heavy files using MIME?

    The large files or heavy email attachments, under MIME, can be compressed for better transmission with WinZip or StuffIt. The photographs can be sent in the JPEG format which requires less space and uploading is also faster.

    MIME protocol has several useful features which, among others, include multiple attachments in a single email, supports multiple languages (i.e. Indian languages, German, English, French, and Spanish, etc..), supports multiple attachments in a single email, and the non-ASCII characters.

    In Conclusion:

    One of the biggest benefits of MIME is that it provides the facility of connecting HTML and CSS to email, due to which people can design email as per their requirement and make it attractive and beautiful.

    See less
Singasani Akshay
  • 0
  • 0

What is MSIL or What does MSIL (Microsoft Intermediate Language) mean? What are its features?

  1. MSIL Definition: Microsoft Intermediate Language (MSIL), also known as Common Intermediate Language (CIL), is basically a rule-book or guide or a set of instructions that are platform independent. The MSIL or CIL are created by the language-specific compiler from the source code.  Basically, it is aRead more

    MSIL Definition:

    Microsoft Intermediate Language (MSIL), also known as Common Intermediate Language (CIL), is basically a rule-book or guide or a set of instructions that are platform independent. The MSIL or CIL are created by the language-specific compiler from the source code. 

    Basically, it is a platform which is independent. As a result (being independent), the MSIL or CIL can be executed or put into active mode on any of the Common Language Infrastructure supported environments such as Windows

    It is converted/changed into a particular computer environment specific machine code by the JIT (Just in Time) Compiler which must be done before the MSIL can be executed or put into active mode. 

    The MSIL can be converted into the machine code on a specific requirement basis. To exemplify this point, the JIT (Just in Time) compiler compiles the MSIL as required rather than the whole of it. 

    When we talk of or explain the CLR, it must be mentioned that the execution process includes the creation of the MSIL and the conversion of the MSIL into machine code by the JIT compiler. 

    Features of MSIL:

    • It has several features. The important features are: 
    • There are opcodes that are one or two bytes long
    • The CLR, along with the MSIL, metadata containing     information like definition and signature of the types in the code, runtime information, is also produced in the compilation.
    • CLI assembly is created by assembling the MSIL.
    • MSIL includes instructions for loading, storing, initializing, and calling methods on objects.
    • MSIL issues instructions for arithmetic and logical operations, control flow, direct memory access, exception handling, and other operations. 

    Conclusion:

    The MSIL and CIL have revolutionized Internet functioning. It has made many difficult computer tasks and is growingly becoming popular across the world. It is particularly useful as the system happens to be machine agnostic and can be turned into native code quickly.

    As a result, it simplifies computer operations.

    See less
Singasani Akshay
  • 0
  • 0

What is MVC? Explain the history of MVC and What is the utility of MVC (Model View Controller)?

  1. MVC Definition: MVC is the acronym for Model–View–Controller. It is basically a software design pattern which is mostly applied and used to develop the user interfaces dividing the related program logic into interconnected elements. MVC is applied to separate internal representations of informationRead more

    MVC Definition:

    MVC is the acronym for Model–View–Controller. It is basically a software design pattern which is mostly applied and used to develop the user interfaces dividing the related program logic into interconnected elements.

    MVC is applied to separate internal representations of information from the ways information is presented to and accepted from the user.

    This software design pattern is traditionally used for desktop Graphical User Interface or the GUIs. The GUIs turned useful and therefore, popular for designing different web application purposes. This is the primary reason why the MVC became popular programming languages.

    History of MVC

    MVC is now about 50 years old.

    In the 1970s, Trygve Reenskaug introduced MVC into Smalltalk-79 while visiting the Xerox Palo Alto Research Center.

    In the 1980s, the modern format of MVC was put into implementation by Jim Althoff and others who used it for the Smalltalk-80 class library.

    1996, the use of the MVC pattern in web applications grew after the introduction of NeXT’s WebObjects. The use of MVC gained momentum after 2002 when Spring was introduced. It had a strong bond between Java and MVC.

    In July and December respectively in 2005, the frameworks  Django (July 2005, for Python) was introduced followed by Rails (December 2005, for Ruby).

    With this, the popularity of MVC’s increased globally.

    Utility of MVCs

    MVCs have major utilities.

    MVCs act as the application’s dynamic data structure. This is independent of the user interface.  One of the many utilities of MVC is that it directly manages the data, logic, and rules of the application. 

    It enables multiple viewing of any representation of information such as a bar chart, diagram, map, data-table, or other numerical tables. It also acts as an effective controller accepting input and converting the command to the model or view.

    Conclusion:

    MVCs now have emerged as an ultra-sophisticated management tool to implement various commands in a controlled regime. It receives user input from the controller and the view renders the presentation of the model in a particular format.

    MVC also acts as the “core of the solution” to a problem while allowing it to be adapted for each system.

    See less
Need Help? Chat with us