Programming with the Microsoft .NET Framework using Microsoft Visual Studio 2008 - 6368 Course, Class Outline
(5 days)
Overview
This five-day instructor-led course provides students with an introduction to developing n-tier applications for the Microsoft .NET 3.5 environment using Microsoft Visual Studio 2008 SP1. Both this course and the 6367A course prepare the student for the 646x series of Technology Specialist courses.
Audience Profile
This course is intended for software development professionals that have a minimum of six months experience developing applications in an object-oriented environment using C#, Visual Basic, or Java (or students should have completed course 6367).
Students attending this course are planning to use the .NET Framework for future business application development . This course is intended for developers who wish to expand their understanding of application development in the .NET Framework. It provides an initial foundation in .NET that can be built upon with the more advanced .NET training. Programmers attending this course should ensure that they are familiar with the Visual Studio IDE.
Object-oriented programming and the .NET Framework are the basic building blocks that all professional developers need to acquire before moving on to the more advanced courses and TS Certification.
Prerequisites
Before attending this course, students must have:
An understanding of problem-solving techniques that apply to software development
A basic understanding of Web, Macro and 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
Experience in object oriented design and development
At Course Completion
After completing this course, students 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 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 an SMTP mail message
Create and set network credentials
Configure .NET Framework applications
Deploy a .NET Framework application
Build a shared folder implementation
Create a Windows Presentation Foundation application
Course Outline
Module 1: Software Design and Development in Visual Studio 2008
This module helps students to design and develop software 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
Lab : Software Design and Development
Exercise 1: Managing a Software Development Process
Exercise 2: Recommend an Architecture
Exercise 3: Discussion
Module 2: Object-Oriented Programming with Microsoft Visual Studio 2008
This module helps students to design and develop software 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
Lab : Creating Classes in Visual Studio 2008
Exercise 1: Create a Customer and Person Class Using the Class Designer
Exercise 2: Create a BasicProduct and FullProduct in the Code Editor Window
Exercise 3: Extend the DAL to use the a class to pass data
Module 3: Data Validation
This module introduces data validation and explains how to validate Windows Forms and ASP.NET applications.
Lessons
Introduction to Data Validation?
Validating Windows Forms Applications
Validating ASP.NET Applications
Lab : Data Validation
Exercise 1: Adding data validation to the ASP.NET application
Exercise 2: Adding data validation to the sales interface
Module 4: Debugging and Profiling .NET Applications
This module helps students to debug and profile applications using Visual Studio 2008.
Lessons
Code Tracing and Debugging
Application Profiling
Lab : Code Tracing
Exercise 1: Add Tracing to a Windows Forms Application
Module 5: Monitoring and Logging .NET Framework Applications
This module introduces the concept of instrumentation, as well as one of the instrumentation methods.
Lessons
Introduction to Instrumentation
Event Logs
Lab : Monitoring and Logging .NET Framework Applications
Exercise: Writing to a Custom Event Log
Module 6: Testing Microsoft .NET Framework Applications
This module helps students to implement software testing using Visual Studio 2008.
Lessons
Introduction to Software Testing
Using Visual Studio 2008 Testing Tools
Lab : Software Testing
Exercise 1: Using the object test bench
Exercise 2: Creating and running a unit test
Module 7: Introduction to LINQ
This module introduces new language features and LINQ concepts
Lessons
What Is New in VB.NET and C#
Introduction to LINQ
LINQ Data Providers
Lab : Using New Language Features
Exercise 1: Define variables using local type inference
Exercise 2: Define objects using the new object initializers
Exercise 3: Define an anonymous type
Exercise 4: Create an extension method for a string
Exercise 5: Use a Lambda expression
Lab : Simple LINQ-to-Object Queries
Exercise 1: Extract a subset of objects from a collection
Exercise 2: Order the objects according to a specific field
Lab : Using LINQ to Datasets and LINQ to Objects
Exercise 1: Filter the rows of a dataset according to a specific customer code
Module 8: Data Access with LINQ
This module introduces new language features and LINQ concepts
Lessons
LINQ to XML
LINQ to Entities
LINQ to SQL
Lab : Data Access with LINQ
Exercise 1: Replace a XSLT solution with LINQ to XML
Exercise 2: Build a Data Access Layer around a new Entity Framework model of the AdventureWorksLT database
Exercise 3: Build a tool to update Product information in the AdventureWorks database
Module 9: Implementing Security in .NET Applications
This module explains important security concepts and how to apply them in .Microsoft NET Framework applications.
Lessons
Security Overview
Implementing Code Access Security
Implementing Role-Based Security
Using Cryptography Services
Lab : Security in the .NET Framework
Exercise 1: Use Code Access Security to lock down file permissions
Exercise 2: Use role-based security to implement security requirements
Exercise 3: Encrypting data
Module 10: Network Programming
This module explains how to extend our applications onto the network to access resources and send email.
Lessons
Introduction to Network Programming
Setting Credentials
Sending Mail
Lab : Network Programming
Exercise 1: Use Code Access Security to Lock Down File Permissions
Exercise 2: Sending Email on Receipt of an Order
Module 11: Creating Distributed Applications
This module introduces the concept of distributed applications and shows you how to create and consume XML Web services by using the Microsoft .NET Framework and Microsoft Visual Studio 2008. It 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 Webservices
Building Windows Communication Foundation Services and Clients
Lab : Creating a Windows Communication Foundation Service
Exercise 1: Expose the DAL by Means of Web Services
Exercise 2: Adding Windows Communication Foundation to the Solution
Module 12: Configuring .NET Framework Applications
This module helps students to configure applications using Visual Studio 2008.
Lessons
Introduction to Configuring Applications
Using .NET Configuration Files
Lab : Application Configuration
Exercise 1: Set the connectionstring in the web.config File
Exercise 2: Reading an Application Setting from a Configuration File
Module 13: Deploying .NET Framework Applications
This module introduces many of the features and options that Visual Studio 2008 and the Microsoft .NET Framework provide to help you 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
Lab : Deploying a .NET Framework Application
Exercise 1: Publish the MiddleTierWS Web Service and Secure It
Exercise 2: Create a Windows Installer Package for the SalesInterface Application
Exercise 3: Deploy the SalesInterface Application Using Click-Once Deployment Technologies
Module 14: Windows Presentation Foundation Applications
This module introduces the concepts of using the Windows Presentation Foundation (WPF) applications to extend the range and flexibility of the applications that can be developed using the .NET Framework 3.5 and Visual Studio 2008.
Lessons
Introduction to Windows Presentation Foundation
Introduction to XAML
Programming Windows Presentation Foundation Applications
Lab : Building Windows Presentation Foundation Applications
Exercise 1: Creating a Windows Presentation Foundation Application
View outline in Word
AM6368