Dot Net Platform Fundamentals
Dot Net Platform Fundamentals
ASP engine executes server side coding and script is interpreted but ASP.NET
is based on dual compilation.
ASP.NET code is easy to debug at compile time and is very easy to deploy.
The portion of the CLR that performs the tasks of loading, running, and
managing .NET applications is called the virtual execution system (VES).
Common Type system (CTS) defines how the primitive data types and
complex data types are declared and used at runtime.
It is object oriented and provides types from which user defined types can derive
functionality. This makes for ease of use and is time saving.Third party components
can be integrated seamlessly with classes in the .NET framework. It enables a range
of common
CLR Features
1. CLR manages memory, thread execution, code execution, compilation code
safety verification and other system services.
2. For security reasons, managed code is assigned varying degrees of trust
based on origin. This prevents or allows the managed component from
performing file access operations, registry access operations or other
sensitive functions even within the same active application.
3. The Runtime enforces code robustness by implementing strict type and
code verification infrastructure called Common type System (CTS). The CTS
ensures that all managed code is self describing and all Microsoft or third
party language compiler generated codes conform to CTS. This enables the
managed code to consume other managed types and enforce strict type
fidelity and type safety.
My First Program:
/*
HelloWorld.cs - First C# Program
By - Roshan
*/
public class HelloWorld
{
public static void Main()
{
//Print Hello World
System.Console.WriteLine("Hello World !");
System.Console.Read();
}
}
Try compiling via Visual Studio and also via VS command prompt
ASSEMBLY
Anatomy of Assembly: