lecture_3 (what is .net technology)

16
Visual Programming Using .Net By Adnan Amin Lecturer / Software Programmer Ministry of education

Upload: adnan-amin

Post on 08-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 1/16

Visual ProgrammingUsing .Net

By

Adnan AminLecturer / Software Programmer

Ministry of education

Page 2: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 2/16

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 

 

Page 3: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 3/16

.Net Framework? Programming model for .NET 

Platform for running .NET managedcode in a virtual machine

 

Provides a very good environment todevelop networked applications andWeb Services

 

Provides programming API andunified language-independent

development framework.

Page 4: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 4/16

.NET is multi-language

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

etc.

 FCL 

 app.exe 

 ...

 

 code.cpp

 

 

code.vb 

Development Tool

 code.cs

 

Page 5: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 5/16

.NET is cross-platform

Compiled .NET apps run on any supportedplatform:

 APP.exe 

? Win64 Win32

(XP,2K,98)WinCE

Page 6: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 6/16

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)

 

Page 7: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 7/16

Garbage collection

Language integration

Multiple versioning support(no more DLL hell!)

Integrated security

Core Components of .Net Framework.

.Net FrameworkComponents

CLRComman Language Runtime

FCLFramework Class Library

Provides the core functionality

ASP.NET,Web Services,ADO.NET,Windows Forms,IO, XML, etc.

Page 8: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 8/16

.NET Framework 

Operating System

Common Language Runtime

CLR manages code execution at runtime is anenvironment 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

Page 9: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 9/16

Operating System

Common Language Runtime

.NET Framework (Base Class Library FCL)

Object-oriented collection of reusable types.

All of the classes and interfaces that are a part of the .Netlanguage 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 

Framework Class Library (FCL)

Page 10: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 10/16

.NET Framework Data Access Layer

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

ADO .NET and XML

Access relational databases

Disconnected data model

Work with XML

Page 11: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 11/16

.NET Framework ASP.NET & Windows Forms

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

ADO .NET and XML

ASP .NET

Web Forms   Web Services Mobile Internet Toolkit 

Windows

Forms

Create application’s front-end –

Web-based user interface,Windows GUI, Web services, …

Page 12: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 12/16

.NET Framework Programming Languages

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

ADO .NET and XML

ASP .NET

Web Forms   Web Services Mobile Internet Toolkit 

Windows

Forms

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

Use your favorite language

Page 13: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 13/16

.NET Framework Common Language Specification

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

ADO .NET and XML

ASP .NET

Web Forms   Web Services Mobile Internet Toolkit 

Windows

Forms

Common Language SpecificationC++ C# VB Perl J# …

Page 14: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 14/16

.NET Framework Visual Studio .NET

Operating System

Common Language Runtime

.NET Framework (Base Class Library)

ADO .NET and XML

ASP .NET

Web Forms   Web Services Mobile Internet Toolkit 

Windows

Forms

Common Language Specification

C++ C# VB Perl J# …

V i su

al  S t ud i o .N 

E T  

Page 15: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 15/16

Assignment # 1

Summarize and write the maximum

advantages of using .NET technology inyour own words.

Page 16: Lecture_3 (What is .Net Technology)

8/7/2019 Lecture_3 (What is .Net Technology)

http://slidepdf.com/reader/full/lecture3-what-is-net-technology 16/16

References

You can download lectures’ notes

www.geoamins.com msdn.microsoft.com/netframework