0% found this document useful (0 votes)
4 views

Chapter 1(Introduction)

Uploaded by

633611sse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Chapter 1(Introduction)

Uploaded by

633611sse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Advanced Applications

Programming Using C#.NET

Chapter 1
Agenda

◼ Course Overview
◼ Introduction to .NET Framework
◼ .NET Core Components
◼ Benefits of the .NET Approach
◼ Visual Studio .NET Features
◼ .NET Open Source & Cross-Platform

2
Why C# ?????
The primary motivation while developing any language is the concern that it able to handle the
increasing complexity of programs that are robust, durable & maintainable.
The history of major languages developed is as follows:

Martin Richards Ken Thompson 1967 BPCL B


1970

1972 C Dennis Ritchie

1983 C++ Bjarne Stroustrup

1987 ANSI C ANSI Committee

1991 Oak James Gostling

1995 Java Sun MicroSystems

1996 ANSI C++ ANSI Committe

2000 C# Microsoft
Cont…
C# is a descendant of C++ which in turn is a
descendant of C as illustrated below:
C
Object
Orentation

C++
Concept Power Concept

Component

Orientation
Java C# VB
Elegance Productivity
The Origins of .NET Technology

◼ The current technology of .NET has gone


through three different phases of development:
1) OLE technology
2) COM technology
3) .NET technology

5
The Origins of .NET Technology (cont…)

◼ OLE (Object Linking & Embedding):


❑ OLE technology developed by Microsoft to enable
easy inter-process communications.
❑ OLE provides support to achieve following:
▪ To embed documents from one application
into another application.
▪ To enable one application to manipulate
objects located in another application.

6
The Origins of .NET Technology (cont…)

◼ COM Technology:
❑ This technology is known as Component Object Model (COM) and the
software built using COM is referred to as componentware.
❑ COM Technology overcomes the problems of maintaining and testing of
software.
❑ A program can be divided into number of independent components
where each one offers a particular service.
❑ Each component can be developed & tested independently and then
integrated into the main system.
◼ Benefits:
❑ Reduces Complexity
❑ Enhances software maintainability
❑ Enables distributed development across multiple organizations

7
The Origins of .NET Technology (cont…)

◼ .NET Technology:
❑ Is third generation component model
❑ The .NET platform has been designed to deliver
productivity, performance, security, and reliability.
❑ Microsoft announced the .NET initiative in July
2000.

8
Benefits of the .NET Approach
◼ The .NET technology provides a number of
benefits to developers & users.
◼ Some of them are:
❑ Simpler & faster systems development
❑ Integration of different languages into one
platform
❑ Easy execution
❑ Fewer bugs
❑ Potentially better performance

9
Architecture

10
.NET Framework
Common Language Runtime
◼ CLR works like a virtual machine in executing all languages
◼ Checking and enforcing security restrictions on the running code
◼ Manages memory through an extremely efficient garbage collector
◼ CLR manages code execution at runtime

Common Language Runtime

Operating System
.NET Framework
Base Class Library
◼ Pre-packaged classes ready for reuse
◼ Used by any .NET language
❑ IO

❑ GUI Programming

❑ System Information

❑ Connecting to Databases (ADO.NET)

❑ etc ,,,

.NET Framework (Base Class Library)

Common Language Runtime

Operating System
.NET Framework
Data Access Layer
❑ Access relational databases
❑ 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
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
Visual Studio .NET

◼ Visual Studio.NET is a tool (also called Integrated


Development Environment) for developing .NET
applications by using programming languages such
as VB, C#, VC++ and VJ#. etc.

17
VS.NET – Single Development Environment

◼ From Visual Studio.NET you can:


❑ Write code
❑ Design user interface
❑ Study documentation
❑ Debug
❑ Test
❑ Deploy
Your platform for building anything

DESKTOP WEB CLOUD MOBILE GAMING IoT AI

.NET

Visual Studio Visual Studio for Mac Visual Studio Code Command Line Your editor
.NET
Open Source & Cross-Platform

20
.NET Today and the Projected Future- 2023-2025:

◼ .NET 8 was released in November 2023.


◼ Versions .NET 9 and 10 are expected to be released in
November of 2024 and 2025 respectively.
◼ NET 8 is currently being widely used in the industry
fields.

21
The timeline of .NET

.NET Framework .NET Core .NET

1,2,3,4.8 1,2,3 5,6,7,8

22
.NET Journey

23
www.dotnetfoundation.org

24

You might also like