SlideShare a Scribd company logo
Getting Started with .NET




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Objectives




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code
• Set up a development profile in Visual Studio .NET




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code
• Set up a development profile in Visual Studio .NET
• Create Console Application projects in Visual
  Studio .NET




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code
• Set up a development profile in Visual Studio .NET
• Create Console Application projects in Visual
  Studio .NET
• View the code that Visual Studio generates and
  understand what it does




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code
• Set up a development profile in Visual Studio .NET
• Create Console Application projects in Visual
  Studio .NET
• View the code that Visual Studio generates and
  understand what it does
• Explore the Object Browser in the Integrated
  Development Environment



            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Objectives
• Learn the advantages and architecture of the .NET
  Framework
• Examine sample Microsoft Intermediate Language code
• Set up a development profile in Visual Studio .NET
• Create Console Application projects in Visual
  Studio .NET
• View the code that Visual Studio generates and
  understand what it does
• Explore the Object Browser in the Integrated
  Development Environment
• Take advantage of Visual Studio’s exception-handling
  features
            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Agenda




     Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010
• Debugging and Handling Exceptions




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
What Is .NET, Anyway?




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment
   Windows apps provide a consistent API for
    communicating with drivers, devices, and so on




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment
   Windows apps provide a consistent API for
    communicating with drivers, devices, and so on
• 2001: .NET Runtime "sits" on top of Windows




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment
   Windows apps provide a consistent API for
    communicating with drivers, devices, and so on
• 2001: .NET Runtime "sits" on top of Windows
   .NET apps require .NET runtime environment




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment
   Windows apps provide a consistent API for
    communicating with drivers, devices, and so on
• 2001: .NET Runtime "sits" on top of Windows
   .NET apps require .NET runtime environment
   .NET apps provide a consistent API for working with
    Windows, data structures, types, and more




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• 1991: Windows "sits" on top of DOS
   Windows apps require Windows runtime environment
   Windows apps provide a consistent API for
    communicating with drivers, devices, and so on
• 2001: .NET Runtime "sits" on top of Windows
   .NET apps require .NET runtime environment
   .NET apps provide a consistent API for working with
    Windows, data structures, types, and more
• .NET provides an environment that handles data
  types, memory management, APIs, and much
  more
          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Is .NET, Anyway?




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open
    Can program in many different languages




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open
    Can program in many different languages
    Can use different tools




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open
    Can program in many different languages
    Can use different tools
      o   Not limited to VB/C# and Visual Studio



              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open
    Can program in many different languages
    Can use different tools
      o   Not limited to VB/C# and Visual Studio
    .NET SDK is a free download

              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
What Is .NET, Anyway?
• .NET Framework 2.0: Third version of the Object-
  oriented programming environment
• .NET Framework 3.0: Developed to work with Windows
  Vista and Windows Server 2008
    Can create command-line apps through rich client apps,
     including Web applications
• .NET is open
    Can program in many different languages
    Can use different tools
      o   Not limited to VB/C# and Visual Studio
    .NET SDK is a free download
      o   No need to buy Visual Studio, but it's a lot more productive!
              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Why .NET?




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:
   Web sites? Required VB Scripting or JScript and
    HTML




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:
   Web sites? Required VB Scripting or JScript and
    HTML
   Database apps? SQL/SQL Server




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:
   Web sites? Required VB Scripting or JScript and
    HTML
   Database apps? SQL/SQL Server
   Business applications? Visual Basic


          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:
   Web sites? Required VB Scripting or JScript and
    HTML
   Database apps? SQL/SQL Server
   Business applications? Visual Basic
   Office applications? VBA

          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Why .NET?
• Before .NET, software development required
  mastery of multiple technologies and authoring
  tools
   Manually stitched together various programming
    tools
• For example:
   Web sites? Required VB Scripting or JScript and
    HTML
   Database apps? SQL/SQL Server
   Business applications? Visual Basic
   Office applications? VBA
   Streamlined graphics? C++
          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Advantages of .NET




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier
     o   Assembly contains and describes unit of deployment




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier
     o   Assembly contains and describes unit of deployment
   Versioning issues largely handled without effort




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier
     o   Assembly contains and describes unit of deployment
   Versioning issues largely handled without effort
   Assemblies can be digitally signed




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier
     o   Assembly contains and describes unit of deployment
   Versioning issues largely handled without effort
   Assemblies can be digitally signed
   Unless using COM, no need for registration



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Advantages of .NET
• .NET provides remedies:
   Object-oriented view of Windows: .NET Framework
    encapsulates lots of functionality into classes
   Application security built in
   Deploying applications is easier
       o   Assembly contains and describes unit of deployment
     Versioning issues largely handled without effort
     Assemblies can be digitally signed
     Unless using COM, no need for registration
     All .NET languages are interoperable

               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
.NET Framework Architecture




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
.NET Framework Architecture
VB     C++         C#           JScript                  …

 Common Language Specification




                                                                        Visual Studio .NET
     ASP.NET                 Windows Forms

        ADO.NET and XML
        Base Class Library
     Common Language Runtime

     Windows                  COM+ Services

          Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Common Language Runtime




     Learn More @ http://www.learnnowonline.com
        Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output
• CLR manages .NET base services:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output
• CLR manages .NET base services:
   Memory management




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output
• CLR manages .NET base services:
   Memory management
   Garbage collection



          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output
• CLR manages .NET base services:
   Memory management
   Garbage collection
   Exception handling


          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Common Language Runtime
• Common Language Runtime (CLR) provides
  runtime environment for all .NET applications
• CLR's purpose is to load and run applications
  compiled to Intermediate Language (IL)
   Each .NET compiler creates IL as its output
• CLR manages .NET base services:
     Memory management
     Garbage collection
     Exception handling
     Loading/Running applications

            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
CLR and Running Code




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
CLR and Running Code
• CLR allows you to run both managed and
  unmanaged code




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
CLR and Running Code
• CLR allows you to run both managed and
  unmanaged code
   Unmanaged code runs outside the CLR




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
CLR and Running Code
• CLR allows you to run both managed and
  unmanaged code
   Unmanaged code runs outside the CLR
     o   VB6/C++ code compiled without .NET




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
CLR and Running Code
• CLR allows you to run both managed and
  unmanaged code
   Unmanaged code runs outside the CLR
     o   VB6/C++ code compiled without .NET
   Managed code runs "within" the CLR, and benefits
    from the CLR's features




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
CLR and Compilers




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
CLR and Compilers
• .NET Compilers create Microsoft Intermediate
  Language (MSIL, or just IL) as output




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
CLR and Compilers
• .NET Compilers create Microsoft Intermediate
  Language (MSIL, or just IL) as output
• At execution time, Just-In-Time (JIT) compiler
  converts code to native executable




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
More about JIT




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment
   Makes decisions about how to optimize code at
    runtime




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment
   Makes decisions about how to optimize code at
    runtime
• Only needs to compile the application once:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment
   Makes decisions about how to optimize code at
    runtime
• Only needs to compile the application once:
   Compiled "bits" cached locally




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment
   Makes decisions about how to optimize code at
    runtime
• Only needs to compile the application once:
   Compiled "bits" cached locally
   Performance overhead is very slight, if any




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
More about JIT
• JIT compiler takes native processor into account
   Creates code optimized for the local environment
   Makes decisions about how to optimize code at
    runtime
• Only needs to compile the application once:
   Compiled "bits" cached locally
   Performance overhead is very slight, if any
• Remember: .NET Runtime/CLR must be
  installed on client computers in order to
  run .NET code
           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework
    And many classes that make your life as a developer
     easier




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework
    And many classes that make your life as a developer
     easier
    Library of classes used by all .NET applications




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework
    And many classes that make your life as a developer
     easier
    Library of classes used by all .NET applications
 • Contains large number of classes (blocks of
   functionality, including properties, methods, and
   events) grouped into namespaces




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework
    And many classes that make your life as a developer
     easier
    Library of classes used by all .NET applications
 • Contains large number of classes (blocks of
   functionality, including properties, methods, and
   events) grouped into namespaces
    Each class within a namespace has a unique name




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Framework Base Class Library
 • BCL consists of classes that provide base
   functionality for .NET Framework
    And many classes that make your life as a developer
     easier
    Library of classes used by all .NET applications
 • Contains large number of classes (blocks of
   functionality, including properties, methods, and
   events) grouped into namespaces
    Each class within a namespace has a unique name
 • BCL's namespaces group classes into common
   blocks of functionality
           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Some BCL Namespaces




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Some BCL Namespaces
• System




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Some BCL Namespaces
• System
• System.Data




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Some BCL Namespaces
• System
• System.Data
• System.Diagnostics




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO
•   System.Text




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO
•   System.Text
•   System.Text.RegularExpressions




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO
•   System.Text
•   System.Text.RegularExpressions
•   System.Web


           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO
•   System.Text
•   System.Text.RegularExpressions
•   System.Web
•   System.Windows.Forms

           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Some BCL Namespaces
•   System
•   System.Data
•   System.Diagnostics
•   System.Globalization
•   System.IO
•   System.Text
•   System.Text.RegularExpressions
•   System.Web
•   System.Windows.Forms
•   System.Xml
           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
.NET Languages




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more
• How do languages interoperate?




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more
• How do languages interoperate?
   .NET provides:




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more
• How do languages interoperate?
   .NET provides:
     o   Common Language Specification (CLS): Describes how .NET
         languages should work




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more
• How do languages interoperate?
   .NET provides:
     o   Common Language Specification (CLS): Describes how .NET
         languages should work
     o   Common Type System (CTS): Describes how data types
         should work together



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
.NET Languages
• Microsoft provides several .NET languages:
   Visual Basic, Visual C#, C++, JScript
   Other vendors provide other languages
     o   Python, Fortran, Cobol, and many more
• How do languages interoperate?
   .NET provides:
     o   Common Language Specification (CLS): Describes how .NET
         languages should work
     o   Common Type System (CTS): Describes how data types
         should work together
   In the end: All .NET languages compile to IL

             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly
• Theoretically, assembly can contain multiple
  modules




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly
• Theoretically, assembly can contain multiple
  modules
   Visual Studio only supports creating single-module
    assemblies




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly
• Theoretically, assembly can contain multiple
  modules
   Visual Studio only supports creating single-module
    assemblies
   Output looks like EXE or DLL




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly
• Theoretically, assembly can contain multiple
  modules
   Visual Studio only supports creating single-module
    assemblies
   Output looks like EXE or DLL
     o   Actually contains compiled IL, and information about the
         assembly




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Examining a .NET Application:
Introducing Assemblies
• Compile managed code: create assembly
• Theoretically, assembly can contain multiple
  modules
   Visual Studio only supports creating single-module
    assemblies
   Output looks like EXE or DLL
     o   Actually contains compiled IL, and information about the
         assembly
   Metadata contains a manifest that describes the
    assembly, procedures, and types that it exports,
    along with other required assemblies

             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
What's in the Manifest?




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
What's in the Manifest?
• Version, name, culture, security requirements




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What's in the Manifest?
• Version, name, culture, security requirements
• List of other files in assembly and cryptographic
  hash for each file




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What's in the Manifest?
• Version, name, culture, security requirements
• List of other files in assembly and cryptographic
  hash for each file
• List of public types




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What's in the Manifest?
• Version, name, culture, security requirements
• List of other files in assembly and cryptographic
  hash for each file
• List of public types
• List of external required references




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What's in the Manifest?
• Version, name, culture, security requirements
• List of other files in assembly and cryptographic
  hash for each file
• List of public types
• List of external required references
• Use ILDASM.EXE to examine contents




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
   Windows application




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
   Windows application
   Console application




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
   Windows application
   Console application
   Class library




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
     Windows application
     Console application
     Class library
     Windows control library




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
     Windows application
     Console application
     Class library
     Windows control library
     Web control library



            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
     Windows application
     Console application
     Class library
     Windows control library
     Web control library
     Web application


            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
What Can You Create?
• .NET allows you to create a large range of
  applications
• Visual Studio includes templates for (among
  others):
     Windows application
     Console application
     Class library
     Windows control library
     Web control library
     Web application
     XML Web Service

            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Agenda




     Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010
• Debugging and Handling Exceptions




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Using Visual Studio 2010




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Using Visual Studio 2010
• Creating applications using Notepad and
  command-line compilers is possible




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Using Visual Studio 2010
• Creating applications using Notepad and
  command-line compilers is possible
   But it's not very efficient




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using Visual Studio 2010
• Creating applications using Notepad and
  command-line compilers is possible
   But it's not very efficient
• Visual Studio provides a huge number of time-
  saving tools, along with built-in compiler
  support




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using Visual Studio 2010
• Creating applications using Notepad and
  command-line compilers is possible
   But it's not very efficient
• Visual Studio provides a huge number of time-
  saving tools, along with built-in compiler
  support
• Supports Visual Basic, C#, and more




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Working with Profile Settings




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
   Options




          Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
   Options
   Menus




          Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
   Options
   Menus
   Key bindings




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
     Options
     Menus
     Key bindings
     Toolbars




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
      Options
      Menus
      Key bindings
      Toolbars
• Pick a profile when you first run Visual Studio



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
      Options
      Menus
      Key bindings
      Toolbars
• Pick a profile when you first run Visual Studio
    Or change it any time


             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Working with Profile Settings
• User profiles allow you to control Visual Studio
  behavior
• Can use pre-set defaults for:
      Options
      Menus
      Key bindings
      Toolbars
• Pick a profile when you first run Visual Studio
    Or change it any time
• Demonstration saves and restores profile
             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Agenda




     Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• Thinking about .NET
• Using Visual Studio 2010
• Debugging and Handling Exceptions




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Debugging and Handling Exceptions




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime
 • Three types of errors:




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime
 • Three types of errors:
    Syntax errors




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime
 • Three types of errors:
    Syntax errors
    Runtime errors




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime
 • Three types of errors:
    Syntax errors
    Runtime errors
    Logic errors




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Debugging and Handling Exceptions
 • No matter how carefully you code
    You'll make coding errors
    Errors will occur at runtime
 • Three types of errors:
    Syntax errors
    Runtime errors
    Logic errors
 • Visual Studio provides powerful tools to help in
   your debugging process

            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Learn More!




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Ad

Recommended

KEY
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
LearnNowOnline
 
PPTX
Tizen Native Application Development with C/C++
Gilang Mentari Hamidy
 
PDF
Cordova + Ionic + MobileFirst
Raymond Camden
 
PDF
Cordova / PhoneGap, mobile apps development with HTML5/JS/CSS
Gabriel Huecas
 
PPTX
Publishing API documentation -- Workshop
Tom Johnson
 
PPTX
Publishing API documentation -- Presentation
Tom Johnson
 
PPTX
Introduction to Apache Cordova (Phonegap)
ejlp12
 
PDF
Samsung Indonesia: Tizen Native App
Ryo Jin
 
PPTX
Components Approach to building Web Apps
Vinci Rufus
 
PDF
Apache cordova
Carlo Bernaschina
 
PPTX
React Native - Build Native Mobile App
Mobio Solutions
 
PDF
Apache Cordova
Ivano Malavolta
 
PDF
Apps with Apache Cordova and Phonegap
Christian Grobmeier
 
PDF
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Nick Landry
 
PPTX
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Tom Johnson
 
PPTX
Docker for .net developer
Tung Nguyen Thanh
 
PPS
Silverlight Demos For Beginners
Gaurav Arora
 
PDF
Introduction to Cross Platform Development with Xamarin/ Visual Studio
IndyMobileNetDev
 
PPTX
API Documentation Workshop tcworld India 2015
Tom Johnson
 
PDF
An overview of the architecture of electron.js
Moon Technolabs Pvt. Ltd.
 
PDF
Cross-platform development frameworks
Carlo Bernaschina
 
PDF
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
PPTX
STC Summit 2015: API Documentation, an Example-Based Approach
Lois Patterson
 
PPTX
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
PDF
Post Windows Mobile: New Application Development Platforms
Barcoding, Inc.
 
PDF
Spring Tools 4 - Eclipse and Beyond
VMware Tanzu
 
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
PPTX
API workshop: Deep dive into Java
Tom Johnson
 
PPTX
System development using visual studio
jeff23_athisbest
 
PDF
Dotnet basics
Mir Majid
 

More Related Content

What's hot (20)

PPTX
Components Approach to building Web Apps
Vinci Rufus
 
PDF
Apache cordova
Carlo Bernaschina
 
PPTX
React Native - Build Native Mobile App
Mobio Solutions
 
PDF
Apache Cordova
Ivano Malavolta
 
PDF
Apps with Apache Cordova and Phonegap
Christian Grobmeier
 
PDF
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Nick Landry
 
PPTX
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Tom Johnson
 
PPTX
Docker for .net developer
Tung Nguyen Thanh
 
PPS
Silverlight Demos For Beginners
Gaurav Arora
 
PDF
Introduction to Cross Platform Development with Xamarin/ Visual Studio
IndyMobileNetDev
 
PPTX
API Documentation Workshop tcworld India 2015
Tom Johnson
 
PDF
An overview of the architecture of electron.js
Moon Technolabs Pvt. Ltd.
 
PDF
Cross-platform development frameworks
Carlo Bernaschina
 
PDF
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
PPTX
STC Summit 2015: API Documentation, an Example-Based Approach
Lois Patterson
 
PPTX
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
PDF
Post Windows Mobile: New Application Development Platforms
Barcoding, Inc.
 
PDF
Spring Tools 4 - Eclipse and Beyond
VMware Tanzu
 
PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
PPTX
API workshop: Deep dive into Java
Tom Johnson
 
Components Approach to building Web Apps
Vinci Rufus
 
Apache cordova
Carlo Bernaschina
 
React Native - Build Native Mobile App
Mobio Solutions
 
Apache Cordova
Ivano Malavolta
 
Apps with Apache Cordova and Phonegap
Christian Grobmeier
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Nick Landry
 
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Tom Johnson
 
Docker for .net developer
Tung Nguyen Thanh
 
Silverlight Demos For Beginners
Gaurav Arora
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
IndyMobileNetDev
 
API Documentation Workshop tcworld India 2015
Tom Johnson
 
An overview of the architecture of electron.js
Moon Technolabs Pvt. Ltd.
 
Cross-platform development frameworks
Carlo Bernaschina
 
Why do developers prefer ionic to build progressive web apps
Moon Technolabs Pvt. Ltd.
 
STC Summit 2015: API Documentation, an Example-Based Approach
Lois Patterson
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Zvika Epstein
 
Post Windows Mobile: New Application Development Platforms
Barcoding, Inc.
 
Spring Tools 4 - Eclipse and Beyond
VMware Tanzu
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Kadhem Soltani
 
API workshop: Deep dive into Java
Tom Johnson
 

Similar to Getting Started with .NET (20)

PPTX
System development using visual studio
jeff23_athisbest
 
PDF
Dotnet basics
Mir Majid
 
PDF
Dot net interview_questions
9292929292
 
PPT
Synapse india fundamentals of dotnet development
Synapseindiappsdevelopment
 
PPT
Visual studio.net
Carlos Posada
 
PDF
.Net Migration
Wadhwani Foundation
 
DOCX
Vb.net class notes
priyadharshini murugan
 
PPTX
Programming
Kapcom Rawal
 
PPTX
Microsoft .Net Technology
vijayakumari kaliannan
 
PPTX
Visual Basic User Interface-III
Sharbani Bhattacharya
 
DOCX
.Net framework by naveen kumar veligeti
Naveen Kumar Veligeti
 
PPTX
Why is .Net Technology Recognised for Software Development?
LOGINPHP360
 
PDF
Why is .Net Technology Recognised for Software Development?
LOGINPHP360
 
PPT
As Pdotnet
balujalabs
 
PPTX
Overview of .Net Framework
Neha Singh
 
PPT
Basic C# and .net
Jannatul Ferdus
 
PPTX
.Net Technologies Lesson 1.pptx
EllenGracePorras
 
PDF
Dot net interview_questions
nehadhamecha
 
PDF
Dot net interview_questions
Jayesh Kheradia
 
System development using visual studio
jeff23_athisbest
 
Dotnet basics
Mir Majid
 
Dot net interview_questions
9292929292
 
Synapse india fundamentals of dotnet development
Synapseindiappsdevelopment
 
Visual studio.net
Carlos Posada
 
.Net Migration
Wadhwani Foundation
 
Vb.net class notes
priyadharshini murugan
 
Programming
Kapcom Rawal
 
Microsoft .Net Technology
vijayakumari kaliannan
 
Visual Basic User Interface-III
Sharbani Bhattacharya
 
.Net framework by naveen kumar veligeti
Naveen Kumar Veligeti
 
Why is .Net Technology Recognised for Software Development?
LOGINPHP360
 
Why is .Net Technology Recognised for Software Development?
LOGINPHP360
 
As Pdotnet
balujalabs
 
Overview of .Net Framework
Neha Singh
 
Basic C# and .net
Jannatul Ferdus
 
.Net Technologies Lesson 1.pptx
EllenGracePorras
 
Dot net interview_questions
nehadhamecha
 
Dot net interview_questions
Jayesh Kheradia
 
Ad

More from LearnNowOnline (20)

PPT
Windows 8: Shapes and Geometries
LearnNowOnline
 
PPT
SQL: Permissions and Data Protection
LearnNowOnline
 
PPT
New in the Visual Studio 2012 IDE
LearnNowOnline
 
KEY
Attributes, reflection, and dynamic programming
LearnNowOnline
 
KEY
Asynchronous Programming
LearnNowOnline
 
KEY
WPF: Working with Data
LearnNowOnline
 
KEY
WPF Binding
LearnNowOnline
 
KEY
A tour of SQL Server
LearnNowOnline
 
KEY
Introducing LINQ
LearnNowOnline
 
KEY
Generics
LearnNowOnline
 
KEY
Object oriented techniques
LearnNowOnline
 
KEY
Object-Oriented JavaScript
LearnNowOnline
 
KEY
SharePoint Document Management
LearnNowOnline
 
KEY
SharePoint: Introduction to InfoPath
LearnNowOnline
 
KEY
Managing site collections
LearnNowOnline
 
KEY
Web API HTTP Pipeline
LearnNowOnline
 
KEY
Web API Basics
LearnNowOnline
 
KEY
SQL Server: Security
LearnNowOnline
 
KEY
Sql 2012 development and programming
LearnNowOnline
 
KEY
What's new in Silverlight 5
LearnNowOnline
 
Windows 8: Shapes and Geometries
LearnNowOnline
 
SQL: Permissions and Data Protection
LearnNowOnline
 
New in the Visual Studio 2012 IDE
LearnNowOnline
 
Attributes, reflection, and dynamic programming
LearnNowOnline
 
Asynchronous Programming
LearnNowOnline
 
WPF: Working with Data
LearnNowOnline
 
WPF Binding
LearnNowOnline
 
A tour of SQL Server
LearnNowOnline
 
Introducing LINQ
LearnNowOnline
 
Generics
LearnNowOnline
 
Object oriented techniques
LearnNowOnline
 
Object-Oriented JavaScript
LearnNowOnline
 
SharePoint Document Management
LearnNowOnline
 
SharePoint: Introduction to InfoPath
LearnNowOnline
 
Managing site collections
LearnNowOnline
 
Web API HTTP Pipeline
LearnNowOnline
 
Web API Basics
LearnNowOnline
 
SQL Server: Security
LearnNowOnline
 
Sql 2012 development and programming
LearnNowOnline
 
What's new in Silverlight 5
LearnNowOnline
 
Ad

Recently uploaded (20)

PPTX
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
PDF
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
PDF
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
PDF
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
PDF
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
PPTX
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
PPTX
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PDF
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
PDF
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
PDF
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 

Getting Started with .NET

  • 1. Getting Started with .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 2. Objectives Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 3. Objectives • Learn the advantages and architecture of the .NET Framework Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 4. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 5. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code • Set up a development profile in Visual Studio .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 6. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code • Set up a development profile in Visual Studio .NET • Create Console Application projects in Visual Studio .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 7. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code • Set up a development profile in Visual Studio .NET • Create Console Application projects in Visual Studio .NET • View the code that Visual Studio generates and understand what it does Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 8. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code • Set up a development profile in Visual Studio .NET • Create Console Application projects in Visual Studio .NET • View the code that Visual Studio generates and understand what it does • Explore the Object Browser in the Integrated Development Environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 9. Objectives • Learn the advantages and architecture of the .NET Framework • Examine sample Microsoft Intermediate Language code • Set up a development profile in Visual Studio .NET • Create Console Application projects in Visual Studio .NET • View the code that Visual Studio generates and understand what it does • Explore the Object Browser in the Integrated Development Environment • Take advantage of Visual Studio’s exception-handling features Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 10. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 11. Agenda • Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 12. Agenda • Thinking about .NET • Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 13. Agenda • Thinking about .NET • Using Visual Studio 2010 • Debugging and Handling Exceptions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 14. What Is .NET, Anyway? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 15. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 16. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 17. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment  Windows apps provide a consistent API for communicating with drivers, devices, and so on Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 18. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment  Windows apps provide a consistent API for communicating with drivers, devices, and so on • 2001: .NET Runtime "sits" on top of Windows Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 19. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment  Windows apps provide a consistent API for communicating with drivers, devices, and so on • 2001: .NET Runtime "sits" on top of Windows  .NET apps require .NET runtime environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 20. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment  Windows apps provide a consistent API for communicating with drivers, devices, and so on • 2001: .NET Runtime "sits" on top of Windows  .NET apps require .NET runtime environment  .NET apps provide a consistent API for working with Windows, data structures, types, and more Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 21. What Is .NET, Anyway? • 1991: Windows "sits" on top of DOS  Windows apps require Windows runtime environment  Windows apps provide a consistent API for communicating with drivers, devices, and so on • 2001: .NET Runtime "sits" on top of Windows  .NET apps require .NET runtime environment  .NET apps provide a consistent API for working with Windows, data structures, types, and more • .NET provides an environment that handles data types, memory management, APIs, and much more Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 22. What Is .NET, Anyway? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 23. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 24. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 25. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 26. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 27. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open  Can program in many different languages Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 28. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open  Can program in many different languages  Can use different tools Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 29. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open  Can program in many different languages  Can use different tools o Not limited to VB/C# and Visual Studio Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 30. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open  Can program in many different languages  Can use different tools o Not limited to VB/C# and Visual Studio  .NET SDK is a free download Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 31. What Is .NET, Anyway? • .NET Framework 2.0: Third version of the Object- oriented programming environment • .NET Framework 3.0: Developed to work with Windows Vista and Windows Server 2008  Can create command-line apps through rich client apps, including Web applications • .NET is open  Can program in many different languages  Can use different tools o Not limited to VB/C# and Visual Studio  .NET SDK is a free download o No need to buy Visual Studio, but it's a lot more productive! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 32. Why .NET? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 33. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 34. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 35. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 36. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example:  Web sites? Required VB Scripting or JScript and HTML Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 37. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example:  Web sites? Required VB Scripting or JScript and HTML  Database apps? SQL/SQL Server Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 38. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example:  Web sites? Required VB Scripting or JScript and HTML  Database apps? SQL/SQL Server  Business applications? Visual Basic Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 39. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example:  Web sites? Required VB Scripting or JScript and HTML  Database apps? SQL/SQL Server  Business applications? Visual Basic  Office applications? VBA Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 40. Why .NET? • Before .NET, software development required mastery of multiple technologies and authoring tools  Manually stitched together various programming tools • For example:  Web sites? Required VB Scripting or JScript and HTML  Database apps? SQL/SQL Server  Business applications? Visual Basic  Office applications? VBA  Streamlined graphics? C++ Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 41. Advantages of .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 42. Advantages of .NET • .NET provides remedies: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 43. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 44. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 45. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 46. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier o Assembly contains and describes unit of deployment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 47. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier o Assembly contains and describes unit of deployment  Versioning issues largely handled without effort Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 48. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier o Assembly contains and describes unit of deployment  Versioning issues largely handled without effort  Assemblies can be digitally signed Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 49. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier o Assembly contains and describes unit of deployment  Versioning issues largely handled without effort  Assemblies can be digitally signed  Unless using COM, no need for registration Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 50. Advantages of .NET • .NET provides remedies:  Object-oriented view of Windows: .NET Framework encapsulates lots of functionality into classes  Application security built in  Deploying applications is easier o Assembly contains and describes unit of deployment  Versioning issues largely handled without effort  Assemblies can be digitally signed  Unless using COM, no need for registration  All .NET languages are interoperable Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 51. .NET Framework Architecture Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 52. .NET Framework Architecture VB C++ C# JScript … Common Language Specification Visual Studio .NET ASP.NET Windows Forms ADO.NET and XML Base Class Library Common Language Runtime Windows COM+ Services Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 53. Common Language Runtime Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 54. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 55. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 56. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 57. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output • CLR manages .NET base services: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 58. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output • CLR manages .NET base services:  Memory management Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 59. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output • CLR manages .NET base services:  Memory management  Garbage collection Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 60. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output • CLR manages .NET base services:  Memory management  Garbage collection  Exception handling Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 61. Common Language Runtime • Common Language Runtime (CLR) provides runtime environment for all .NET applications • CLR's purpose is to load and run applications compiled to Intermediate Language (IL)  Each .NET compiler creates IL as its output • CLR manages .NET base services:  Memory management  Garbage collection  Exception handling  Loading/Running applications Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 62. CLR and Running Code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 63. CLR and Running Code • CLR allows you to run both managed and unmanaged code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 64. CLR and Running Code • CLR allows you to run both managed and unmanaged code  Unmanaged code runs outside the CLR Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 65. CLR and Running Code • CLR allows you to run both managed and unmanaged code  Unmanaged code runs outside the CLR o VB6/C++ code compiled without .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 66. CLR and Running Code • CLR allows you to run both managed and unmanaged code  Unmanaged code runs outside the CLR o VB6/C++ code compiled without .NET  Managed code runs "within" the CLR, and benefits from the CLR's features Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 67. CLR and Compilers Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 68. CLR and Compilers • .NET Compilers create Microsoft Intermediate Language (MSIL, or just IL) as output Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 69. CLR and Compilers • .NET Compilers create Microsoft Intermediate Language (MSIL, or just IL) as output • At execution time, Just-In-Time (JIT) compiler converts code to native executable Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 70. More about JIT Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 71. More about JIT • JIT compiler takes native processor into account Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 72. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 73. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment  Makes decisions about how to optimize code at runtime Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 74. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment  Makes decisions about how to optimize code at runtime • Only needs to compile the application once: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 75. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment  Makes decisions about how to optimize code at runtime • Only needs to compile the application once:  Compiled "bits" cached locally Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 76. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment  Makes decisions about how to optimize code at runtime • Only needs to compile the application once:  Compiled "bits" cached locally  Performance overhead is very slight, if any Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 77. More about JIT • JIT compiler takes native processor into account  Creates code optimized for the local environment  Makes decisions about how to optimize code at runtime • Only needs to compile the application once:  Compiled "bits" cached locally  Performance overhead is very slight, if any • Remember: .NET Runtime/CLR must be installed on client computers in order to run .NET code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 78. .NET Framework Base Class Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 79. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 80. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework  And many classes that make your life as a developer easier Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 81. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework  And many classes that make your life as a developer easier  Library of classes used by all .NET applications Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 82. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework  And many classes that make your life as a developer easier  Library of classes used by all .NET applications • Contains large number of classes (blocks of functionality, including properties, methods, and events) grouped into namespaces Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 83. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework  And many classes that make your life as a developer easier  Library of classes used by all .NET applications • Contains large number of classes (blocks of functionality, including properties, methods, and events) grouped into namespaces  Each class within a namespace has a unique name Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 84. .NET Framework Base Class Library • BCL consists of classes that provide base functionality for .NET Framework  And many classes that make your life as a developer easier  Library of classes used by all .NET applications • Contains large number of classes (blocks of functionality, including properties, methods, and events) grouped into namespaces  Each class within a namespace has a unique name • BCL's namespaces group classes into common blocks of functionality Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 85. Some BCL Namespaces Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 86. Some BCL Namespaces • System Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 87. Some BCL Namespaces • System • System.Data Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 88. Some BCL Namespaces • System • System.Data • System.Diagnostics Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 89. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 90. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 91. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO • System.Text Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 92. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO • System.Text • System.Text.RegularExpressions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 93. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO • System.Text • System.Text.RegularExpressions • System.Web Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 94. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO • System.Text • System.Text.RegularExpressions • System.Web • System.Windows.Forms Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 95. Some BCL Namespaces • System • System.Data • System.Diagnostics • System.Globalization • System.IO • System.Text • System.Text.RegularExpressions • System.Web • System.Windows.Forms • System.Xml Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 96. .NET Languages Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 97. .NET Languages • Microsoft provides several .NET languages: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 98. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 99. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 100. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 101. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more • How do languages interoperate? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 102. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more • How do languages interoperate?  .NET provides: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 103. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more • How do languages interoperate?  .NET provides: o Common Language Specification (CLS): Describes how .NET languages should work Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 104. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more • How do languages interoperate?  .NET provides: o Common Language Specification (CLS): Describes how .NET languages should work o Common Type System (CTS): Describes how data types should work together Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 105. .NET Languages • Microsoft provides several .NET languages:  Visual Basic, Visual C#, C++, JScript  Other vendors provide other languages o Python, Fortran, Cobol, and many more • How do languages interoperate?  .NET provides: o Common Language Specification (CLS): Describes how .NET languages should work o Common Type System (CTS): Describes how data types should work together  In the end: All .NET languages compile to IL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 106. Examining a .NET Application: Introducing Assemblies Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 107. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 108. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly • Theoretically, assembly can contain multiple modules Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 109. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly • Theoretically, assembly can contain multiple modules  Visual Studio only supports creating single-module assemblies Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 110. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly • Theoretically, assembly can contain multiple modules  Visual Studio only supports creating single-module assemblies  Output looks like EXE or DLL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 111. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly • Theoretically, assembly can contain multiple modules  Visual Studio only supports creating single-module assemblies  Output looks like EXE or DLL o Actually contains compiled IL, and information about the assembly Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 112. Examining a .NET Application: Introducing Assemblies • Compile managed code: create assembly • Theoretically, assembly can contain multiple modules  Visual Studio only supports creating single-module assemblies  Output looks like EXE or DLL o Actually contains compiled IL, and information about the assembly  Metadata contains a manifest that describes the assembly, procedures, and types that it exports, along with other required assemblies Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 113. What's in the Manifest? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 114. What's in the Manifest? • Version, name, culture, security requirements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 115. What's in the Manifest? • Version, name, culture, security requirements • List of other files in assembly and cryptographic hash for each file Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 116. What's in the Manifest? • Version, name, culture, security requirements • List of other files in assembly and cryptographic hash for each file • List of public types Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 117. What's in the Manifest? • Version, name, culture, security requirements • List of other files in assembly and cryptographic hash for each file • List of public types • List of external required references Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 118. What's in the Manifest? • Version, name, culture, security requirements • List of other files in assembly and cryptographic hash for each file • List of public types • List of external required references • Use ILDASM.EXE to examine contents Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 119. What Can You Create? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 120. What Can You Create? • .NET allows you to create a large range of applications Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 121. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others): Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 122. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 123. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 124. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application  Class library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 125. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application  Class library  Windows control library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 126. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application  Class library  Windows control library  Web control library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 127. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application  Class library  Windows control library  Web control library  Web application Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 128. What Can You Create? • .NET allows you to create a large range of applications • Visual Studio includes templates for (among others):  Windows application  Console application  Class library  Windows control library  Web control library  Web application  XML Web Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 129. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 130. Agenda • Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 131. Agenda • Thinking about .NET • Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 132. Agenda • Thinking about .NET • Using Visual Studio 2010 • Debugging and Handling Exceptions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 133. Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 134. Using Visual Studio 2010 • Creating applications using Notepad and command-line compilers is possible Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 135. Using Visual Studio 2010 • Creating applications using Notepad and command-line compilers is possible  But it's not very efficient Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 136. Using Visual Studio 2010 • Creating applications using Notepad and command-line compilers is possible  But it's not very efficient • Visual Studio provides a huge number of time- saving tools, along with built-in compiler support Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 137. Using Visual Studio 2010 • Creating applications using Notepad and command-line compilers is possible  But it's not very efficient • Visual Studio provides a huge number of time- saving tools, along with built-in compiler support • Supports Visual Basic, C#, and more Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 138. Working with Profile Settings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 139. Working with Profile Settings • User profiles allow you to control Visual Studio behavior Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 140. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 141. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 142. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 143. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus  Key bindings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 144. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus  Key bindings  Toolbars Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 145. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus  Key bindings  Toolbars • Pick a profile when you first run Visual Studio Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 146. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus  Key bindings  Toolbars • Pick a profile when you first run Visual Studio  Or change it any time Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 147. Working with Profile Settings • User profiles allow you to control Visual Studio behavior • Can use pre-set defaults for:  Options  Menus  Key bindings  Toolbars • Pick a profile when you first run Visual Studio  Or change it any time • Demonstration saves and restores profile Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 148. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 149. Agenda • Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 150. Agenda • Thinking about .NET • Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 151. Agenda • Thinking about .NET • Using Visual Studio 2010 • Debugging and Handling Exceptions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 152. Debugging and Handling Exceptions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 153. Debugging and Handling Exceptions • No matter how carefully you code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 154. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 155. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 156. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime • Three types of errors: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 157. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime • Three types of errors:  Syntax errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 158. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime • Three types of errors:  Syntax errors  Runtime errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 159. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime • Three types of errors:  Syntax errors  Runtime errors  Logic errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 160. Debugging and Handling Exceptions • No matter how carefully you code  You'll make coding errors  Errors will occur at runtime • Three types of errors:  Syntax errors  Runtime errors  Logic errors • Visual Studio provides powerful tools to help in your debugging process Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 161. Learn More! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 162. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company

Editor's Notes