SlideShare a Scribd company logo
1 of 31
JIGAR JOBANPUTRA
SRK INSTITUTE OF MANAGEMENT
AND COMPUTER EDUCATION
UNIT-1
INTRODUCTION TO
VB.NET
JIGAR JOBANPUTRA (J.J.)
› C Language allows you the concept of
the procedural programming
language.
› Execution starts with the first line of the
main() function and then follows the
predefined path through the
application calling procedures as
needed.
› In the event driven application the
code doesn’t follow the predefined
path.
EVENT-DRIVEN MODEL
JIGAR JOBANPUTRA (J.J.)
› Everything is depended upon an event.
› Event driven programming is associated
with properties, methods and events.
› In daily routine we are using so many
objects like TV , ICE-CREAM , MOBILE ,
BIKE etc.
› Each and every object has properties ,
methods and events
› For e.g. cost of laptop, company , color
, size , RAM, HARD DISK are properties of
laptop.
Cont…
JIGAR JOBANPUTRA (J.J.)
› Property means characteristics of
anything
› Each and every object identified by its
characteristics.
› Events are reaction of any action
› Methods are something like function
doing something.
Cont…
JIGAR JOBANPUTRA (J.J.)
› Visual studio .net is complete package
of development tools for developing
web applications, desktop application,
mobile applications etc.
› Visual studio .net supports 60 languages
for developing software. Some
common languages are visual
basic.net, visual c++, c# .Net, J#
.Net.
What is visual studio.net?
JIGAR JOBANPUTRA (J.J.)
› “Microsoft .NET is based on the .NET
Framework, which consists of two major
components: the Common Language
Runtime (CLR) and an extensive set of
Framework Class Libraries (FCL). The CLR
defines a common programming
model and a standard type system for
cross-platform, multi-language
development.”
Cont…
JIGAR JOBANPUTRA (J.J.)
› .NET supports VB, C# (C-sharp), C++, J# (Java 1.2), etc.
CONT…
code.vb code.cs code.cp
p
...
Development Tools
app.exe
FCL
JIGAR JOBANPUTRA (J.J.)
› Compiled .NET apps run on any supported
platform:
.NET is cross-platform
APP.exe
?
Win64 Win32
(XP,2K,98)
WinCE
JIGAR JOBANPUTRA (J.J.)
› Cross-platform execution realized in two
ways:
1.apps are written against Framework Class
Library (FCL), not underlying OS
2.compilers generate generic assembly
language which must be executed by the
Common Language Runtime (CLR)
How is cross-platform
achieved?
JIGAR JOBANPUTRA (J.J.)
› Framework Class Library
– 1000's of predefined classes
– common subset across all platforms &
languages
– networking, database access, XML
processing, GUI, Web, etc.
› Goal?
– FCL is a portable operating system
FCL
JIGAR JOBANPUTRA (J.J.)
› RICH SET OF CLASSES: -
– Visual studio.net contains hundreds of
classes and namespaces that providing
variety of functionality in application
– For example to work with database we
need to include system.data namespace
FEATURES OF .NET
JIGAR JOBANPUTRA (J.J.)
› Object oriented programming system
– Visual studio .NET provides a fully object
oriented environment.
– Visual studio .NET supports oops concepts
Cont…
JIGAR JOBANPUTRA (J.J.)
› In- built memory management:
– Visual studio .NET supports handling memory
on its own.
– The garbage collector take responsibility for
freeing up unused objects at regular
intervals.
Cont…
JIGAR JOBANPUTRA (J.J.)
› Multi – language and Multi-device support
– Visual studio .NET supports multiple language
– This means that if your friend is good in c# and
you are comfortable with VB.
– So you can work on the same project using
different languages.
– The beauty of multi language supports lies in the
fact that even though the syntax of each
language is different the basic environment of
developing software is same.
– Visual studio .NET supports multi-device
Cont…
JIGAR JOBANPUTRA (J.J.)
› Faster and easy development of web
application-
– ASP.NET is useful for developing dynamic
and database related web applications
– ASP.NET contains rich and faster
development controls for web applications
Cont…
JIGAR JOBANPUTRA (J.J.)
› XML Supports-
– Visual studio .NET supports for writing ,
manipulation and transforming XML
DOCUMETNS
Cont…
JIGAR JOBANPUTRA (J.J.)
› Ease of development and
configuration
– Deploying windows application especially
that use COM components have always
been a tedious task since .NET does not
require any registration as such, much of
the deployment is simplified
Cont…
JIGAR JOBANPUTRA (J.J.)
› How .NET works?
HOW .NET WORKS?
Operating System + Hardware
.NET Framework
.NET Application
JIGAR JOBANPUTRA (J.J.)
Base Class Library
Common Language Specification
Common Language Runtime
ADO.NET: Data and XML
VB VC++ VC#
VisualStudio.NET
ASP.NET: Web Services
and Web Forms
JScript …
Windows
Forms
Framework, Languages, And Tools
JIGAR JOBANPUTRA (J.J.)
› The .NET framework exposes numerous classes to
the developer. These classes allow the
development of rich client applications and Web
based applications alike. In the above slide these
classes have been divided into 4 areas.
› ASP.NET provides the core Web infrastructure such
as Web Forms for UI based development and Web
Services for programmatic interface development,
› User interface development on the Windows
platform can be done using Windows Forms
› ADO.NET and XML provide the functionality for
data access.
› Finally, the core base classes provide infrastructure
services such as security, transaction management
etc.
Cont…
JIGAR JOBANPUTRA (J.J.)
•Common Language Runtime
• Common, secure execution environment.
• It is the execution engine for .NET framework
• It is the heart and backbone of the .NET
• It provides an infrastructure for running
program and allows them to communicate
with other parts of the .NET framework
• It provides the following facilities
• Code loading and execution
• Application memory , isolation
• Verification of type safety
• Conversion to IL to native code
CONT…
JIGAR JOBANPUTRA (J.J.)
› Access to metadata
› Managing memory for managed objects
› Enforcement of code access security
› Exception handling
Cont…
JIGAR JOBANPUTRA (J.J.)
› CTS allows programs written in different
programming language to easily share
information
› A class written in C# should be
equivalent to a class written in VB.NET
› Languages must agree on the
meanings of these concepts before
they can integrate with each other.
What is Common Type System?
JIGAR JOBANPUTRA (J.J.)
› CTS provides cross language integration
› The Common type system supports two
general categories of types:
– Value types
– Reference types
It store directly data on stack. In-built data
type.
e.g. dim a as integer
store a reference to the values memory
address, and allocate on heap.
Cont…
JIGAR JOBANPUTRA (J.J.)
› CLS includes basic language features
needed by almost all the applications.
› It serves as a guide for library writers
and compiler writers
› The common language specifications is
a subset of the common type system
› The common language specification is
also important to application
developers who are writing code that
will be used by other developers.
What is CLS(common language
specifications)?
JIGAR JOBANPUTRA (J.J.)
› Meta data stored within assembly
› .NET records information about
compiled classes as metadata
› Meta data means data about data
› A .NET language compiler will generate
the metadata and store this is in
assembly.
› Meta data is nothing but a description
of every namespace, class , method ,
property etc.
What is metadata?
JIGAR JOBANPUTRA (J.J.)
› CLR uses this metadata to
– Locate classes
– Load classes
– Generate native code
– Provide security
Cont..
JIGAR JOBANPUTRA (J.J.)
› As mentioned above .NET framework
class library is collection of namespaces
› Namespace is logical naming scheme
for types that have related
functionality.
› Namespace means nothing but a
logical container or partition
› It is like drives of the computer
› The drives are logical partitions of hard
disk c: d: e: f: are used for unique
identification for particular file.
What is namespace?
JIGAR JOBANPUTRA (J.J.)
› System- contains fundamental classes
and base classes
› System.io- classes for reading and
writing data in file
› System.xml- classes work with xml
› System.windows.forms- contains classes
for window-based applications
› System.data- contains classes for the
database connection
Common namespaces
JIGAR JOBANPUTRA (J.J.)
› An assembly is the basic building block
of .NET application
› The assemblyinfo.vb file contains
information about the assembly its
version number, dependencies,
product , copyright , trademark,
description etc.
What is Assemblyinfo.vb file?
JIGAR JOBANPUTRA (J.J.)
Thank you
JIGAR JOBANPUTRA (J.J.)

More Related Content

What's hot (20)

Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Features of java
Features of javaFeatures of java
Features of java
 
Basic of Java
Basic of JavaBasic of Java
Basic of Java
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATION
 
core java
core javacore java
core java
 
Chapter no 1
Chapter no 1Chapter no 1
Chapter no 1
 
E sampark with c#.net
E sampark with c#.netE sampark with c#.net
E sampark with c#.net
 
java concepts
java conceptsjava concepts
java concepts
 
Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
Code, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers wayCode, ci, infrastructure - the gophers way
Code, ci, infrastructure - the gophers way
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Embedded Linux on ARM
Embedded Linux on ARMEmbedded Linux on ARM
Embedded Linux on ARM
 
Java vs .net
Java vs .netJava vs .net
Java vs .net
 
1 introduction to java technology
1 introduction to java technology1 introduction to java technology
1 introduction to java technology
 
Oodb
OodbOodb
Oodb
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
 
Java presentation
Java presentationJava presentation
Java presentation
 
Bn1005 demo ppt core java
Bn1005 demo ppt core javaBn1005 demo ppt core java
Bn1005 demo ppt core java
 
Features of java
Features of javaFeatures of java
Features of java
 

Similar to Unit 1(sem-iv) (20)

Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
dot net technology
dot net technologydot net technology
dot net technology
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
Java vs .Net
Java vs .NetJava vs .Net
Java vs .Net
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#
 
Net overview
Net overviewNet overview
Net overview
 
.Net overview by cetpa
.Net overview by cetpa.Net overview by cetpa
.Net overview by cetpa
 
.Net overview
.Net overview.Net overview
.Net overview
 
.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions.Net introduction by Quontra Solutions
.Net introduction by Quontra Solutions
 
.Net overview
.Net overview.Net overview
.Net overview
 
.net framework
.net framework.net framework
.net framework
 
Net overview
Net overviewNet overview
Net overview
 
.Net overview
.Net overview.Net overview
.Net overview
 
.Net Overview
.Net Overview.Net Overview
.Net Overview
 
DOT Net overview
DOT Net overviewDOT Net overview
DOT Net overview
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Dataflow-based heterogeneous code generator for IoT applications
Dataflow-based heterogeneous code generator for IoT applicationsDataflow-based heterogeneous code generator for IoT applications
Dataflow-based heterogeneous code generator for IoT applications
 
.Net framework
.Net framework.Net framework
.Net framework
 
Net Framework overview
Net Framework overviewNet Framework overview
Net Framework overview
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 

More from Jigarthacker

More from Jigarthacker (13)

File mangement
File mangementFile mangement
File mangement
 
Java session14
Java session14Java session14
Java session14
 
Java session13
Java session13Java session13
Java session13
 
Java session5
Java session5Java session5
Java session5
 
Java session4
Java session4Java session4
Java session4
 
Java session3
Java session3Java session3
Java session3
 
Java session2
Java session2Java session2
Java session2
 
Computer networks
Computer networksComputer networks
Computer networks
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 1
Unit 1Unit 1
Unit 1
 
C programming
C programmingC programming
C programming
 
Basic object oriented approach
Basic object oriented approachBasic object oriented approach
Basic object oriented approach
 

Recently uploaded

History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 

Recently uploaded (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 

Unit 1(sem-iv)

  • 1. JIGAR JOBANPUTRA SRK INSTITUTE OF MANAGEMENT AND COMPUTER EDUCATION UNIT-1 INTRODUCTION TO VB.NET JIGAR JOBANPUTRA (J.J.)
  • 2. › C Language allows you the concept of the procedural programming language. › Execution starts with the first line of the main() function and then follows the predefined path through the application calling procedures as needed. › In the event driven application the code doesn’t follow the predefined path. EVENT-DRIVEN MODEL JIGAR JOBANPUTRA (J.J.)
  • 3. › Everything is depended upon an event. › Event driven programming is associated with properties, methods and events. › In daily routine we are using so many objects like TV , ICE-CREAM , MOBILE , BIKE etc. › Each and every object has properties , methods and events › For e.g. cost of laptop, company , color , size , RAM, HARD DISK are properties of laptop. Cont… JIGAR JOBANPUTRA (J.J.)
  • 4. › Property means characteristics of anything › Each and every object identified by its characteristics. › Events are reaction of any action › Methods are something like function doing something. Cont… JIGAR JOBANPUTRA (J.J.)
  • 5. › Visual studio .net is complete package of development tools for developing web applications, desktop application, mobile applications etc. › Visual studio .net supports 60 languages for developing software. Some common languages are visual basic.net, visual c++, c# .Net, J# .Net. What is visual studio.net? JIGAR JOBANPUTRA (J.J.)
  • 6. › “Microsoft .NET is based on the .NET Framework, which consists of two major components: the Common Language Runtime (CLR) and an extensive set of Framework Class Libraries (FCL). The CLR defines a common programming model and a standard type system for cross-platform, multi-language development.” Cont… JIGAR JOBANPUTRA (J.J.)
  • 7. › .NET supports VB, C# (C-sharp), C++, J# (Java 1.2), etc. CONT… code.vb code.cs code.cp p ... Development Tools app.exe FCL JIGAR JOBANPUTRA (J.J.)
  • 8. › Compiled .NET apps run on any supported platform: .NET is cross-platform APP.exe ? Win64 Win32 (XP,2K,98) WinCE JIGAR JOBANPUTRA (J.J.)
  • 9. › Cross-platform execution realized in two ways: 1.apps are written against Framework Class Library (FCL), not underlying OS 2.compilers generate generic assembly language which must be executed by the Common Language Runtime (CLR) How is cross-platform achieved? JIGAR JOBANPUTRA (J.J.)
  • 10. › Framework Class Library – 1000's of predefined classes – common subset across all platforms & languages – networking, database access, XML processing, GUI, Web, etc. › Goal? – FCL is a portable operating system FCL JIGAR JOBANPUTRA (J.J.)
  • 11. › RICH SET OF CLASSES: - – Visual studio.net contains hundreds of classes and namespaces that providing variety of functionality in application – For example to work with database we need to include system.data namespace FEATURES OF .NET JIGAR JOBANPUTRA (J.J.)
  • 12. › Object oriented programming system – Visual studio .NET provides a fully object oriented environment. – Visual studio .NET supports oops concepts Cont… JIGAR JOBANPUTRA (J.J.)
  • 13. › In- built memory management: – Visual studio .NET supports handling memory on its own. – The garbage collector take responsibility for freeing up unused objects at regular intervals. Cont… JIGAR JOBANPUTRA (J.J.)
  • 14. › Multi – language and Multi-device support – Visual studio .NET supports multiple language – This means that if your friend is good in c# and you are comfortable with VB. – So you can work on the same project using different languages. – The beauty of multi language supports lies in the fact that even though the syntax of each language is different the basic environment of developing software is same. – Visual studio .NET supports multi-device Cont… JIGAR JOBANPUTRA (J.J.)
  • 15. › Faster and easy development of web application- – ASP.NET is useful for developing dynamic and database related web applications – ASP.NET contains rich and faster development controls for web applications Cont… JIGAR JOBANPUTRA (J.J.)
  • 16. › XML Supports- – Visual studio .NET supports for writing , manipulation and transforming XML DOCUMETNS Cont… JIGAR JOBANPUTRA (J.J.)
  • 17. › Ease of development and configuration – Deploying windows application especially that use COM components have always been a tedious task since .NET does not require any registration as such, much of the deployment is simplified Cont… JIGAR JOBANPUTRA (J.J.)
  • 18. › How .NET works? HOW .NET WORKS? Operating System + Hardware .NET Framework .NET Application JIGAR JOBANPUTRA (J.J.)
  • 19. Base Class Library Common Language Specification Common Language Runtime ADO.NET: Data and XML VB VC++ VC# VisualStudio.NET ASP.NET: Web Services and Web Forms JScript … Windows Forms Framework, Languages, And Tools JIGAR JOBANPUTRA (J.J.)
  • 20. › The .NET framework exposes numerous classes to the developer. These classes allow the development of rich client applications and Web based applications alike. In the above slide these classes have been divided into 4 areas. › ASP.NET provides the core Web infrastructure such as Web Forms for UI based development and Web Services for programmatic interface development, › User interface development on the Windows platform can be done using Windows Forms › ADO.NET and XML provide the functionality for data access. › Finally, the core base classes provide infrastructure services such as security, transaction management etc. Cont… JIGAR JOBANPUTRA (J.J.)
  • 21. •Common Language Runtime • Common, secure execution environment. • It is the execution engine for .NET framework • It is the heart and backbone of the .NET • It provides an infrastructure for running program and allows them to communicate with other parts of the .NET framework • It provides the following facilities • Code loading and execution • Application memory , isolation • Verification of type safety • Conversion to IL to native code CONT… JIGAR JOBANPUTRA (J.J.)
  • 22. › Access to metadata › Managing memory for managed objects › Enforcement of code access security › Exception handling Cont… JIGAR JOBANPUTRA (J.J.)
  • 23. › CTS allows programs written in different programming language to easily share information › A class written in C# should be equivalent to a class written in VB.NET › Languages must agree on the meanings of these concepts before they can integrate with each other. What is Common Type System? JIGAR JOBANPUTRA (J.J.)
  • 24. › CTS provides cross language integration › The Common type system supports two general categories of types: – Value types – Reference types It store directly data on stack. In-built data type. e.g. dim a as integer store a reference to the values memory address, and allocate on heap. Cont… JIGAR JOBANPUTRA (J.J.)
  • 25. › CLS includes basic language features needed by almost all the applications. › It serves as a guide for library writers and compiler writers › The common language specifications is a subset of the common type system › The common language specification is also important to application developers who are writing code that will be used by other developers. What is CLS(common language specifications)? JIGAR JOBANPUTRA (J.J.)
  • 26. › Meta data stored within assembly › .NET records information about compiled classes as metadata › Meta data means data about data › A .NET language compiler will generate the metadata and store this is in assembly. › Meta data is nothing but a description of every namespace, class , method , property etc. What is metadata? JIGAR JOBANPUTRA (J.J.)
  • 27. › CLR uses this metadata to – Locate classes – Load classes – Generate native code – Provide security Cont.. JIGAR JOBANPUTRA (J.J.)
  • 28. › As mentioned above .NET framework class library is collection of namespaces › Namespace is logical naming scheme for types that have related functionality. › Namespace means nothing but a logical container or partition › It is like drives of the computer › The drives are logical partitions of hard disk c: d: e: f: are used for unique identification for particular file. What is namespace? JIGAR JOBANPUTRA (J.J.)
  • 29. › System- contains fundamental classes and base classes › System.io- classes for reading and writing data in file › System.xml- classes work with xml › System.windows.forms- contains classes for window-based applications › System.data- contains classes for the database connection Common namespaces JIGAR JOBANPUTRA (J.J.)
  • 30. › An assembly is the basic building block of .NET application › The assemblyinfo.vb file contains information about the assembly its version number, dependencies, product , copyright , trademark, description etc. What is Assemblyinfo.vb file? JIGAR JOBANPUTRA (J.J.)