1 / 29

CON 307 Developing Manageable WCF Services

CON 307 Developing Manageable WCF Services. Chris Peiris | Avanade www.chrispeiris.com Rory Primrose | Avanade www.neovolve.com. Agenda. Business Value of WCF What does a CTO expect from an integration technology? Unified Programming Model Why manage Services? Business value?

minya
Download Presentation

CON 307 Developing Manageable WCF Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CON 307Developing Manageable WCF Services Chris Peiris | Avanade www.chrispeiris.com Rory Primrose | Avanade www.neovolve.com

  2. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  3. CTO Key Performance Indicators • Dependable (secure & preserve integrity) • Responsive • Predictable • Measure Productivity • Enterprise Models • Zachman • TOGAF • MS Motion • Three Key Takeaways • Unified Programming model • WCF become the unified communication mechanism • ROI is delivered by a well managed efficient system – NOT the cutting edge snazzy marketing material

  4. Unified Programming Model

  5. Message Based Point-to-Point The SOA Journey

  6. Microsoft & SOA • Provides the best integrated, cost effective, interoperable, and scalable SOA Platform • Windows Servers, BizTalk Server, SQL Server, .NET Framework, Visual Studio .NET, CSF,… • Connected Systems Division • BizTalk Server • Business Activity Monitoring • Windows Communication Foundation • WS-* compliant • Windows Workflow Foundation • How do we communicate with each other?

  7. What Does WCF offer to the Enterprise • Where are we? • Do we have unified MS offering to compliment MS Server technology? • Can WCF be the answer? • MQ = WCF • EAI Message Broker = Biztalk V.Next • Mapping done by Biztalk Mapper • Unified API to invoke ALL windows server technology • Use Adapters (i.e. SAP, Oracle) for non MS products

  8. HUMAN Conceptualization Conception Birth Childhood Teen Angst Productive Years The Golden Years SOFTWARE Design/Arch Development Deployment Configuration Troubleshooting Monitoring Reconfiguration The Life And Times… The Fun/Short Part The Hard/Long (useful) Part ROI

  9. The Challenge • We are putting basic instrumentation, control mechanisms, diagnostics “in the box” with WCF • Much of what you’ve had to code in the past is now done for you in the framework • You’ll get manageable Web Services with WCF even if you don’t code for manageability • You can raise the bar for manageability! • Now that you don’t need to write timer code to determine latency, throughput, error rates… • What can you do with that same investment?

  10. What Does WCF Offer? • Configuration driven • Implementing logging and tracing • Using performance counters • WCF out of the box • Create custom counters • WMI objects. • Out of the box • Creating specified WMI objects • Leveraging new .NET 3.0 utilities • Configuration Editor • Trace Viewer

  11. Coding a WCF Service - The Basics • Service Contract • Contracts are interfaces • Service • Implements the contract to provide business logic for the server endpoint • Service instancing • Host • Hosts the service to make it available to clients • Self-hosted services • Client • Implements a UI to consume the service for the client endpoint

  12. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  13. Method #1 - The Configuration System • What goes in code • Business logic • What goes in config • Contracts • Endpoints • Bindings • Behaviors • Diagnostics

  14. # 1 – The Configuration System

  15. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  16. Method #2 - WMI Objects • Allows a service to be queried by WMI • Remote management for running services • Remote monitoring for running services

  17. #2 – WMI Objects

  18. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  19. Method #3 - Using Tracing and Message Logging • Tracing • Using SvcTraceViewer.exe • WCF tracing support • Message Logging • Logging custom messages

  20. #3 - Tracing and Message Logging

  21. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  22. Method #4 - Performance Counters • WCF includes inbuilt counters that require no coding effort • Offers comprehensive monitoring of services currently running • Custom performance counter support with minimal code • Remote performance monitoring

  23. #4 –Performance Counters

  24. Agenda • Business Value of WCF • What does a CTO expect from an integration technology? • Unified Programming Model • Why manage Services? Business value? • Built in WCF Management Features • Configuration based - SvcConfigEditor • Integrating Windows Management Instrumentation • Tracing and Logging - SvcTraceViewer • Performance Monitoring • Summary and Questions

  25. WCF Benefits from Managing Services • Improves Custom Development • Improves Enterprise Integration • Improves Information Management/Collaboration • Improves Business Intelligence • Protects Business Strategy • Increases agility • Decreases costs • Increases process transparency

  26. Summary • WCF Apps are manageable out of the box • Deployment flexibility • SLA monitoring • End to end diagnostics • You can make them even better • Create Management Endpoints • Add instrumentation • Build custom UI for admins

  27. Questions?

  28. Resources

  29. © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related