Sie sind auf Seite 1von 16

Visual Programming

Using .Net
By
Adnan Amin
Lecturer / Software Programmer
Ministry of education
What is .NET?
 .NET is a platform that provides a
standardized set of services.
 It’s just like Windows, except distributed over
the Internet.
 It exports a common interface so that it’s
programs can be run on any system that
supports .NET.

 A specific software framework


 Includes a common runtime
.Net Framework?
 Programming model for .NET

 Platform for running .NET managed


code in a virtual machine

 Provides a very good environment to


develop networked applications and
Web Services

 Provides programming API and


unified language-independent
development framework.
.NET is multi-language

 .NET supports VB, C# (C-sharp), C++, J# (Java 1.2), Eiffel,


etc.

code.vb code.cs code.cpp ...

Development Tool FCL

app.exe
.NET is cross-platform

 Compiled .NET apps run on any supported


platform:
APP.exe

?
Win64 Win32 WinCE
(XP,2K,98)
Core Components of .Net Framework.

 Microsoft .NET is based on the .NET Framework,


which consists of two major components:

1. The Common Language Runtime (CLR)


2. Framework Class Libraries (FCL)
Core Components of .Net Framework.
.Net Framework
Components

CLR FCL
Comman Language Runtime Framework Class Library

 Garbage collection Provides the core functionality


 Language integration ASP.NET,
Web Services,
 Multiple versioning support
ADO.NET,
(no more DLL hell!)
Windows Forms,
 Integrated security IO, XML, etc.
.NET Framework

Common Language Runtime


 CLR manages code execution at runtime is an
environment that manages the execution of
program.
 Services of CLR
 Integrating Component develop in different program
 Handling Error across languages
 Handling Security
 Managing the storage and destruction of objects

Common Language Runtime

Operating System
.NET Framework
Framework Class Library (FCL)
 Object-oriented collection of reusable types.
 All of the classes and interfaces that are a part of the .Net
language are stored in a library known as the .Net
Framework class library.
 The library is divided into sections or groups knows as
namespaces.
 Some of the namespaces( classes, structure, interfaces)
 System
 System.Drawing

.NET Framework (Base Class Library FCL)

Common Language Runtime

Operating System
.NET Framework
Data Access Layer
 Access relational databases
 Disconnected data model
 Work with XML

ADO .NET and XML

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
.NET Framework
ASP.NET & Windows Forms
 Create application’s front-end –
Web-based user interface,
Windows GUI, Web services, …
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit

ADO .NET and XML

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
.NET Framework
Programming Languages
 Use your favorite language

C++ C# VB.NET Perl J# …


ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit

ADO .NET and XML

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
.NET Framework
Common Language Specification

C++ Common
C# VBLanguage
Perl Specification
J# …
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit

ADO .NET and XML

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
.NET Framework
Visual Studio .NET
C++ C# VB Perl J# …

Common Language Specification

Visual Studio .NET


ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit

ADO .NET and XML

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
Assignment # 1
 Summarize and write the maximum
advantages of using .NET technology in
your own words.
References
 You can download lectures’ notes
 www.geoamins.com
 msdn.microsoft.com/netframework

Das könnte Ihnen auch gefallen