+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

.Net Interview Questions and Answers

Difference between Namespace and Assembly
  • Namespace can span multiple assemblies.
  • Namespace logically groups class.
  • Assembly is physical grouping of logical units.
What are the main components of .NET Framework?

.NET Framework provides enormous advantages to software developers in comparison to the advantages provided by other platforms. Microsoft has united various modern as well as existing technologies of software development in .NET Framework. These technologies are used by developers to develop highly efficient applications for modern as well as future business needs. The following are the key components of .NET Framework:

  • .NET Framework Class Library
  • Common Language Runtime
  • Dynamic Language Runtimes (DLR)
  • Application Domains
  • Runtime Host
  • Common Type System
  • Metadata and Self-Describing Components
  • Cross-Language Interoperability
  • .NET Framework Security
  • Profiling
  • Side-by-Side Execution
What are the Versions of .NET?

The final version of the 1.0 SDK and runtime was released on 15-Jan-2002. At the same time, the final version ofVisual Studio.NET was made available to MSDN subscribers..NET 1.1 was released in April 2003 – it’s mostly bug fixes for 1.0. In 2005, version 2.0 was released and was distributed with Windows Server 2003 R2. Subsequent versions were released from 2006 through 2013. The latest release – version 4.5.1, which was released in October 2013 – uses Visual Studio 2013 and is distributed with Windows 8.1 and Windows Server 2012 R2.

What is the advantage of packaging over xcopy in .NET?

The most trivial technique to publish a website is to simply copy your web application files to the production server and create a virtual directory there through xcopy command. With packaging it creates a self executable MSI which is very easy and convenient to deploy and install. This allows the end users to install a web application with ease. You could also include custom license needs, agreements, registry entries and other custom tasks such as installation folder etc for ease of the end users. The MSI can also be rolled out to many computers at once by the administrator which is a very big advantage.

Mention the execution process for managed code.

A piece of managed code is executed as follows:

  • Choosing a language compiler
  • Compiling the code to MSIL
  • Compiling MSIL to native code
  • Executing the code.
Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.