An Introduction to .NET

Objective of .NET

  • Allow developers to use a consistent programming methodology
  • Should be able to target multiple hardware platforms
  • Should be able to work with Web uProvide an API to use across different OS versions

What is .NET?

  • Is a framework consisting of: lLanguages lCompiler lClass Libraries lRuntime

Languages

  1. Over 55 languages to choose from
  2. Supports OOB:
  • C++
  • C#
  • VB
  • JS
  • J#

Creates MSIL code

  • So all languages are equal in functionality
  • C++ can create unmanaged code

Compiler

  • 2-Stage Compiler
  • Stage 1: Compiles code to IL
  • Stage 2:   Compiles Just-in-Time

Class Libraries

  • Gives developer an extremely large set of hierarchical classes (namespaces) to work with
  • Governs all aspects of system and application development
  • Provides in built security mechanisms

Runtime

  • Needs to be available on the target platform (Except in the case of Web applications )
  • Runtime consists of the BCL and JIT
  • Is loaded at the time of execution of a .NET application

Important Features

  1. Performance :-   Much faster than equivalent Java application ,   At least as fast as native Windows application
  2. Platform Independent:-   Device:   lDesktop, Laptop, Tablet, PDA, Phone, Web ,   lOS: Windows, BSD, Linux  ,   lBrowser: IE, Firefox, Mozilla, even Lynx!
  1. Wow this is a great resource.. I’m enjoying it.. good article

  2. sign me up