M6368
Programming with the Microsoft .NET Framework Using Microsoft Visual Studio 2008
Programming with the Microsoft .NET Framework
Using Microsoft Visual Studio 2008 M6368
Course Title: Programming with the Microsoft .NET Framework
Using Microsoft Visual Studio 2008
Course Code: M6368
Version: A
Level: 200
Duration: 5 Days
Course Overview
The Programming with the Microsoft .NET Framework Using Microsoft Visual Studio 2008 M6368 instructor-led training course has been designed to provide an introduction to developing n-tier applications for the Microsoft .NET Framework 3.5 environment using Microsoft Visual Studio 2008 Service Pack 1 (SP1). This course, along with course M6367, aims to prepare candidates for the 646x series of Technology Specialist courses.Target Audience
Candidates who should consider attending the M6368 Microsoft training course are software development professionals that have a minimum of six months experience developing applications in an object-oriented environment using Microsoft Visual C#, Microsoft Visual Basic, or Java.Course Objectives
On successfully completing the M6368 course candidates will be able to:- Manage a software development process
- Create classes in Visual Studio 2008
- Add data validation to ASP.NET and Windows Form applications
- Debug and profile applications
- Monitor and log .NET Framework applications
- Test .NET Framework applications
- Use the new language features in VB.NET and C# that support Language-Integrated Query (LINQ)
- Use LINQ to Datasets, LINQ to Objects, LINQ to XML, LINQ to Entities, and LINQ to SQL
- Implement security in .NET applications
- Create and send a Simple Mail Transfer Protocol (SMTP) mail message
- Create and set network credentials
- Configure .NET Framework applications
- Deploy a .NET Framework application
- Create a Windows Presentation Foundation (WPF) application
Course Prerequisites
Candidates attending the M6368 Microsoft training course are required to have previously attended and completed course M6367: Introduction to Object Oriented Programming using Microsoft Visual Studio 2008. In addition candidates are expected to have: an understanding of problem-solving techniques that apply to software development; a basic understanding of Web, Macro, and Microsoft Windows scripting techniques, and some experience writing scripts; a general understanding of the purpose, function, and features of the .NET Framework; experience using Visual Studio 2008 and object-oriented design and development.Testing and Certification
There are currently no exams or Microsoft Certification directly associated to this course however this course may assist in preparing candidates for other exams that are closely associated with this technology.Course Content
Module 1: Software Design and Development in Visual Studio 2008In this module candidates will learn how to design and develop software by using Visual Studio 2008.
Lessons:
- Introduction to Software Design and Development
- Introduction to Software Development Frameworks and Methodologies
- Introduction to the Microsoft .NET Framework Applications
- N-Tier Application Development
- Managing a Software Development Process
- Recommend an Architecture
- Discussion
- Describe software design and development
- Describe Microsoft .NET Framework Applications
- Describe n-tier development
Module 2: Object-Oriented Programming with Microsoft Visual Studio 2008
In this module candidates will learn how to design and develop software by using Visual Studio 2008.
Lessons:
- Object-Oriented Programming Concepts
- Defining a Class
- Creating a Class Instance
- Introduction to Inheritance
- Defining and Implementing Interfaces
- Creating and Using Delegates and Events
- Generics
- Create a Customer and Person Class Using the Class Designer
- Create a BasicProduct and FullProduct in the Code Editor Window
- Extend the DAL to Use the Class to Pass Data
- Describe object-oriented programming concepts
- Define a class
- Explain how to create a class instance
- Explain how to implement inheritance
- Explain how to define and implement interfaces
- Explain how to create and use delegates and events
- Explain how to create and use generics
Module 3: Data Validation
In this module candidates will learn about data validation, and how to validate Windows Forms and ASP.NET applications.
Lessons:
- Introduction to Data Validation
- Validating Windows Forms Applications
- Validating ASP.NET Applications
- Adding Data Validation to the ASP.NET Application
- Adding Data Validation to the Sales Interface
- Describe the general concepts of data validation
- Describe the technologies and techniques for validating Windows Forms applications
- Describe the technologies and techniques for validating ASP.NET applications
Module 4: Debugging and Profiling .NET Applications
In this module candidates will learn how to debug and profile applications by using Visual Studio 2008.
Lessons:
- Code Tracing and Debugging
- Application Profiling
- Add Tracing to a Windows Forms Application
- Add trace and debug statements to applications to use for debugging
- Use the common language runtime (CLR) Profiler to optimise applications
- Use the Performance Explorer to analyse performance bottlenecks in applications
Module 5: Monitoring and Logging .NET Framework Applications
In this module candidates will learn about the concept of instrumentation, as well an instrumentation method.
Lessons:
- Introduction to Instrumentation
- Event Logs
- Writing to a Custom Event Log
- Discuss the basics of instrumentation
- Name the various technologies that are available for instrumentation
- Explain what event logs are
- Use event logs to instrument an application
Module 6: Testing Microsoft .NET Framework Applications
In this module candidates will learn how to implement software testing by using Visual Studio 2008.
Lessons:
- Introduction to Software Testing
- Using Visual Studio 2008 Testing Tools
- Using the object test bench
- Creating and running a unit test
- Describe the basic concepts behind software testing
- Implement software testing by using the tools available in Visual Studio 2008
Module 7: Introduction to LINQ
In this module candidates will learn about new language features and LINQ concepts.
Lessons:
- What Is New in VB.NET and C#
- Introduction to LINQ
- LINQ Data Providers
- Define variables using local type inference
- Define objects using the new object initialisers
- Define an anonymous type
- Create an extension method for a string
- Use a Lambda expression
- Extract a subset of objects from a collection
- Order the objects according to a specific field
- Filter the rows of a dataset according to a specific customer code
- Describe new language features in Microsoft C# 3.0 and Microsoft VB.NET 9.0
- Describe LINQ
- Describe the basic LINQ architecture
- Describe the various LINQ constructs
- Write a basic LINQ query
- List the various LINQ Data Providers that Microsoft provides
- Use the LINQ to Objects provider
- Use the LINQ to Datasets provider
Module 8: Data Access with LINQ
In this module candidates will learn about new language features and LINQ concepts.
Lessons:
- LINQ to XML
- LINQ to Entities
- LINQ to SQL
- Replace a XSLT Solution with LINQ to XML
- Build a Data Access Layer around a New Entity Framework Model of the AdventureWorksLT Database
- Build a Tool to Update Product Information in the AdventureWorks Database
- Describe LINQ to XML
- Use LINQ to XML to create new XML trees
- Use LINQ to XML to query XML trees
- Describe the Entity Framework
- Describe LINQ to Entities
- Create an Entity Framework Model
- Use the Entity Framework and LINQ to Entities to query a database
- Use the Entity Framework and LINQ to Entities to modify a database
- Describe LINQ to SQL
- Create a LINQ to SQL model
- Use LINQ to SQL to query a database
- Use LINQ to SQL to modify a database
Module 9: Implementing Security in .NET Applications
In this module candidates will learn about important security concepts and how to apply them in .NET Framework applications.
Lessons:
- Security Overview
- Implementing Code Access Security
- Implementing Role-Based Security
- Using Cryptography Services
- Use Code Access Security to Lock Down File Permissions
- Use Role-Based Security to Implement Security Requirements
- Encrypting Data
- Describe security in the .NET Framework
- Implement code access security
- Implement role-based security
- Use the cryptographic services in the .NET Framework
Module 10: Network Programming
In this module candidates will learn how to extend applications onto the network to access resources and send e-mail.
Lessons:
- Introduction to Network Programming
- Setting Credentials
- Sending Mail
- Use Code Access Security to Lock Down File Permissions
- Sending Email on Receipt of an Order
- Explain the basics of network programming
- Create and send a Simple Mail Transfer Protocol (SMTP) mail message
- Create and set network credentials
Module 11: Creating Distributed Applications
In this module candidates will learn about the concept of distributed applications, and how to create and consume XML Web services by using the Microsoft .NET Framework and Visual Studio 2008. The module also covers the key features of Windows Communication Foundation (WCF), and explains how to build WCF services and clients.
Lessons:
- Introduction to Distributed Applications
- Creating and Consuming XML Web Services
- Building Windows Communication Foundation Services and Clients
- Expose the DAL by Using Web Services
- Adding Windows Communication Foundation to the Solution
- Describe the options for creating distributed .NET Framework applications and the key features of WCF
- Create and consume XML Web services
- Build WCF services and clients
Module 12: Configuring .NET Framework Applications
In this module candidates will learn how to configure applications by using Visual Studio 2008.
Lessons:
- Introduction to Configuring Applications
- Using .NET Configuration Files
- Set the connectionstring in the web.config File
- Reading an Application Setting from a Configuration File
- Describe .NET Framework configuration files
- Name the most common configuration files
- Explain how the various configuration files interact
- Configure applications using .NET Framework configuration files
Module 13: Deploying .NET Framework Applications
In this module candidates will learn about many of the features and options that Visual Studio 2008 and the Microsoft .NET Framework provides to help build, test, and deploy applications.
Lessons:
- Introduction to Assemblies
- Overview of MSBuild
- Deploying .NET Framework Applications by Using ClickOnce
- Deploying .NET Framework Applications by Using Windows Installer
- Publish the MiddleTierWS Web Service and Secure It
- Create a Windows Installer Package for the SalesInterface Application
- Deploy the SalesInterface Application Using Click-Once Deployment Technologies
- Describe assemblies, and explain features of assemblies that relate to deployment
- Explain how to use MSBuild to build an application
- Deploy applications by using ClickOnce
- Deploy applications by using Windows Installer
Module 14: Windows Presentation Foundation Applications
In this module candidates will learn about the concepts of using the Windows Presentation Foundation (WPF) applications to extend the range and flexibility of the applications that can be developed by using the .NET Framework 3.5 and Visual Studio 2008.
Lessons:
- Introduction to Windows Presentation Foundation
- Introduction to XAML
- Programming Windows Presentation Foundation Applications
- Creating a Windows Presentation Foundation Application
- Discuss the basic concepts behind WPF applications
- Explain the basic concepts behind Extensible Application Markup Language (XAML)
- Create a simple WPF application

