SE202 - Constructing Services in .NET using WCF

Download the course description

Aims
This course teaches developers how to build services in .NET, in particular through using the WCF Framework. The course covers all of the basics of Web services and how to create them, how to consume them, how to debug them and how to monitor them. Some of the more important WS-* specifications are covered along with how they are applied. Design and implementation issues are addressed, and important policy considerations are discussed.

Objectives
Understand the basic concepts of services
Understand the basic web services technology stack
Understand the .NET Web Services tools and frameworks
Understand how to create basic service providers
Understand how to create basic service consumers
Understand the different data binding techniques use when implementing services
Understand the different message exchange patterns
Understand the basic principles of publishing services
Understand the various WS-* specifications and how they are utilized
Understand how to monitor and debug services
Understand how to test services
Understand the best practices in .NET service oriented development

Audience
This course is designed for software developers who need to build, test and deploy the actual services.

Prerequisites
Service Oriented Design Course Familiarity with .NET, C# and XML Familiarity with Microsoft Visual Studio IDE

Duration
1 Day

Outline

  1. Web Services Overview
    • Review of WS-I Basic Profile
    • Review of important WS-* standards
  2. Why create services in .NET
    • A history of .NET
    • Web Services and .NET Core Concepts
  3. Overview of .NET Web Service Development
    • Services Oriented Design review
    • Services Oriented Design artifacts
    • Overview of .NET toolset
  4. Generating a Simple Service Provider
    • Review of Contract First Development
    • Working with WSDL documents
    • Generating .NET Service Skeletons
    • Understanding WSDL to .NET Conversion Parameters
    • Examining Generated code
    • Overview of where Service Implementation needs to take place
  5. Building and Deploying a Simple Service Provider
    • Utilizing Generated Build Scripts
    • Overview of Default Data Binding
    • Deploying a .NET Service Provider
  6. Invoking a Simple Service
    • Generating the Client Stub
    • Inspection of Generated Code
    • Consuming the Simple Service Provider
  7. Messaging Exchange Patterns
    • Utilizing Asynchronous Service Invocations
    • Consumer-based Threading
    • Service Provider to Consumer Callback
  8. Error Handling
    • Understanding Web Service Faults
    • Creating a useful Fault in the Service Provider
    • Gracefully handle Faults in a Service Consumer
  9. Alternative Means of Service Provide Creation
    • Exposing interfaces as services
    • Exposing classes as services
    • Pros and Cons
  10. Services Publishing
    • Overview of UDDI
    • Pros and Cons of Service Publishing
    • Publishing Subscriptions
  11. Security and Policy
    • Protecting Services with WS-Security
    • Using WS-Security Policy
    • Integration with existing security
  12. Transactions
    • Review of WS-Atomic Transaction
    • Review of WS-Business Activity
    • Local Transactions versus Distributed Transactions
  13. Testing
    • Generating Test Cases based upon Service Contract
    • Executing Test Cases
    • Discussion of positive and negative testing
    • Testing Best Practices
  14. Summary
    • Review of Key Issues
    • Commonly referenced Best Practices
    • Industry Consortium Overview
    • Industry Standard XML Vocabularies
    • Useful Tools

More Information

For more information about this course, please submit an inquiry and we will contact you to discuss your needs.

Return to the course list