SlideShare ist ein Scribd-Unternehmen logo
1 von 162
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

Weitere ähnliche Inhalte

Was ist angesagt?

Components Approach to building Web Apps
Components Approach to building Web AppsComponents Approach to building Web Apps
Components Approach to building Web AppsVinci Rufus
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile AppMobio Solutions
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapChristian Grobmeier
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGapJoseph Labrecque
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapNick Landry
 
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...Tom Johnson
 
Silverlight Demos For Beginners
Silverlight Demos For BeginnersSilverlight Demos For Beginners
Silverlight Demos For BeginnersGaurav Arora
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIndyMobileNetDev
 
API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015Tom Johnson
 
An overview of the architecture of electron.js
An overview of the architecture of electron.jsAn overview of the architecture of electron.js
An overview of the architecture of electron.jsMoon Technolabs Pvt. Ltd.
 
Cross-platform development frameworks
Cross-platform development frameworksCross-platform development frameworks
Cross-platform development frameworksCarlo Bernaschina
 
Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps Moon Technolabs Pvt. Ltd.
 
STC Summit 2015: API Documentation, an Example-Based Approach
STC Summit 2015: API Documentation, an Example-Based ApproachSTC Summit 2015: API Documentation, an Example-Based Approach
STC Summit 2015: API Documentation, an Example-Based ApproachLois Patterson
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSZvika Epstein
 
Post Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsPost Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsBarcoding, Inc.
 
Spring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondSpring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondVMware Tanzu
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicKadhem Soltani
 

Was ist angesagt? (20)

Components Approach to building Web Apps
Components Approach to building Web AppsComponents Approach to building Web Apps
Components Approach to building Web Apps
 
Apache cordova
Apache cordovaApache cordova
Apache cordova
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile App
 
Apache Cordova
Apache CordovaApache Cordova
Apache Cordova
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and Phonegap
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
Survival Strategies for API Documentation: Presentation to Southwestern Ontar...
 
Docker for .net developer
Docker for .net developerDocker for .net developer
Docker for .net developer
 
Silverlight Demos For Beginners
Silverlight Demos For BeginnersSilverlight Demos For Beginners
Silverlight Demos For Beginners
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual Studio
 
API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015
 
An overview of the architecture of electron.js
An overview of the architecture of electron.jsAn overview of the architecture of electron.js
An overview of the architecture of electron.js
 
Cross-platform development frameworks
Cross-platform development frameworksCross-platform development frameworks
Cross-platform development frameworks
 
Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps
 
STC Summit 2015: API Documentation, an Example-Based Approach
STC Summit 2015: API Documentation, an Example-Based ApproachSTC Summit 2015: API Documentation, an Example-Based Approach
STC Summit 2015: API Documentation, an Example-Based Approach
 
Hybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJSHybrid vs. Native app - Ionic Framework with AngularJS
Hybrid vs. Native app - Ionic Framework with AngularJS
 
Post Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development PlatformsPost Windows Mobile: New Application Development Platforms
Post Windows Mobile: New Application Development Platforms
 
Spring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and BeyondSpring Tools 4 - Eclipse and Beyond
Spring Tools 4 - Eclipse and Beyond
 
Building Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and IonicBuilding Mobile Apps with Cordova , AngularJS and Ionic
Building Mobile Apps with Cordova , AngularJS and Ionic
 

Ähnlich wie Getting Started with .NET

New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDELearnNowOnline
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET FrameworkLearnNowOnline
 
Top 6 DevOps Tools For Web Development In 2022.pdf
Top 6 DevOps Tools For Web Development In 2022.pdfTop 6 DevOps Tools For Web Development In 2022.pdf
Top 6 DevOps Tools For Web Development In 2022.pdfSatawareTechnologies6
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net FrameworkNeha Singh
 
Why Codeigniter Development Services are preferred?
Why Codeigniter Development Services are preferred?Why Codeigniter Development Services are preferred?
Why Codeigniter Development Services are preferred?NCode Technologies Inc.
 
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSDevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSatSistemas
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .netjayc8586
 
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer ToolsA Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer ToolsAmazon Web Services
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Brian Culver
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern DesktopOren Novotny
 
Net training in bhubaneswar
Net training in bhubaneswar Net training in bhubaneswar
Net training in bhubaneswar litbbsr
 
Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni
 
Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();dotNet Miami
 
Built Cross-Platform Application with .NET Core Development.pdf
Built Cross-Platform Application with .NET Core Development.pdfBuilt Cross-Platform Application with .NET Core Development.pdf
Built Cross-Platform Application with .NET Core Development.pdfI-Verve Inc
 
Velox software .Net training institute
Velox software .Net training instituteVelox software .Net training institute
Velox software .Net training instituteVelox Trainigo
 
Jim Bello Resume
Jim Bello ResumeJim Bello Resume
Jim Bello Resumejimbelo
 

Ähnlich wie Getting Started with .NET (20)

New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
 
Using The .NET Framework
Using The .NET FrameworkUsing The .NET Framework
Using The .NET Framework
 
Top 6 DevOps Tools For Web Development In 2022.pdf
Top 6 DevOps Tools For Web Development In 2022.pdfTop 6 DevOps Tools For Web Development In 2022.pdf
Top 6 DevOps Tools For Web Development In 2022.pdf
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net Framework
 
Why Codeigniter Development Services are preferred?
Why Codeigniter Development Services are preferred?Why Codeigniter Development Services are preferred?
Why Codeigniter Development Services are preferred?
 
dot net
dot netdot net
dot net
 
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWSDevOps Spain 2019. Pedro Mendoza-AWS
DevOps Spain 2019. Pedro Mendoza-AWS
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
Chandrasekharmeruva
ChandrasekharmeruvaChandrasekharmeruva
Chandrasekharmeruva
 
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer ToolsA Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
A Tale of Two Pizzas: Accelerating Software Delivery with AWS Developer Tools
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Convert your Full Trust Solutions to the SharePoint Framework (SPFx)
 
(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop(WPF + WinForms) * .NET Core = Modern Desktop
(WPF + WinForms) * .NET Core = Modern Desktop
 
Net training in bhubaneswar
Net training in bhubaneswar Net training in bhubaneswar
Net training in bhubaneswar
 
Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - Updated
 
BadesahebKBichu
BadesahebKBichuBadesahebKBichu
BadesahebKBichu
 
ASP.pptx
ASP.pptxASP.pptx
ASP.pptx
 
Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();Staying connected: An Overview of Announcements from Microsoft’s Connect();
Staying connected: An Overview of Announcements from Microsoft’s Connect();
 
Built Cross-Platform Application with .NET Core Development.pdf
Built Cross-Platform Application with .NET Core Development.pdfBuilt Cross-Platform Application with .NET Core Development.pdf
Built Cross-Platform Application with .NET Core Development.pdf
 
Velox software .Net training institute
Velox software .Net training instituteVelox software .Net training institute
Velox software .Net training institute
 
Jim Bello Resume
Jim Bello ResumeJim Bello Resume
Jim Bello Resume
 

Mehr von LearnNowOnline

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesLearnNowOnline
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionLearnNowOnline
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingLearnNowOnline
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous ProgrammingLearnNowOnline
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with DataLearnNowOnline
 
Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniquesLearnNowOnline
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScriptLearnNowOnline
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document ManagementLearnNowOnline
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathLearnNowOnline
 
Managing site collections
Managing site collectionsManaging site collections
Managing site collectionsLearnNowOnline
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programmingLearnNowOnline
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5LearnNowOnline
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCLearnNowOnline
 

Mehr von LearnNowOnline (20)

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and Geometries
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data Protection
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programming
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous Programming
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with Data
 
WPF Binding
WPF BindingWPF Binding
WPF Binding
 
A tour of SQL Server
A tour of SQL ServerA tour of SQL Server
A tour of SQL Server
 
Introducing LINQ
Introducing LINQIntroducing LINQ
Introducing LINQ
 
Generics
GenericsGenerics
Generics
 
Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniques
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScript
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document Management
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPath
 
Managing site collections
Managing site collectionsManaging site collections
Managing site collections
 
Web API HTTP Pipeline
Web API HTTP PipelineWeb API HTTP Pipeline
Web API HTTP Pipeline
 
Web API Basics
Web API BasicsWeb API Basics
Web API Basics
 
SQL Server: Security
SQL Server: SecuritySQL Server: Security
SQL Server: Security
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programming
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVC
 

Kürzlich hochgeladen

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

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

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. \n
  91. \n
  92. \n
  93. \n
  94. \n
  95. \n
  96. \n
  97. \n
  98. \n
  99. \n
  100. \n
  101. \n
  102. \n
  103. \n
  104. Possible DEMO\nUsing the command-line compiler to build a console application\n
  105. Possible DEMO\nUsing the command-line compiler to build a console application\n
  106. Possible DEMO\nUsing the command-line compiler to build a console application\n
  107. Possible DEMO\nUsing the command-line compiler to build a console application\n
  108. Possible DEMO\nUsing the command-line compiler to build a console application\n
  109. Possible DEMO\nUsing the command-line compiler to build a console application\n
  110. Possible DEMO\nUsing the command-line compiler to build a console application\n
  111. Possible DEMO\nUsing the command-line compiler to build a console application\n
  112. Possible DEMO\nUsing the command-line compiler to build a console application\n
  113. \n
  114. \n
  115. \n
  116. \n
  117. \n
  118. \n
  119. \n
  120. \n
  121. \n
  122. \n
  123. \n
  124. \n
  125. \n
  126. \n
  127. \n
  128. \n
  129. \n
  130. \n
  131. \n
  132. \n
  133. \n
  134. \n
  135. \n
  136. \n
  137. \n
  138. \n
  139. \n
  140. DEMO: rest of section\n