SlideShare a Scribd company logo
Introduction to .Net


      May 5, 2012
Agenda
Introductions
What is .Net?
.Net Framework
Advantages of .Net
Advantages of CLR
Visual Studio 2005
.Net Languages
C# vs. VB.Net
Resources
What is .Net?
    New programming methodology
     Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.)
     JIT Compiler


    Primary Parts:
     .Net Framework
     Common Language Runtime (CLR)


    RTM:
     2002 (v1.0)
     2003 (v1.1)
     2005 (v2.0)
     2007 (v3.0)
     2009 (v3.5)
What is .Net?
    New programming methodology
     Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.)
     JIT Compiler


    Primary Parts:
     .Net Framework
     Common Language Runtime (CLR)


    RTM:
     2002 (v1.0)
     2003 (v1.1)
     2005 (v2.0)
.Net Framework
A set of approximately 3500 classes.

Classes are divided into namespaces grouping similar classes.

For organization, each class belongs to only one namespace.

Most classes are lumped into a name space called System
   System.Data: DB access
   System.XML: reading/writing XML
   System.Windows.Forms: Forms manipulation
   System.Net: network communication.
.Net Framework
Supports Web Standards
   HTML
   XML
   XSLT
   SOAP
   WSDL (Web Services)

ADO.Net: ActiveX Data Objects

ASP.Net: Active Server Pages

ILDASM: A tool used to properly display IL in a
human readable format.

.Net Compact Framework (mobile devices)
Advantages of .Net
Write once, run everywhere

Multiple programming languages (20+)

Coding Reduction
   Controls
   Template projects
   IIS/Cassini support

Ease of Deployment

Security Features
   Evidence-based security
   Code access security
   The verification process
   Role-based security
   Cryptography

    Application domains
Advantages of CLR
JIT allows code to run in a protected environment as
managed code.

JIT allows the IL code to be hardware independent.

CLR also allows for enforcement of code access
security.

Verification of type safety.

Access to Metadata (enhanced Type Information)
Advantages of CLR
Support for developer services (debugging)

Interoperation between managed code and
unmanaged code (COM, DLLs).

Managed code environment

Improved memory handling

Improved “garbage collection”
Visual Studio 2005
IDE for .Net development

Dotfuscator encryption tools

Cassini (IIS)

Application Testing Center

Team Suite for project management

Express versions (free)

VB6 to VB.Net conversion wizard
.Net Programming Languages

Visual Basic.Net    1.    RPG
                     2.    Component Pascal
C#                  3.    Mercury
APL                 4.    Scheme
Fortran             5.    Curriculum
                     6.    Mondrian
Pascal              7.    SmallTalk
C++                 8.    Eiffel
Haskell             9.    Oberon
                     10.   Standard ML
Perl                11.   Forth
Java Language       12.   Oz
Python
COBOL
Microsoft JScript
C# vs. VB.Net


Differences lie in:

Syntax

Object Oriented Features

Visual Studio.Net IDE
C# vs. VB.Net
        C#
                             VB.Net
No Auto Case adjust
                       Auto case adjust
Requires “{, }, ;”
                       No line
Enforces programming
                       terminators
rules.
                       Requires “Begin,
Unsafe Blocks
                       End”
Documentation
                       Still intended as
Comments
                       RAD tool.
Operator Overloading
                       Allows late
                       binding
C# vs. VB.Net

               C#                              VB.Net
class App
                                      Class App
{
  static void Main(string [ ] args)    Shared Sub Main(ByVal args
  {                                      as String( ) )
    int intCounter=0;                    Dim arg as String
                                         Dim intCounter as Integer
    foreach (string arg in args)
     {
                                          For Each arg in args
   System.Console.WriteLine(“
   Counter:” +                           System.Console.Writeline(“
   intCounter.ToString() + “=“           Counter: ” & intCounter &
   + arg);
                                         “=“ & arg)
    } //end of foreach
                                          Next ‘For Each loop
  } //end of Main()
                                       End Sub ‘end of Main()
Documentation Comments (C#)
///<summary>
///A Sample Function to demonstrate C#
///</summary>
///<param name=“void”>This function does not receive a
   parameter. </param>
///<returns>Void Type</returns>

Void SampleProc()
 {
    int intCounter1, intCounter2;
    MessageBox.show(“Counter1=” & intCounter1);
} //end of SampleProc
C#/VB.Net Myths
VB.Net is intended for use with Microsoft Office.

C# is the latest release of C++.

C# is easier to learn than VB.Net.

To learn C#, one should first learn C++.

C# is more advanced than VB.Net

C# runs faster than VB.Net
End of The .Net

More Related Content

What's hot (18)

PDF
Build Great Networked APIs with Swift, OpenAPI, and gRPC
Tim Burks
 
PPT
Building scalable and language independent java services using apache thrift
Talentica Software
 
PDF
A Type-level Ruby Interpreter for Testing and Understanding
mametter
 
PPT
.NET Overview
Greg Sohl
 
PPTX
Project Lombok!
Mehdi Haryani
 
PPTX
Lombok
Amit Aggarwal
 
PPTX
TypeScript - Silver Bullet for the Full-stack Developers
Rutenis Turcinas
 
PPTX
Dynamic languages for .NET CLR
py_sunil
 
PPTX
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
ODP
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
Mickael Istria
 
PPTX
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Maarten Balliauw
 
PPTX
Android with kotlin course
Abdul Rahman Masri Attal
 
PDF
Introduction to TypeScript by Winston Levi
Winston Levi
 
PPTX
Ecma script
MOHIT KUMAR
 
PDF
Introduction to Kotlin coroutines
Roman Elizarov
 
PDF
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward
 
PDF
Typescript for the programmers who like javascript
Andrei Sebastian Cîmpean
 
Build Great Networked APIs with Swift, OpenAPI, and gRPC
Tim Burks
 
Building scalable and language independent java services using apache thrift
Talentica Software
 
A Type-level Ruby Interpreter for Testing and Understanding
mametter
 
.NET Overview
Greg Sohl
 
Project Lombok!
Mehdi Haryani
 
TypeScript - Silver Bullet for the Full-stack Developers
Rutenis Turcinas
 
Dynamic languages for .NET CLR
py_sunil
 
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
Mickael Istria
 
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Maarten Balliauw
 
Android with kotlin course
Abdul Rahman Masri Attal
 
Introduction to TypeScript by Winston Levi
Winston Levi
 
Ecma script
MOHIT KUMAR
 
Introduction to Kotlin coroutines
Roman Elizarov
 
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward
 
Typescript for the programmers who like javascript
Andrei Sebastian Cîmpean
 

Viewers also liked (20)

PDF
OpenSource Technologies Portfolio
OpenSource Technologies Pvt. Ltd.
 
PPT
WordPress Complete Tutorial
OpenSource Technologies Pvt. Ltd.
 
PPTX
Basic Wordpress PPT
mayur akabari
 
PPT
Formation joomla 1ere_session
Ahmed Seye
 
PPT
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
Com'3elles - www.com3elles.com
 
PPT
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
PDF
Porting aodv uu implementation to ns-2
Xaris1985
 
PPT
Caching By Nyros Developer
Nyros Technologies
 
PPT
Formation joomla 2eme_session
Ahmed Seye
 
PPT
WordPress Plugins
OpenSource Technologies Pvt. Ltd.
 
PPT
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
PPT
Présentation OSGI
Cynapsys It Hotspot
 
PDF
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Code Basic
 
PPT
Cloud Computing Amazon
OpenSource Technologies Pvt. Ltd.
 
PPT
Introduction to c#
OpenSource Technologies Pvt. Ltd.
 
PDF
Intro to WordPress Plugin Development
R-Cubed Design Forge
 
PDF
Reading Efron's 1979 paper on bootstrap
Christian Robert
 
OpenSource Technologies Portfolio
OpenSource Technologies Pvt. Ltd.
 
WordPress Complete Tutorial
OpenSource Technologies Pvt. Ltd.
 
Basic Wordpress PPT
mayur akabari
 
Formation joomla 1ere_session
Ahmed Seye
 
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
Com'3elles - www.com3elles.com
 
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
Porting aodv uu implementation to ns-2
Xaris1985
 
Caching By Nyros Developer
Nyros Technologies
 
Formation joomla 2eme_session
Ahmed Seye
 
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
Présentation OSGI
Cynapsys It Hotspot
 
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Code Basic
 
Cloud Computing Amazon
OpenSource Technologies Pvt. Ltd.
 
Intro to WordPress Plugin Development
R-Cubed Design Forge
 
Reading Efron's 1979 paper on bootstrap
Christian Robert
 
Ad

Similar to Intro dotnet (20)

PPT
Intro dotnet
shuklagirish
 
PPT
Intro dotnet
shuklagirish
 
PPT
Intro dotnet
shuklagirish
 
PPT
Visual studio.net
Carlos Posada
 
PPTX
.Net Framework & Languages Supported by .Net Frmaework
Pranil Dukare
 
PDF
Dot net interview_questions
9292929292
 
PPTX
Introduction to .NET with C# @ university of wayamba
Prageeth Sandakalum
 
PPTX
C#
Gokul Ram
 
DOCX
New microsoft office word document
SIVAJISADHANA
 
DOCX
New microsoft office word document
SIVAJISADHANA
 
DOCX
New microsoft office word document
SIVAJISADHANA
 
PDF
Bt0082 visual basic
Techglyphs
 
PPT
Introduction to dot net framework by vaishali sahare [katkar]
vaishalisahare123
 
PPT
C#.NET
gurchet
 
PPTX
PROGRAMMING USING C#.NET SARASWATHI RAMALINGAM
SaraswathiRamalingam
 
PDF
Intro to .NET and Core C#
Jussi Pohjolainen
 
PPT
Introduction to .net
Naveen Sihag
 
PPTX
.Net language support
Then Murugeshwari
 
PPT
Introduction to c_sharp
HEM Sothon
 
Intro dotnet
shuklagirish
 
Intro dotnet
shuklagirish
 
Intro dotnet
shuklagirish
 
Visual studio.net
Carlos Posada
 
.Net Framework & Languages Supported by .Net Frmaework
Pranil Dukare
 
Dot net interview_questions
9292929292
 
Introduction to .NET with C# @ university of wayamba
Prageeth Sandakalum
 
New microsoft office word document
SIVAJISADHANA
 
New microsoft office word document
SIVAJISADHANA
 
New microsoft office word document
SIVAJISADHANA
 
Bt0082 visual basic
Techglyphs
 
Introduction to dot net framework by vaishali sahare [katkar]
vaishalisahare123
 
C#.NET
gurchet
 
PROGRAMMING USING C#.NET SARASWATHI RAMALINGAM
SaraswathiRamalingam
 
Intro to .NET and Core C#
Jussi Pohjolainen
 
Introduction to .net
Naveen Sihag
 
.Net language support
Then Murugeshwari
 
Introduction to c_sharp
HEM Sothon
 
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PDF
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
PDF
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PDF
Generative AI in Healthcare: Benefits, Use Cases & Challenges
Lily Clark
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
How Current Advanced Cyber Threats Transform Business Operation
Eryk Budi Pratama
 
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Generative AI in Healthcare: Benefits, Use Cases & Challenges
Lily Clark
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
Top Managed Service Providers in Los Angeles
Captain IT
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 

Intro dotnet

  • 1. Introduction to .Net May 5, 2012
  • 2. Agenda Introductions What is .Net? .Net Framework Advantages of .Net Advantages of CLR Visual Studio 2005 .Net Languages C# vs. VB.Net Resources
  • 3. What is .Net? New programming methodology  Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.)  JIT Compiler Primary Parts:  .Net Framework  Common Language Runtime (CLR) RTM:  2002 (v1.0)  2003 (v1.1)  2005 (v2.0)  2007 (v3.0)  2009 (v3.5)
  • 4. What is .Net? New programming methodology  Multiple Languages (VB.Net, C#, J#, Cobol.Net, etc.)  JIT Compiler Primary Parts:  .Net Framework  Common Language Runtime (CLR) RTM:  2002 (v1.0)  2003 (v1.1)  2005 (v2.0)
  • 5. .Net Framework A set of approximately 3500 classes. Classes are divided into namespaces grouping similar classes. For organization, each class belongs to only one namespace. Most classes are lumped into a name space called System  System.Data: DB access  System.XML: reading/writing XML  System.Windows.Forms: Forms manipulation  System.Net: network communication.
  • 6. .Net Framework Supports Web Standards  HTML  XML  XSLT  SOAP  WSDL (Web Services) ADO.Net: ActiveX Data Objects ASP.Net: Active Server Pages ILDASM: A tool used to properly display IL in a human readable format. .Net Compact Framework (mobile devices)
  • 7. Advantages of .Net Write once, run everywhere Multiple programming languages (20+) Coding Reduction  Controls  Template projects  IIS/Cassini support Ease of Deployment Security Features  Evidence-based security  Code access security  The verification process  Role-based security  Cryptography  Application domains
  • 8. Advantages of CLR JIT allows code to run in a protected environment as managed code. JIT allows the IL code to be hardware independent. CLR also allows for enforcement of code access security. Verification of type safety. Access to Metadata (enhanced Type Information)
  • 9. Advantages of CLR Support for developer services (debugging) Interoperation between managed code and unmanaged code (COM, DLLs). Managed code environment Improved memory handling Improved “garbage collection”
  • 10. Visual Studio 2005 IDE for .Net development Dotfuscator encryption tools Cassini (IIS) Application Testing Center Team Suite for project management Express versions (free) VB6 to VB.Net conversion wizard
  • 11. .Net Programming Languages Visual Basic.Net 1. RPG 2. Component Pascal C# 3. Mercury APL 4. Scheme Fortran 5. Curriculum 6. Mondrian Pascal 7. SmallTalk C++ 8. Eiffel Haskell 9. Oberon 10. Standard ML Perl 11. Forth Java Language 12. Oz Python COBOL Microsoft JScript
  • 12. C# vs. VB.Net Differences lie in: Syntax Object Oriented Features Visual Studio.Net IDE
  • 13. C# vs. VB.Net C# VB.Net No Auto Case adjust Auto case adjust Requires “{, }, ;” No line Enforces programming terminators rules. Requires “Begin, Unsafe Blocks End” Documentation Still intended as Comments RAD tool. Operator Overloading Allows late binding
  • 14. C# vs. VB.Net C# VB.Net class App Class App { static void Main(string [ ] args) Shared Sub Main(ByVal args { as String( ) ) int intCounter=0; Dim arg as String Dim intCounter as Integer foreach (string arg in args) { For Each arg in args System.Console.WriteLine(“ Counter:” + System.Console.Writeline(“ intCounter.ToString() + “=“ Counter: ” & intCounter & + arg); “=“ & arg) } //end of foreach Next ‘For Each loop } //end of Main() End Sub ‘end of Main()
  • 15. Documentation Comments (C#) ///<summary> ///A Sample Function to demonstrate C# ///</summary> ///<param name=“void”>This function does not receive a parameter. </param> ///<returns>Void Type</returns> Void SampleProc() { int intCounter1, intCounter2; MessageBox.show(“Counter1=” & intCounter1); } //end of SampleProc
  • 16. C#/VB.Net Myths VB.Net is intended for use with Microsoft Office. C# is the latest release of C++. C# is easier to learn than VB.Net. To learn C#, one should first learn C++. C# is more advanced than VB.Net C# runs faster than VB.Net
  • 17. End of The .Net

Editor's Notes

  • #4: CLR also includes the Just-In-Time (JIT) compiler.
  • #5: CLR also includes the Just-In-Time (JIT) compiler.