Skip to main content

Session 2:- C# Framework




Date
Thursday, November 28, 2013
Time
Description
10.00 am to 12.00 pm
Lecture on Framework
Learning:

.Net Framework:-
 Dot net framework is the environment for building, Running, deploying web application and web services.

Common Language Runtime(CLR)
It manages execution of code and core functionality such as
              1) Memory management(Garbage collection)
        2)  Code access security
        3)   Code verification
        4)  Exception handling.

Class library:-
It is an object oriented collection of predefined classes that can be used to create any type of application.

Common type system(CTR)
 CLR has CTS so that two languages should communicate smoothly. It is intended to allow to written in different programming language to easily share information.
    Two Types
1)      Value Types:-
                 Directly contains the data , and instance of it is allocated on stack or in                      line in a structure.
2)      Reference types:-
Stores the values of the memory address and is allocated on heap.

Common language specification(CLS)
 CLS is a document which a language should follow so that it can communicate with other languages in seamless.   

Assembly:-
It is the basic unit of deployment.
e.g .exe, .dll files

    Types of assemblies:-
1)      Private assembly:- It is created by default when you execute your code and it is stored in root directory or sub directory.
2)      Shared Assembly:- It is used by more than one application and is available in global cache.  


 

Comments