SlideShare a Scribd company logo
1 of 17
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

Build Great Networked APIs with Swift, OpenAPI, and gRPC
Build Great Networked APIs with Swift, OpenAPI, and gRPCBuild Great Networked APIs with Swift, OpenAPI, and gRPC
Build Great Networked APIs with Swift, OpenAPI, and gRPCTim Burks
 
Building scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thriftBuilding scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thriftTalentica Software
 
A Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and UnderstandingA Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and Understandingmametter
 
.NET Overview
.NET Overview.NET Overview
.NET OverviewGreg Sohl
 
TypeScript - Silver Bullet for the Full-stack Developers
TypeScript - Silver Bullet for the Full-stack DevelopersTypeScript - Silver Bullet for the Full-stack Developers
TypeScript - Silver Bullet for the Full-stack DevelopersRutenis Turcinas
 
Dynamic languages for .NET CLR
Dynamic languages for .NET CLRDynamic languages for .NET CLR
Dynamic languages for .NET CLRpy_sunil
 
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
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...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...Maarten Balliauw
 
Introduction to TypeScript by Winston Levi
Introduction to TypeScript by Winston LeviIntroduction to TypeScript by Winston Levi
Introduction to TypeScript by Winston LeviWinston Levi
 
Introduction to Kotlin coroutines
Introduction to Kotlin coroutinesIntroduction to Kotlin coroutines
Introduction to Kotlin coroutinesRoman Elizarov
 
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...Flink Forward
 
Typescript for the programmers who like javascript
Typescript for the programmers who like javascriptTypescript for the programmers who like javascript
Typescript for the programmers who like javascriptAndrei Sebastian Cîmpean
 

What's hot (18)

Build Great Networked APIs with Swift, OpenAPI, and gRPC
Build Great Networked APIs with Swift, OpenAPI, and gRPCBuild Great Networked APIs with Swift, OpenAPI, and gRPC
Build Great Networked APIs with Swift, OpenAPI, and gRPC
 
Kotlin
KotlinKotlin
Kotlin
 
Building scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thriftBuilding scalable and language independent java services using apache thrift
Building scalable and language independent java services using apache thrift
 
A Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and UnderstandingA Type-level Ruby Interpreter for Testing and Understanding
A Type-level Ruby Interpreter for Testing and Understanding
 
.NET Overview
.NET Overview.NET Overview
.NET Overview
 
Project Lombok!
Project Lombok!Project Lombok!
Project Lombok!
 
Lombok
LombokLombok
Lombok
 
TypeScript - Silver Bullet for the Full-stack Developers
TypeScript - Silver Bullet for the Full-stack DevelopersTypeScript - Silver Bullet for the Full-stack Developers
TypeScript - Silver Bullet for the Full-stack Developers
 
Dynamic languages for .NET CLR
Dynamic languages for .NET CLRDynamic languages for .NET CLR
Dynamic languages for .NET CLR
 
Getting started with typescript
Getting started with typescriptGetting started with typescript
Getting started with typescript
 
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
IDE as a Front-end and Fast time-to-market language support in Eclipse IDE re...
 
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
 
Android with kotlin course
Android with kotlin courseAndroid with kotlin course
Android with kotlin course
 
Introduction to TypeScript by Winston Levi
Introduction to TypeScript by Winston LeviIntroduction to TypeScript by Winston Levi
Introduction to TypeScript by Winston Levi
 
Ecma script
Ecma scriptEcma script
Ecma script
 
Introduction to Kotlin coroutines
Introduction to Kotlin coroutinesIntroduction to Kotlin coroutines
Introduction to Kotlin coroutines
 
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
Flink Forward Berlin 2018: Robert Bradshaw & Maximilian Michels - "Universal ...
 
Typescript for the programmers who like javascript
Typescript for the programmers who like javascriptTypescript for the programmers who like javascript
Typescript for the programmers who like javascript
 

Viewers also liked

Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT mayur akabari
 
Formation joomla 1ere_session
Formation joomla 1ere_sessionFormation joomla 1ere_session
Formation joomla 1ere_sessionAhmed Seye
 
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
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
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperNyros Technologies
 
Porting aodv uu implementation to ns-2
Porting aodv uu implementation to ns-2Porting aodv uu implementation to ns-2
Porting aodv uu implementation to ns-2Xaris1985
 
Formation joomla 2eme_session
Formation joomla 2eme_sessionFormation joomla 2eme_session
Formation joomla 2eme_sessionAhmed Seye
 
Capistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros DeveloperCapistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros DeveloperNyros Technologies
 
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3Code Basic
 
Intro to WordPress Plugin Development
Intro to WordPress Plugin DevelopmentIntro to WordPress Plugin Development
Intro to WordPress Plugin DevelopmentR-Cubed Design Forge
 
Reading Efron's 1979 paper on bootstrap
Reading Efron's 1979 paper on bootstrapReading Efron's 1979 paper on bootstrap
Reading Efron's 1979 paper on bootstrapChristian Robert
 

Viewers also liked (20)

OpenSource Technologies Portfolio
OpenSource Technologies PortfolioOpenSource Technologies Portfolio
OpenSource Technologies Portfolio
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT
 
Asp.net
Asp.netAsp.net
Asp.net
 
Formation joomla 1ere_session
Formation joomla 1ere_sessionFormation joomla 1ere_session
Formation joomla 1ere_session
 
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
Comment préparer un projet adapté à ses besoins et durable sous Joomla ?
 
MVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
 
MySQL Training
MySQL TrainingMySQL Training
MySQL Training
 
Porting aodv uu implementation to ns-2
Porting aodv uu implementation to ns-2Porting aodv uu implementation to ns-2
Porting aodv uu implementation to ns-2
 
Caching By Nyros Developer
Caching By Nyros DeveloperCaching By Nyros Developer
Caching By Nyros Developer
 
Formation joomla 2eme_session
Formation joomla 2eme_sessionFormation joomla 2eme_session
Formation joomla 2eme_session
 
WordPress Plugins
WordPress PluginsWordPress Plugins
WordPress Plugins
 
Capistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros DeveloperCapistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros Developer
 
Présentation OSGI
Présentation OSGIPrésentation OSGI
Présentation OSGI
 
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
Bootstrap 3 Talk - What is Bootstrap 3 | 聊聊 Bootstrap 3 - 初識什麼是 Bootstrap 3
 
Zend Framework
Zend FrameworkZend Framework
Zend Framework
 
Cloud Computing Amazon
Cloud Computing AmazonCloud Computing Amazon
Cloud Computing Amazon
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
 
Intro to WordPress Plugin Development
Intro to WordPress Plugin DevelopmentIntro to WordPress Plugin Development
Intro to WordPress Plugin Development
 
Reading Efron's 1979 paper on bootstrap
Reading Efron's 1979 paper on bootstrapReading Efron's 1979 paper on bootstrap
Reading Efron's 1979 paper on bootstrap
 

Similar to Intro dotnet

Similar to Intro dotnet (20)

Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Intro dotnet
Intro dotnetIntro dotnet
Intro dotnet
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
E sampark with c#.net
E sampark with c#.netE sampark with c#.net
E sampark with c#.net
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
 
Visual Studio.NET
Visual Studio.NETVisual Studio.NET
Visual Studio.NET
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
Csharp dot net
Csharp dot netCsharp dot net
Csharp dot net
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1
 
.Net + novas tecnologias + win8
.Net + novas tecnologias + win8.Net + novas tecnologias + win8
.Net + novas tecnologias + win8
 
C# tutorial
C# tutorialC# tutorial
C# tutorial
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
Presentation1
Presentation1Presentation1
Presentation1
 
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
 
Srgoc dotnet_new
Srgoc dotnet_newSrgoc dotnet_new
Srgoc dotnet_new
 
Csharp dot net
Csharp dot netCsharp dot net
Csharp dot net
 

Recently uploaded

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

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

  1. CLR also includes the Just-In-Time (JIT) compiler.
  2. CLR also includes the Just-In-Time (JIT) compiler.