SlideShare a Scribd company logo
1 of 24
Introduction to .NET
Framework
By,
Vaishali Sahare (Katkar)
Development Model
Client
Database Client
Internet Explorer
Outlook Express
Cute FTP
MS Excel
MS Word
Server
Database Server
IIS
MS Exchange
Configured IIS
Charting Comp.
Spell Checker
Development Model
Front EndFront End
Business LogicBusiness Logic
Back EndBack End
Connection Tools
Communication Tools Connection Tools
Single Tier - All component on same machine
Two Tier - Any two component on one machine and other one on Another Machine
Multi / Three Tier - All component on different machine
Platform
Working
• Operating System
– Different Software
• Application
• System
Development
• Editor (IDE)
– Like TC , VB , VC++
• Compilers
• Libraries
• Tools
• Debuggers
• Distribution
Types Of Applications
• Console
– Commands
• Windows
– Word
– Excel
• Component Library
– GramerCheck.dll
– Rundll32.dll
• Embedded
– Mobile Phones
• Distributed Apps.
– Network Based
• Web (app.) Based Programs
– Banking Applications
– E-Commerce Applications
• Gaming Application
– Games
– Navigation System
• Database Application
– ADO, RDO, ODBC
• Real-Time Emb. Apps.
– Flight Controller
– Engine Controller
•What Is support of language
•We need different function for each type
For ex. IO, Forms, Web Form, Threading, Socket, 2D Drawing, Exception, OOP, etc.
.Net Framework What Is It
• NET is a framework consisting of
common language runtime and a set
of .NET base classes which allow us to
build distributed, secure, scalable,
robust, easily deployable and
maintainable applications in a
language independent, object-oriented,
web enabled, managed way using rich
level of integration amongst present
technologies.
Simple Start
CTS
VB VC
C#N.
Base Class
Library
Compilers
.Net Exe (Debug)
•Test executable
•Convert executable in O.S. form
•Run executable
•Manage application memory
•ETC.
Runtime
Environment
Development
Environment
.Net Exe (Release)
.Net
Framework
Language Infrastructure
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
•Type declaration
•Type management
•Object-oriented type model
•Defined rules that languages
must follow to be interoperable
(CLS)
Language Infrastructure
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side
• WinForms
• WinForm Controls
• Rich Client Apps.
• Components
• Windows Services
• WinForms
• WinForm Controls
• Rich Client Apps.
• Components
• Windows Services
• WebForms
• WebForm Controls
• WebServices
• Mobile WebForms
• WebForms
• WebForm Controls
• WebServices
• Mobile WebForms
• Smart Clients
• Real-Time Apps.
• Smart Clients
• Real-Time Apps.
Base Class Library
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side
Base Class LibraryBase Class Library
• GDI+
• Networking
• Threading
• Web
• Protocols
• Messaging
•Serialization
• Security
• Reflection
• Timers
• ADO.NET
• Windowing
Common Language Runtime
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side
Base Class LibraryBase Class Library
Common Language RuntimeCommon Language Runtime
- Just In Time Comp. - Garbage Collection
- Class loading - Secure environment
- Handling Exceptions - Application Domains
- Just In Time Comp. - Garbage Collection
- Class loading - Secure environment
- Handling Exceptions - Application Domains
Platform
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side
Base Class LibraryBase Class Library
Common Language RuntimeCommon Language Runtime
• Transaction support
• Message Queuing
• Object Pooling
• Load Balancing
• Transaction support
• Message Queuing
• Object Pooling
• Load Balancing
WindowsWindows COM+ ServicesCOM+ Services
• GUI
• Multitasking
• Event driven model
• GUI
• Multitasking
• Event driven model
.Net Framework
VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------
Common Type SystemCommon Type System
Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side
Base Class LibraryBase Class Library
Common Language RuntimeCommon Language Runtime
WindowsWindows COM+ ServicesCOM+ Services
.NetFramework.NetFramework
Windows 2000 / NT / XPWindows 2000 / NT / XP
.Net Program Execution
VB.Net CodeVB.Net Code C# CodeC# Code VC++.Net CodeVC++.Net Code
CompilerCompilerCompilerCompiler CompilerCompiler
IL Exe Or IL DllIL Exe Or IL Dll
JIT CompilerJIT Compiler
Class LibraryClass Library
Native CodeNative Code
Get Execute
Under CLR
Get Execute
Under CLR
CPU-independent
instructions
CPU-Dependent
While Execution & After Safety Verification
Overall
CLR o.s.
Unmanaged
App.
Custom
Object
Lib.
Managed
App.
Internet
Information
Server
ASP.Net
Run-Time Managed Web
Application
Class
Lib.
Let’s Start Programming
File | New | Project
What Is Project
Project
ResourcesDB ToolsUser ControlModulesForms
Standalone Image File
Sound File
Help File
Other files
Win
Controls
Win. Forms
Web
Controls
Web Forms
Procedures
Functions
Methods
Class Modules
ADO, RDO,
ODBC, ADO.Net
Crystal Report
Data Report
Connection Tools
Reports Tools
Console Modules
Imports System
Module Module1
Sub Main( )
System.Console.WriteLine ( “First Program" )
End Sub
End Module
Namespace
Required User Defined
Keywords
Class
Method Or
Member Function Parameter
Auto Generated
Can Be Avoided If Imported
Simple Declaring Variables
(Access) (Var.name) (As) [New] (Type) [= InitExpr]
Dim i As Integer = 1
Dim S As String
Dim St As String = “Hello”
Note : New Keyword Is Use While We Are Creating A Object Variable
Eg. Dim B As New Button
More Example:
Dim I, J, K As Integer ' All three are Integer variables.
Dim L, M As Long, X, Y As Single ' L and M are Long, X and Y are Single
Decision Making
If…Else :
If condition Then
[statements]
[ElseIf condition-n Then
[elseifstatements]] ...
[Else
[elsestatements]]
End If
For & For Each …Next
Syntax :
For counter = start To end [Step
step]
[statements]
[Exit For]
[statements]
Next [counter]
Syntax :
For Each element In group
[statements]
[Exit For]
[statements]
Next [element]
Do – While Loop
Do
Do [{While | Until} condition]
[statements]
[Exit Do]
[statements]
Loop
Or, you can use this syntax:
Do
[statements]
[Exit Do]
[statements]
Loop [{While | Until} condition]
While & With
Statement
Syntax :
While condition
[statements]
End While
Syntax :
With object
[statements]
End With
IDE
Form Designer
ToolBox
Solution Explorer
Property Window
Tool Bar
Task Window
Tabbed View
IDE
Code View
Server Explorer
Class View
Dynamic Help
Index Result
Run / Stop Program Compilation Mode
Flow Of GUI Language
Form DesigningForm Designing
Property SettingProperty Setting
Decide EventDecide Event
Writing CodeWriting Code
OutputOutput

More Related Content

What's hot

Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5
Jeff Blankenburg
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
Svetlin Nakov
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
Ashish Verma
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
Arun Prasad
 

What's hot (20)

Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5Migrating To Visual Studio 2008 & .Net Framework 3.5
Migrating To Visual Studio 2008 & .Net Framework 3.5
 
Nakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - EnglishNakov - .NET Framework Overview - English
Nakov - .NET Framework Overview - English
 
Introduction to ,NET Framework
Introduction to ,NET FrameworkIntroduction to ,NET Framework
Introduction to ,NET Framework
 
dot net technology
dot net technologydot net technology
dot net technology
 
What is dotnet (.NET) ?
What is dotnet (.NET) ?What is dotnet (.NET) ?
What is dotnet (.NET) ?
 
Visual Studio.NET
Visual Studio.NETVisual Studio.NET
Visual Studio.NET
 
As Pdotnet
As PdotnetAs Pdotnet
As Pdotnet
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Module 1: Introduction to .NET Framework 3.5 (Slides)
Module 1: Introduction to .NET Framework 3.5 (Slides)Module 1: Introduction to .NET Framework 3.5 (Slides)
Module 1: Introduction to .NET Framework 3.5 (Slides)
 
Architecture of .net framework
Architecture of .net frameworkArchitecture of .net framework
Architecture of .net framework
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .net
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
Working in Visual Studio.Net
Working in Visual Studio.NetWorking in Visual Studio.Net
Working in Visual Studio.Net
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
ASP.NET Basics
ASP.NET Basics ASP.NET Basics
ASP.NET Basics
 
Visual Studio 2010 and .NET Framework 4.0 Overview
Visual Studio 2010 and .NET Framework 4.0 OverviewVisual Studio 2010 and .NET Framework 4.0 Overview
Visual Studio 2010 and .NET Framework 4.0 Overview
 
Dotnet Basics Presentation
Dotnet Basics PresentationDotnet Basics Presentation
Dotnet Basics Presentation
 
6.origins genesis of .net technology
6.origins genesis of .net technology6.origins genesis of .net technology
6.origins genesis of .net technology
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
 

Viewers also liked

Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
Instantenigma
 
Dot Net Framework An Overview
Dot Net Framework   An OverviewDot Net Framework   An Overview
Dot Net Framework An Overview
MicrosoftFeed
 
Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case study
vanamali_vanu
 

Viewers also liked (19)

Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
 
Cloud implementation by vaishali sahare [katkar]
Cloud implementation by vaishali sahare [katkar]Cloud implementation by vaishali sahare [katkar]
Cloud implementation by vaishali sahare [katkar]
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
Database concepts by vaishali sahare[katkar]
Database concepts by vaishali sahare[katkar]Database concepts by vaishali sahare[katkar]
Database concepts by vaishali sahare[katkar]
 
Dotnet Frameworks Version History
Dotnet Frameworks Version HistoryDotnet Frameworks Version History
Dotnet Frameworks Version History
 
Dot Net Overview
Dot Net OverviewDot Net Overview
Dot Net Overview
 
Visual basic
Visual basicVisual basic
Visual basic
 
Namespaces in C#
Namespaces in C#Namespaces in C#
Namespaces in C#
 
Dot Net Framework
Dot Net FrameworkDot Net Framework
Dot Net Framework
 
PayrollQ Features
PayrollQ FeaturesPayrollQ Features
PayrollQ Features
 
Web Based Cctv
Web Based CctvWeb Based Cctv
Web Based Cctv
 
dotNET frameworks
dotNET frameworksdotNET frameworks
dotNET frameworks
 
Dot Net Framework An Overview
Dot Net Framework   An OverviewDot Net Framework   An Overview
Dot Net Framework An Overview
 
Lesson 1 Understanding Dot Net Framework
Lesson 1   Understanding Dot Net FrameworkLesson 1   Understanding Dot Net Framework
Lesson 1 Understanding Dot Net Framework
 
Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case study
 
Learn C# at ASIT
Learn C# at ASITLearn C# at ASIT
Learn C# at ASIT
 
Real-Time API
Real-Time APIReal-Time API
Real-Time API
 
Mastering Real-time Linux
Mastering Real-time LinuxMastering Real-time Linux
Mastering Real-time Linux
 
Bring DevOps to the Cloud with Data as a Service [DaaS]
Bring DevOps to the Cloud with Data as a Service [DaaS]Bring DevOps to the Cloud with Data as a Service [DaaS]
Bring DevOps to the Cloud with Data as a Service [DaaS]
 

Similar to Introduction to dot net framework by vaishali sahare [katkar]

.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
Rajnish Kalla
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement online
Garuda Trainings
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
IQM123
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
IQM123
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
IQM123
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
IQM123
 

Similar to Introduction to dot net framework by vaishali sahare [katkar] (20)

.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu vunvulea  building and testing windows 8 metro style applications using ...Radu vunvulea  building and testing windows 8 metro style applications using ...
Radu vunvulea building and testing windows 8 metro style applications using ...
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement online
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
 
asp
aspasp
asp
 
Windows 8 Hot or Not
Windows 8 Hot or NotWindows 8 Hot or Not
Windows 8 Hot or Not
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
 
.Net overview by cetpa
.Net overview by cetpa.Net overview by cetpa
.Net overview by cetpa
 
Overview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptxOverview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptx
 
Introaspnet
IntroaspnetIntroaspnet
Introaspnet
 
Aspintro
AspintroAspintro
Aspintro
 
Net overview
Net overviewNet overview
Net overview
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
Net overview
Net overviewNet overview
Net overview
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
 
CFInterop
CFInteropCFInterop
CFInterop
 
Net Framework overview
Net Framework overviewNet Framework overview
Net Framework overview
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 

Recently uploaded (20)

A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 

Introduction to dot net framework by vaishali sahare [katkar]

  • 2. Development Model Client Database Client Internet Explorer Outlook Express Cute FTP MS Excel MS Word Server Database Server IIS MS Exchange Configured IIS Charting Comp. Spell Checker
  • 3. Development Model Front EndFront End Business LogicBusiness Logic Back EndBack End Connection Tools Communication Tools Connection Tools Single Tier - All component on same machine Two Tier - Any two component on one machine and other one on Another Machine Multi / Three Tier - All component on different machine
  • 4. Platform Working • Operating System – Different Software • Application • System Development • Editor (IDE) – Like TC , VB , VC++ • Compilers • Libraries • Tools • Debuggers • Distribution
  • 5. Types Of Applications • Console – Commands • Windows – Word – Excel • Component Library – GramerCheck.dll – Rundll32.dll • Embedded – Mobile Phones • Distributed Apps. – Network Based • Web (app.) Based Programs – Banking Applications – E-Commerce Applications • Gaming Application – Games – Navigation System • Database Application – ADO, RDO, ODBC • Real-Time Emb. Apps. – Flight Controller – Engine Controller •What Is support of language •We need different function for each type For ex. IO, Forms, Web Form, Threading, Socket, 2D Drawing, Exception, OOP, etc.
  • 6. .Net Framework What Is It • NET is a framework consisting of common language runtime and a set of .NET base classes which allow us to build distributed, secure, scalable, robust, easily deployable and maintainable applications in a language independent, object-oriented, web enabled, managed way using rich level of integration amongst present technologies.
  • 7. Simple Start CTS VB VC C#N. Base Class Library Compilers .Net Exe (Debug) •Test executable •Convert executable in O.S. form •Run executable •Manage application memory •ETC. Runtime Environment Development Environment .Net Exe (Release) .Net Framework
  • 8. Language Infrastructure VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System •Type declaration •Type management •Object-oriented type model •Defined rules that languages must follow to be interoperable (CLS)
  • 9. Language Infrastructure VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side • WinForms • WinForm Controls • Rich Client Apps. • Components • Windows Services • WinForms • WinForm Controls • Rich Client Apps. • Components • Windows Services • WebForms • WebForm Controls • WebServices • Mobile WebForms • WebForms • WebForm Controls • WebServices • Mobile WebForms • Smart Clients • Real-Time Apps. • Smart Clients • Real-Time Apps.
  • 10. Base Class Library VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side Base Class LibraryBase Class Library • GDI+ • Networking • Threading • Web • Protocols • Messaging •Serialization • Security • Reflection • Timers • ADO.NET • Windowing
  • 11. Common Language Runtime VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side Base Class LibraryBase Class Library Common Language RuntimeCommon Language Runtime - Just In Time Comp. - Garbage Collection - Class loading - Secure environment - Handling Exceptions - Application Domains - Just In Time Comp. - Garbage Collection - Class loading - Secure environment - Handling Exceptions - Application Domains
  • 12. Platform VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side Base Class LibraryBase Class Library Common Language RuntimeCommon Language Runtime • Transaction support • Message Queuing • Object Pooling • Load Balancing • Transaction support • Message Queuing • Object Pooling • Load Balancing WindowsWindows COM+ ServicesCOM+ Services • GUI • Multitasking • Event driven model • GUI • Multitasking • Event driven model
  • 13. .Net Framework VB.NetVB.Net C#C# VC++.NetVC++.Net J#.NetJ#.Net JScriptJScript ------ Common Type SystemCommon Type System Client-SideClient-Side Server-SideServer-Side Mobile-SideMobile-Side Base Class LibraryBase Class Library Common Language RuntimeCommon Language Runtime WindowsWindows COM+ ServicesCOM+ Services .NetFramework.NetFramework Windows 2000 / NT / XPWindows 2000 / NT / XP
  • 14. .Net Program Execution VB.Net CodeVB.Net Code C# CodeC# Code VC++.Net CodeVC++.Net Code CompilerCompilerCompilerCompiler CompilerCompiler IL Exe Or IL DllIL Exe Or IL Dll JIT CompilerJIT Compiler Class LibraryClass Library Native CodeNative Code Get Execute Under CLR Get Execute Under CLR CPU-independent instructions CPU-Dependent While Execution & After Safety Verification
  • 17. What Is Project Project ResourcesDB ToolsUser ControlModulesForms Standalone Image File Sound File Help File Other files Win Controls Win. Forms Web Controls Web Forms Procedures Functions Methods Class Modules ADO, RDO, ODBC, ADO.Net Crystal Report Data Report Connection Tools Reports Tools
  • 18. Console Modules Imports System Module Module1 Sub Main( ) System.Console.WriteLine ( “First Program" ) End Sub End Module Namespace Required User Defined Keywords Class Method Or Member Function Parameter Auto Generated Can Be Avoided If Imported
  • 19. Simple Declaring Variables (Access) (Var.name) (As) [New] (Type) [= InitExpr] Dim i As Integer = 1 Dim S As String Dim St As String = “Hello” Note : New Keyword Is Use While We Are Creating A Object Variable Eg. Dim B As New Button More Example: Dim I, J, K As Integer ' All three are Integer variables. Dim L, M As Long, X, Y As Single ' L and M are Long, X and Y are Single
  • 20. Decision Making If…Else : If condition Then [statements] [ElseIf condition-n Then [elseifstatements]] ... [Else [elsestatements]] End If For & For Each …Next Syntax : For counter = start To end [Step step] [statements] [Exit For] [statements] Next [counter] Syntax : For Each element In group [statements] [Exit For] [statements] Next [element]
  • 21. Do – While Loop Do Do [{While | Until} condition] [statements] [Exit Do] [statements] Loop Or, you can use this syntax: Do [statements] [Exit Do] [statements] Loop [{While | Until} condition] While & With Statement Syntax : While condition [statements] End While Syntax : With object [statements] End With
  • 22. IDE Form Designer ToolBox Solution Explorer Property Window Tool Bar Task Window Tabbed View
  • 23. IDE Code View Server Explorer Class View Dynamic Help Index Result Run / Stop Program Compilation Mode
  • 24. Flow Of GUI Language Form DesigningForm Designing Property SettingProperty Setting Decide EventDecide Event Writing CodeWriting Code OutputOutput