Getting Started with .NET      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Tr...
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.learnnowonlin...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
Objectives• Learn the advantages and architecture of the .NET  Framework• Examine sample Microsoft Intermediate Language c...
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 Develop...
Agenda• Thinking about .NET• Using Visual Studio 2010          Learn More @ http://www.learnnowonline.com             Copy...
Agenda• Thinking about .NET• Using Visual Studio 2010• Debugging and Handling Exceptions         Learn More @ http://www.l...
What Is .NET, Anyway?      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Traini...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS         Learn More @ http://www.learnnowonline.com            Co...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment          Lea...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment   Windows a...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment   Windows a...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment   Windows a...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment   Windows a...
What Is .NET, Anyway?• 1991: Windows "sits" on top of DOS   Windows apps require Windows runtime environment   Windows a...
What Is .NET, Anyway?      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Traini...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment           Learn ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
What Is .NET, Anyway?• .NET Framework 2.0: Third version of the Object-  oriented programming environment• .NET Framework ...
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          Lear...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Why .NET?• Before .NET, software development required  mastery of multiple technologies and authoring  tools   Manually s...
Advantages of .NET      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Training ...
Advantages of .NET• .NET provides remedies:         Learn More @ http://www.learnnowonline.com            Copyright © by A...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
Advantages of .NET• .NET provides remedies:   Object-oriented view of Windows: .NET Framework    encapsulates lots of fun...
.NET Framework Architecture      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers ...
.NET Framework ArchitectureVB     C++         C#           JScript                  … Common Language Specification       ...
Common Language Runtime     Learn More @ http://www.learnnowonline.com        Copyright © by Application Developers Traini...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications          Le...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
Common Language Runtime• Common Language Runtime (CLR) provides  runtime environment for all .NET applications• CLRs purpo...
CLR and Running Code      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Trainin...
CLR and Running Code• CLR allows you to run both managed and  unmanaged code         Learn More @ http://www.learnnowonlin...
CLR and Running Code• CLR allows you to run both managed and  unmanaged code   Unmanaged code runs outside the CLR       ...
CLR and Running Code• CLR allows you to run both managed and  unmanaged code   Unmanaged code runs outside the CLR     o ...
CLR and Running Code• CLR allows you to run both managed and  unmanaged code   Unmanaged code runs outside the CLR     o ...
CLR and Compilers      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Training C...
CLR and Compilers• .NET Compilers create Microsoft Intermediate  Language (MSIL, or just IL) as output          Learn More...
CLR and Compilers• .NET Compilers create Microsoft Intermediate  Language (MSIL, or just IL) as output• At execution time,...
More about JIT      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Training Comp...
More about JIT• JIT compiler takes native processor into account          Learn More @ http://www.learnnowonline.com      ...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment      ...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment   Ma...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment   Ma...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment   Ma...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment   Ma...
More about JIT• JIT compiler takes native processor into account   Creates code optimized for the local environment   Ma...
.NET Framework Base Class Library        Learn More @ http://www.learnnowonline.com           Copyright © by Application D...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework          ...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework    And m...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework    And m...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework    And m...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework    And m...
.NET Framework Base Class Library • BCL consists of classes that provide base   functionality for .NET Framework    And m...
Some BCL Namespaces      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Training...
Some BCL Namespaces• System           Learn More @ http://www.learnnowonline.com              Copyright © by Application D...
Some BCL Namespaces• System• System.Data         Learn More @ http://www.learnnowonline.com            Copyright © by Appl...
Some BCL Namespaces• System• System.Data• System.Diagnostics         Learn More @ http://www.learnnowonline.com           ...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization            Learn More @ http://...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO            Learn M...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO•   System.Text    ...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO•   System.Text•   ...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO•   System.Text•   ...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO•   System.Text•   ...
Some BCL Namespaces•   System•   System.Data•   System.Diagnostics•   System.Globalization•   System.IO•   System.Text•   ...
.NET Languages      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Training Comp...
.NET Languages• Microsoft provides several .NET languages:          Learn More @ http://www.learnnowonline.com            ...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript          Learn More @ ...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
.NET Languages• Microsoft provides several .NET languages:   Visual Basic, Visual C#, C++, JScript   Other vendors provi...
Examining a .NET Application:Introducing Assemblies       Learn More @ http://www.learnnowonline.com          Copyright © ...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly         Learn More @ http://www...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly• Theoretically, assembly can co...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly• Theoretically, assembly can co...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly• Theoretically, assembly can co...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly• Theoretically, assembly can co...
Examining a .NET Application:Introducing Assemblies• Compile managed code: create assembly• Theoretically, assembly can co...
Whats in the Manifest?       Learn More @ http://www.learnnowonline.com          Copyright © by Application Developers Tra...
Whats in the Manifest?• Version, name, culture, security requirements          Learn More @ http://www.learnnowonline.com ...
Whats in the Manifest?• Version, name, culture, security requirements• List of other files in assembly and cryptographic  ...
Whats in the Manifest?• Version, name, culture, security requirements• List of other files in assembly and cryptographic  ...
Whats in the Manifest?• Version, name, culture, security requirements• List of other files in assembly and cryptographic  ...
Whats in the Manifest?• Version, name, culture, security requirements• List of other files in assembly and cryptographic  ...
What Can You Create?      Learn More @ http://www.learnnowonline.com         Copyright © by Application Developers Trainin...
What Can You Create?• .NET allows you to create a large range of  applications          Learn More @ http://www.learnnowon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
What Can You Create?• .NET allows you to create a large range of  applications• Visual Studio includes templates for (amon...
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 Devel...
Agenda• Thinking about .NET• Using Visual Studio 2010         Learn More @ http://www.learnnowonline.com            Copyri...
Agenda• Thinking about .NET• Using Visual Studio 2010• Debugging and Handling Exceptions         Learn More @ http://www.l...
Using Visual Studio 2010       Learn More @ http://www.learnnowonline.com          Copyright © by Application Developers T...
Using Visual Studio 2010• Creating applications using Notepad and  command-line compilers is possible          Learn More ...
Using Visual Studio 2010• Creating applications using Notepad and  command-line compilers is possible   But its not very ...
Using Visual Studio 2010• Creating applications using Notepad and  command-line compilers is possible   But its not very ...
Using Visual Studio 2010• Creating applications using Notepad and  command-line compilers is possible   But its not very ...
Working with Profile Settings       Learn More @ http://www.learnnowonline.com          Copyright © by Application Develop...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior          Learn More @ http://www...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
Working with Profile Settings• User profiles allow you to control Visual Studio  behavior• Can use pre-set defaults for:  ...
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 Devel...
Agenda• Thinking about .NET• Using Visual Studio 2010          Learn More @ http://www.learnnowonline.com             Copy...
Agenda• Thinking about .NET• Using Visual Studio 2010• Debugging and Handling Exceptions        Learn More @ http://www.le...
Debugging and Handling Exceptions        Learn More @ http://www.learnnowonline.com           Copyright © by Application D...
Debugging and Handling Exceptions • No matter how carefully you code           Learn More @ http://www.learnnowonline.com ...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors           Learn More @ h...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
Debugging and Handling Exceptions • No matter how carefully you code    Youll make coding errors    Errors will occur at...
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 ...
Upcoming SlideShare
Loading in...5
×

Getting Started with .NET

401

Published on

Learn the advantages and architecture of the .NET Framework.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
401
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • Possible DEMO\nUsing the command-line compiler to build a console application\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • DEMO: rest of section\n
  • Getting Started with .NET

    1. 1. Getting Started with .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    2. 2. Objectives Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    3. 3. Objectives• Learn the advantages and architecture of the .NET Framework Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    4. 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. 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. 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. 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. 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. 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. 10. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    11. 11. Agenda• Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    12. 12. Agenda• Thinking about .NET• Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    13. 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. 14. What Is .NET, Anyway? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    15. 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. 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. 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. 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. 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. 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. 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. 22. What Is .NET, Anyway? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    23. 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. 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. 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. 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. 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. 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. 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. 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. 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 its a lot more productive! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    32. 32. Why .NET? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    33. 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. 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. 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. 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. 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. 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. 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. 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. 41. Advantages of .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    42. 42. Advantages of .NET• .NET provides remedies: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    43. 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. 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. 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. 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. 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. 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. 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. 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. 51. .NET Framework Architecture Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    52. 52. .NET Framework ArchitectureVB 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. 53. Common Language Runtime Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    54. 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. 55. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 56. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 57. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 58. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 59. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 60. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 61. Common Language Runtime• Common Language Runtime (CLR) provides runtime environment for all .NET applications• CLRs 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. 62. CLR and Running Code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    63. 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. 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. 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. 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 CLRs features Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    67. 67. CLR and Compilers Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    68. 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. 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. 70. More about JIT Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    71. 71. More about JIT• JIT compiler takes native processor into account Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    72. 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. 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. 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. 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. 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. 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. 78. .NET Framework Base Class Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    79. 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. 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. 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. 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. 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. 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 • BCLs namespaces group classes into common blocks of functionality Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    85. 85. Some BCL Namespaces Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    86. 86. Some BCL Namespaces• System Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    87. 87. Some BCL Namespaces• System• System.Data Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    88. 88. Some BCL Namespaces• System• System.Data• System.Diagnostics Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    89. 89. Some BCL Namespaces• System• System.Data• System.Diagnostics• System.Globalization Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    90. 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. 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. 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. 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. 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. 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. 96. .NET Languages Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    97. 97. .NET Languages• Microsoft provides several .NET languages: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    98. 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. 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. 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. 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. 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. 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. 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. 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. 106. Examining a .NET Application:Introducing Assemblies Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    107. 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. 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. 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. 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. 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. 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. 113. Whats in the Manifest? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    114. 114. Whats in the Manifest?• Version, name, culture, security requirements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    115. 115. Whats 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. 116. Whats 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. 117. Whats 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. 118. Whats 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. 119. What Can You Create? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    120. 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. 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. 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. 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. 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. 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. 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. 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. 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. 129. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    130. 130. Agenda• Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    131. 131. Agenda• Thinking about .NET• Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    132. 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. 133. Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    134. 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. 135. Using Visual Studio 2010• Creating applications using Notepad and command-line compilers is possible  But its not very efficient Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    136. 136. Using Visual Studio 2010• Creating applications using Notepad and command-line compilers is possible  But its 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. 137. Using Visual Studio 2010• Creating applications using Notepad and command-line compilers is possible  But its 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. 138. Working with Profile Settings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    139. 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. 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. 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. 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. 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. 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. 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. 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. 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. 148. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    149. 149. Agenda• Thinking about .NET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    150. 150. Agenda• Thinking about .NET• Using Visual Studio 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    151. 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. 152. Debugging and Handling Exceptions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    153. 153. Debugging and Handling Exceptions • No matter how carefully you code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    154. 154. Debugging and Handling Exceptions • No matter how carefully you code  Youll make coding errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    155. 155. Debugging and Handling Exceptions • No matter how carefully you code  Youll make coding errors  Errors will occur at runtime Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    156. 156. Debugging and Handling Exceptions • No matter how carefully you code  Youll 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. 157. Debugging and Handling Exceptions • No matter how carefully you code  Youll 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. 158. Debugging and Handling Exceptions • No matter how carefully you code  Youll 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. 159. Debugging and Handling Exceptions • No matter how carefully you code  Youll 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. 160. Debugging and Handling Exceptions • No matter how carefully you code  Youll 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. 161. Learn More! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
    162. 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

    ×