Docsity

VB.NET Overview: Features, Advantages, and Comparison with Visual Basic, Study notes of Computer science

Toggle sidebar
bg1
VB.NET OVERVIEW
- VB.NET is a simple, multi-paradigm object-oriented programming language designed to
create a wide range of Windows, Web, and mobile applications built on the .NET
Framework.
What is VB.NET?
- The VB.NET stands for Visual Basic. Network Enabled Technologies.
- It is a simple, high-level, object-oriented programming language developed by Microsoft in
2002.
- It is a successor of Visual Basic 6.0 that is implemented on the Microsoft .NET framework.
- It supports the OOPs concept, such as abstraction, encapsulation, inheritance, and
polymorphism.
- It is not a case sensitive language, unlike C++, Java, and C# which are case sensitive language.
- Applications built using the VB.NET language are very reliable and scalable, relying on the
.NET Framework to access all libraries that help to execute a VB.NET program.
- Applications or programs developed in VB.NET can run on the window operating
system, Linux and Mac OS.
VB.NET Features
- It is a high-level programming language with many features to develop a secure and robust
application.
- Below are the features that make VB.NET a popular programming language.
o It is an object-oriented programming language that follows various OOP concepts such as
abstraction, encapsulation, inheritance, and many more. It means that everything in
VB.NET programming will be treated as an object.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download VB.NET Overview: Features, Advantages, and Comparison with Visual Basic and more Study notes Computer science in PDF only on Docsity!

VB.NET OVERVIEW

  • VB.NET is a simple, multi-paradigm object-oriented programming language designed to create a wide range of Windows, Web, and mobile applications built on the .NET Framework. What is VB.NET?
  • The VB.NET stands for Visual Basic. Network Enabled Technologies.
  • It is a simple, high-level, object-oriented programming language developed by Microsoft in
  • It is a successor of Visual Basic 6.0 that is implemented on the Microsoft .NET framework.
  • It supports the OOPs concept, such as abstraction, encapsulation, inheritance, and polymorphism.
  • It is not a case sensitive language, unlike C++, Java, and C# which are case sensitive language.
  • Applications built using the VB.NET language are very reliable and scalable, relying on the .NET Framework to access all libraries that help to execute a VB.NET program.
  • Applications or programs developed in VB.NET can run on the window operating system, Linux and Mac OS. VB.NET Features
  • It is a high-level programming language with many features to develop a secure and robust application.
  • Below are the features that make VB.NET a popular programming language. o It is an object-oriented programming language that follows various OOP concepts such as abstraction, encapsulation, inheritance, and many more. It means that everything in VB.NET programming will be treated as an object.

o This language is used to design user interfaces for window, mobile, and web-based applications. o It supports a rapid application development tool kit. In which a developer does not need to write all the codes as it can get various code automatically from its libraries. For example, when we create a form in Visual basic.net, it automatically calls events of various form in that class. o It is not a case sensitive language like other languages such as C++, java, etc. o It supports Boolean condition for decision making in programming. o It supports the multithreading concept, in which one can do multiple tasks at the same time. o It provides simple events management in .NET application. o It uses an external object as a reference that can be used in a VB.NET application. o Automatic initialized a garbage collection. o It follows a structured and extensible programming language for error detection and recovery. o Conditional compilation and easy to use generic classes. o It is useful to develop web, window, and mobile applications. Advantages of VB.NET  The VB.NET executes a program in such a way that runs under CLR (Common Language Runtime), creating a robust, stable, and secure application.  It is a pure object-oriented programming language based on objects and classes.  Using the Visual Studio IDE, one can develop a small program that works faster, with a large desktop and web application.  The .NET Framework is a software framework that has a large collection of libraries, which helps in developing more robust applications.  It uses drop and drag elements to create web forms in .NET applications.  Visual Basic .NET allows to connect one application to another application created in the same language to run on the .NET framework.  A VB.NET can automatically structure source code.  The Visual Basic .NET language cab be used to transfer data between different layers of the .NET architecture such that data is passed as simple text strings.

Introduction to .NET Framework

  • The .NET Framework is a software development platform that was introduced by Microsoft in the late 1990 under the NGWS. What is .NET Framework
  • It is a virtual machine that provide a common platform to run an application that built using the different language such as C#, VB.NET, Visual Basic, etc.
  • 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 main objective of this framework is to develop an application that can run on the windows platform. Note: 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)
  1. BCL (Base Class Library)
  2. CLS (Common Language Specification)
  3. FCL (Framework Class Library)
  4. .NET Assemblies
  5. XML Web Services
  6. 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 execute the different languages program like c#, Visual Basic, etc.
  • 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 interact 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.

Key Components of FCL  Object type  Implementation of data structure  Base data types  Garbage collection  Security and database connectivity  Creating common platform for window and web-based application Characteristics of .NET Framework  CLR (Common Language Runtime)  Namespace - Predefined class and function  Metadata and Assemblies  Application domains  It helps to configure and deploy the .net application  It provides form and web-based services  NET and ASP.NET AJAX  LINQ  Security and Portability  Interoperability  It provides multiple environments for developing an application

Difference between VB.NET and Visual Basic

  • VB.NET is also known as Visual Basic.NET. It stands for Visual Basic .Network Enabled Technologies.
  • It is a simple, high-level, object-oriented programming language developed by Microsoft in

Feature of VB.NET  Inheritance (object-oriented language)  Delegates and events  Parameterized constructors  Method overloading/overriding  Type-safe  Delegates and events Visual Basic

  • Visual Basic (VB) is a programming language developed by Microsoft in 1992. The purpose of this language is to develop an application that can run on different versions of the Windows operating system. Features of Visual Basic  User Interface design  Rapid Application Development  Using this language, one can use internet or intranet services in an application.  It has powerful database access tools, by which one can easily develop front end applications.  It also supports ActiveX technology, in which one can access the features of other application in system application. For example: Microsoft Word, Microsoft Excel, etc.