DotNet Programming

 

 

Objectives :

* Introduction

* IDE

* Creating and Running GUI Application

* Label   

* Button

* Understanding Properties,Methods and Events

-------------------------------------------------------------------------------------------------------------     

 

What is Progamming Language?

The language is a set of codes & instructions used to write program

 

Program?

- Set of instruction that is executed by computer to perform specific task

Software is also an example of program  All the tasks in computer is completed by the help      of program

 

 

unit   2 , 3 , 4 , 5 , 1

_____________________________________________________

.NET Technology (Network Embedded Technology)

_____________________________________________________

      -> It is a Microsoft's developed software framework[2002] used to create.

      the software and web sites for a single computer, or network or, server.

      It is also used to create a form based, console-based, mobile and web-based application or services that are available in Microsoft environment.

the .NET framework is a pure object oriented, that similar to the Java language.

But it is not a platform independent as the Java. So, its application runs only to the windows platform.

      -> It is a big set of tools and libraries requiered to design,develop,test or

      implement(execute) the program/software written in different languages.

 

      -> The core concept of .Net based application are :

           + Design then Code

           + GUI

           + Event Handling

           + Network Communication

           + Server / Database Connectivity

 

      -> It is called as .NET Framwork

 

      -> It works with many of the programming Language. which are used to

      write code like - Visual Basic , C# (c sharp) , J#,  visual C++ , HTML, Java            script, Asp.net

 

      -> .Net Comes with Visual Studio IDE.

 

 

___________________________________________________

Versions of .NET Framework / Visual Studio IDE

-------------------------------------------------------------------------------

.NET 1.0         |     Visual Studio .NET

           |

.NET 1.1         |     Visual Studio.NET 2003

           |

.NET 2.0         |     Visual Studio.NET 2005

           |

.NET 3.0         |     Expression Blend

           |

.NET 3.5         |     Visual Studio.NET 2008

           |

.NET 4.0         |     Visual Studio.NET 2010

           |

.NET 4.5         |     Visual Studio.NET 2O12

           |    

.NET 4.5.1 |          Visual Studio.NET 2013

           |

  1. On 5 May 2014, a 4.5.2 version of .Net framework was released.
  2. .Net framework 4.6 version was announced on 12 November 2014
  3. .Net framework 4.6.1 version was released on 30 October 2015
  4. .Net framework 4.6.2 version was announced on March 30, 2016
  5. .Net framework 4.7 version was announced on April 5, 2017
  6. .Net framework 4.7.1 version was announced on October 17, 2017
  7. Version 4.7.2 of .Net framework was released on 30 April 2018.
  8. And currently we are using .Net framework version 4.8 that was released on 18 April 2019

 

 

 

Characteristics of .NET Framework

  1. CLR (Common Language Runtime)
  2. Namespace - Predefined class and function
  3. Metadata and Assemblies
  4. Application domains
  5. It helps to configure and deploy the .net application
  6. It provides form and web-based services
  7. NET and ASP.NET AJAX
  8. LINQ
  9. Security and Portability
  10. Interoperability
  11. It provides multiple environments for developing an application

 

 

Dot net archietecture

 

VB.NET

_______________

combination of programming language(visual basic) and GUI Tools (provided by .Net framework)

 

Used to develop softwares and Web applications

 

The application written over the vb.net shares the libraries of .NET framework and they are managed and excuted by .NET framework.

 

VB.NET based on OOP's and Event Driven methodology where we use the Graphical object to design interface and then write code to set their tasks/functions/operations performed over the data

The .NET Framework is not only a language, but it is also a software and language neutral platform.

Components of .NET Framework

There are following components of .NET Framework:

  1. CLR (Common Language Runtime)
  2. CTS (Common Type System)
  3. BCL (Base Class Library)
  4. CLS (Common Language Specification)
  5. FCL (Framework Class Library)
  6. .NET Assemblies
  7. XML Web Services
  8. Window Services

CLR (common language runtime)

It is an important part of a .NET framework that works like a virtual component of the .NET Framework to executes the different languages program like c#, Visual Basic, etc. A CLR also helps to convert a source code into the byte code, and this byte code is known as CIL (Common Intermediate Language) or MSIL (Microsoft Intermediate Language). After converting into a byte code, a CLR uses a JIT compiler at run time that helps to convert a CIL or MSIL code into the machine or native code.

CTS (Common Type System)

It specifies a standard that represent what type of data and value can be defined and managed in computer memory at runtime. A CTS ensures that programming data defined in various languages should beinteract with each other to share information. For example, in C# we define data type as int, while in VB.NET we define integer as a data type.

BCL (Base Class Library)

The base class library has a rich collection of libraries features and functions that help to implement many programming languages in the .NET Framework, such as C #, F #, Visual C ++, and more. Furthermore, BCL divides into two parts:

  1. User defined class library
    • Assemblies - It is the collection of small parts of deployment an application's part. It contains either the DLL (Dynamic Link Library) or exe (Executable) file.
      1. In LL, it uses code reusability, whereas in exe it contains only output file/ or application.
      2. DLL file can't be open, whereas exe file can be open.
      3. DLL file can't be run individually, whereas in exe, it can run individually.
      4. In DLL file, there is no main method, whereas exe file has main method.
  2. Predefined class library
    • Namespace - It is the collection of predefined class and method that present in .Net. In other languages such as, C we used header files, in java we used package similarly we used "using system" in .NET, where using is a keyword and system is a namespace.

CLS (Common language Specification)

It is a subset of common type system (CTS) that defines a set of rules and regulations which should be followed by every language that comes under the .net framework. In other words, a CLS language should be cross-language integration or interoperability. For example, in C# and VB.NET language, the C# language terminate each statement with semicolon, whereas in VB.NET it is not end with semicolon, and when these statements execute in .NET Framework, it provides a common platform to interact and share information with each other.

Microsoft .NET Assemblies

A .NET assembly is the main building block of the .NET Framework. It is a small unit of code that contains a logical compiled code in the Common Language infrastructure (CLI), which is used for deployment, security and versioning. It defines in two parts (process) DLL and library (exe) assemblies. When the .NET program is compiled, it generates a metadata with Microsoft Intermediate Language, which is stored in a file called Assembly.

FCL (Framework Class Library)

It provides the various system functionality in the .NET Framework, that includes classes, interfaces and data types, etc. to create multiple functions and different types of application such as desktop, web, mobile application, etc. In other words, it can be defined as, it provides a base on which various applications, controls and components are built in .NET Framework.

Comments

Popular posts from this blog