Upload
adnan-amin
View
224
Download
0
Embed Size (px)
Citation preview
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
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
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.
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
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
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)
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.
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
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)
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
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, …
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
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# …
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
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.
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