Monday, 15 August 2022

.Net Core Interview Questions And Answers

Q1: 

What is the .NET Core?

  

The .NET Core is the latest version of Microsoft's .NET Framework, which is a free, open-source, general-purpose programming platform. It's a cross-platform framework that works with windows, Mac OS X, and Linux. The .NET core framework may be used to create a variety of apps, including mobile, desktop, online, cloud, IoT, Machine learning, Microservices, games and more. .NET Core is written from scratch to make it a modular, lightweight, fast and cross-platform Framework.

 Q2: 

What is the .NET Framework?

  

The .NET is a Framework, which is a collection of classes of reusable libraries given by Microsoft to be used in other .NET applications and to develop, build and deploy many types of applications on the Windows platform including the following:

  • Console Applications
  • Windows Forms Applications
  • Windows Presentation Foundation (WPF) Applications
  • Web Applications
  • Web Services
  • Windows Services
  • Services-oriented applications using Windows Communications Foundation (WCF)
  • Workflow-enabled applications using Windows Workflow Foundation(WF)
.NET Framework Consists of two major Components:

  1. Common Language Runtime(CLR): handles a code execution of the applications.
  2. Base Class Library(BCL): Provides a library of taster and reusable code that developers can use in their applications.


Q3:  What is .NET Standard?
 

The .NET Standard is a specification of .NET APIs that are available on all .NET implementations.


Q4:  Explain how code gets compiled in C#?  

The .NET is a Framework, which is a collection of classes of reusable libraries given by Microsoft to be used in other .NET applications and to develop, build and deploy many types of applications on the Windows platform including the following:

  • Console Applications
  • Windows Forms Applications
  • Windows Presentation Foundation (WPF) Applications
  • Web Applications
  • Web Services
  • Windows Services
  • Services-oriented applications using Windows Communications Foundation (WCF)
  • Workflow-enabled applications using Windows Workflow Foundation(WF)