Search This Blog

Showing posts with label Microsoft .NET Framework. Show all posts
Showing posts with label Microsoft .NET Framework. Show all posts

Friday, 11 August 2017

Common Language Runtime

The Common language run-time simplifies application development provides a robust and secure execution environment, support multiple language and simplifies application deployment and management.

Common Language Runtime Components


.Net Framework class Library Support
Thread Support COM Marshaler
Type Checker Exception Manager
Security Engine Debug Engine
MSIL to Native Complier Code manager Garbage Collector
Class Loader
Component Description
Class Loader Manages metadata , in addition to the loading and layout of classe.
MSIL to Native Compiler Convert MSIL to Native code (Just-in-time JIT Compilation)
Code Manager Manages code execution.
Garbage Collector Provides automatic lifetime management of all your object. This is a multiprocessor, scalable garbage collector.
Security engine Provides evidence-based security that is based on the origin of the code and the user.
Debug engine Allow you to debug your application and trace the execution of the code.
Type Checker Will not allow unsafe casts or uninitialized variables. MSIL can be verified to guarantee type safety.
Exception Manager Provides structured exception handling, which is integrated with Microsoft Windows structured exception handling.
Thread Support Provides classes and interfaces that enable multi threaded programming.
COM Marshaler Provides marshaling to and from COM
.Net Framework Class Library Support Integrates code with the runtime that supports the .NET framework class library.

Microsoft .NET Framework

.Net Framework

  • It is environment for developing, building, deploying and executing desktop applications, web applications and web services.
  • Major components of .NET Framework
    • The common language run time (CLR), which is the execution engine that handles running apps.
    • The .NET Framework Class Library, which provides a library of tested, reusable code that developers can call from their own apps.
    • Class libraries provides reusable code for most common tasks, including data access, XML Web service development and web and Windows form

Common Language Run-time CLR

The Common language run-time simplifies application development provides a robust and secure execution environment, support multiple language and simplifies application deployment and management.

  • The .NET Framework provides a run-time environment called the common language runtime.
  • The runtime handles runtimeservices, including language integration, security and memory management.

Related Post: https://azure-blaze.blogspot.com/2017/08/common-language-runtime.html

Common Type System

  • Support cross-language integration
  • Establishes a framework that helps enable cross-language integration, type safety, and high-performance code execution.

  • Provides an object-oriented model that supports the complete implementation of many programming languages.

  • Defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other.

  • Provides a library that contains the primitive data types (such as Boolean, Byte, Char, Int32, and UInt64) used in application development.

What Problem does .NET solve?

  • Even with the internet , most applications and devices have trouble communicating with each other.
  • Developers spend the majority of their time rewriting applications to work on each type of platform and client, rather than spending their time designing new applications.

Creating a NuGet Package Feed to Host Artifacts

Step-by-Step Guide: Creating a NuGet Package Feed to Host Artifacts 🔹 Step 1: Create a C# Class Library and Generate NuG...

Recent Post