Hazara University Dhodial Mansehra: Department of Information Technology Major Assignment Visual Programming
Hazara University Dhodial Mansehra: Department of Information Technology Major Assignment Visual Programming
Hazara University Dhodial Mansehra: Department of Information Technology Major Assignment Visual Programming
.NET is a software framework which is designed and developed by Microsoft. The first
version of .Net framework was 1.0 which came in the year 2002. In easy words, it is a
virtual machine for compiling and executing programs written in different languages
like C#, VB.Net etc.
It is used to develop Form-based applications, Web-based applications, and Web
services. There is a variety of programming languages available on the .Net platform,
VB.Net and C# being the most common ones are . It is used to build applications for
Windows, phone, web etc. It provides a lot of functionalities and also supports industry
standards.
.NET Framework supports more than 60 programming languages in which 11
programming languages are designed and developed by Microsoft. The remaining Non-
Microsoft Languages which are supported by .NET Framework but not designed and
developed by Microsoft.
11 Programming Languages which are designed and developed by Microsoft are:
C#.NET
VB.NET
C++.NET
J#.NET
F#.NET
JSCRIPT.NET
WINDOWS POWERSHELL
IRON RUBY
IRON PYTHON
C OMEGA
ASML(Abstract State Machine Language)
Main Components of .NET Framework
Common Language Runtime(CLR): CLR is the basic and Virtual Machine component of
the .NET Framework. It is the run-time environment in the .NET Framework that runs the
codes and helps in making the development process easier by providing the various
services such as remoting, thread management, type-safety, memory management,
robustness etc.. Basically, it is responsible for managing the execution of .NET programs
regardless of any .NET programming language. It also helps in the management of code,
as code that targets the runtime is known as the Managed Code and code doesn’t
target to runtime is known as Unmanaged code.
Framework Class Library(FCL): It is the collection of reusable, object-oriented class
libraries and methods etc that can be integrated with CLR. Also called the Assemblies. It
is just like the header files in C/C++ and packages in the java. Installing .NET framework
basically is the installation of CLR and FCL into the system. Below is the overview of .NET
Framework
3. Languages
The types of applications that can be built in the .Net framework is classified broadly
into the following categories.
Microsoft always ensures that .Net frameworks are in compliance with all the
supported Windows operating systems.
Is .NET application platform dependent or platform independent?
The combination of Operating System Architecture and CPU Architecture is known as the
platform. Platform dependent means the programming language code will run only on
particular Operating System. A .NET application is platform dependent because of the
.NET framework which is only able to run on the Windows-based operating system.
The .Net application is platform independent also because of Mono framework. Using
Mono framework the .Net application can run on any Operating System including
windows. Mono framework is a third party software developed by Novell
Company which is now a part of Micro Focus Company. It is a paid framework.
.Net Framework Design Principle
Now in this .Net Architecture tutorial, we will learn the design priciples of .Net
framework. The following design principles of the .Net framework is what makes it
very relevant to create .Net based applications.
The garbage collector runs at regular intervals and keeps on checking which
system resources are not utilized, and frees them accordingly.
5. Simplified deployment - The .Net framework also have tools, which can be
used to package applications built on the .Net framework. These packages can
then be distributed to client machines. The packages would then automatically
install the application.
6. (3) Common Language
Specification
7. It contains the specifications for
the .Net supported languages
and implementation of language
integration.
(4) Common Type System
It provides guidelines for declaring,
using, and managing types at runtime,
and cross-language communication.
(8) ADO.NET
It is the technology used for working
with data and databases. It provides
access to data sources like SQL
server, OLE DB, XML etc. The
ADO.NET allows connection to data
sources for retrieving, manipulating,
and updating data.
(9) Windows Workflow Foundation
(WF)
It helps in building workflow-based
applications in Windows. It contains
activities, workflow runtime, workflow
designer, and a rules engine.
(13) LINQ
It imparts data querying capabilities
to .Net languages using a syntax which
is similar to the tradition query
language SQL.
Using the Server Explorer in Microsoft Visual Studio
following tables:
Semester)
Semester)
b). Teacher (TID, Name, Address, Designation, Salary)
Courses (CID, Name, CrHR, Pre_Requisit)
d). Result (RNO, TID, CID, Marks, Remarks)