Ford McKinstry Group Program Manager Microsoft SOA310 Agenda Quick recap of “Dublin” capabilities Why “Dublin”? …Gain control and insight into your services at runtime Managing .NET 4
Download ReportTranscript Ford McKinstry Group Program Manager Microsoft SOA310 Agenda Quick recap of “Dublin” capabilities Why “Dublin”? …Gain control and insight into your services at runtime Managing .NET 4
Ford McKinstry Group Program Manager Microsoft SOA310 Agenda Quick recap of “Dublin” capabilities Why “Dublin”? …Gain control and insight into your services at runtime Managing .NET 4 WCF and WF services Monitoring feature review Monitoring and troubleshooting .NET 4 WCF and WF services Summary Windows Application Server Extensions (Codename “Dublin”) Visual Studio WF and WCF services “Dublin” System Center Administration Tools .NET Framework IIS/WPAS Windows Server It just works Monitoring and control Evolution of WPAS/IIS and Windows App Server role to run and manage WF and WCF services Continually ship app server value as quickly as possible – first installment: Dev10 wave Add additional releases through Web downloads Tooling and scripting Enterprise-ready extensions “Dublin” Software Stack IIS Manager WCF and WF IIS Manager Modules Management APIs (PowerShell command-lets) Runtime Services and Components Monitoring Runtime Databases WCF WF .NET Framework IIS/WAS System Center Hosting “Dublin” Management Pack Persistence “Dublin” Software Stack IIS Manager WCF and WF IIS Manager Modules Management APIs (PowerShell command-lets) Runtime Services and Components Monitoring Runtime Databases WCF WF .NET Framework IIS/WAS System Center Hosting “Dublin” Management Pack Persistence Scenario Recap From SOA202 Contoso Rugs – Initial customer onboarding process SaaS CRM App Web UI (?) Web Service (WS-*) Sales Customer Billing Application Web UI (ASP.NET) Issues Scaling business Visibility and Control Database (SQL) Scenario recap from SOA202 Long running customer self service portal SaaS CRM Application Web UI Workflow Service Web Service Customer Persistence Database “Dublin” Customer Service Application It just works Monitoring and Control Billing Application WCF Service Database “Dublin” Tooling and scripting Enterprise ready extensions Demo Scenario Deploy an update SaaS CRM Application Web UI Workflow Service Web Service Customer Persistence Database “Dublin” Customer Service Application It just works Monitoring and control Billing Application WCF Service Database “Dublin” Tooling and scripting Enterprise ready extensions Deploy, Control and Configure Deploy, Control, and Configure Summary Deploy Composes with MSDeploy Easy to package applications and deploy across servers MSBuild and VS integration Control Start/Stop/Enumerate applications, services, and instances Suspend, terminate, and resume instances Automatically suspend instances on exceptions Configure Support defaults at different scopes Server: databases, security, system services Applications, Services, and Endoints: persistence, monitoring, common WCF settings All functionality available through PowerShell and IIS Manager tools WCF and WF 3.5 Monitoring Pain Points “Dublin” Monitoring Investments Event Sources Event Transport Monitoring Store Event fidelity Data volumes too high and signal to noise ratio poor WCF and WF event data model not consistent Event distribution Significant performance impact Centralized store for event data No central store to persist and query event data Few options to move monitoring data off-system Monitoring and diagnostics tools Tools Lack of unified tooling across WCF and WF Difficult to configure service monitoring Event Sources Event Transport Monitoring Store Tools Event Sources WCF Application Code Service • Aggregation of WCF and WF event data • Reduced memory requirements • Verbose data to diagnose system errors for developers Workflow WCF & WF Performance Counters Diagnostic Trace WCF Message Logging WCF Analytic Trace WF Tracking • Insight into WF state New logging in .NET 4 • Service and transport• level • Performance improvements • On by(ETW) default • Event Tracing for Windows support ETW support • Key events• in WCF • Performance improvements • ETW integration Event Transport and Collection WCF Application Code Service Workflow WCF & WF Performance Counters .svclog Event Collector Diagnostic Trace PerfCounters WCF Message Logging WCF Analytic Trace ETW WF Tracking Event Sources Event Transport Monitoring Store Tools Event Sources Event Transport Monitoring Store Tools Data Store WCF Application Code Service WCF & WF Performance Counters Monitoring DB .svclog Event Collector Workflow Diagnostic Trace PerfCounters WCF Message Logging WCF Analytic Trace ETW WF Tracking Event Sources Event Transport Monitoring Store Tools Tooling Powershell commandlets Extensions to IIS Manager WCF Application Code Service WCF & WF Performance Counters Monitoring DB .svclog Event Collector Workflow Diagnostic Trace PerfCounters WCF Message Logging WCF Analytic Trace ETW WF Tracking Demo Scenario Billing service fails periodically Customer Service App Web UI SaaS CRM App Web Service Customer Billing Application Monitoring Database WCF/WF Service “Dublin” IT WCF Service “Dublin” Database Quick walkthrough of monitoring: troubleshooting WCF Service Instrumentation Performance Counters Performance Counter Events WCF Operation Events WCF Message Layer Events WCF Error Events Workflow Service Instrumentation Performance Counters Performance Counter Events WF Instance Events WF Activity Events WF Error Events WCF Operation Events WCF Message Layer Events WCF Error Events Instrumentation Level: None Performance Counters Instrumentation Level: Minimal Performance Counters WF Error Events WCF Error Events Instrumentation Level: Health (default) Performance Counters Performance Counter Events WF Instance Events WF Error Events WCF Operation Events WCF Error Events Instrumentation Level: Troubleshooting Performance Counters Performance Counter Events WF Instance Events WF Activity Events WF Error Events WCF Operation Events WCF Message Layer Events WCF Error Events Instrumentation Level: Custom Performance Counters WF Instance Events WF Activity Events WF Error Events WCF Operation Events WCF Error Events Demo Scenario Extracting custom tracking profile data in Excel Customer Service App SaaS CRM App 1 Web Service Web 4 Customer Name, email, billing address, expected purchases 2 Excel 6 Monitoring Database 3 WCF/WF Service “Dublin” Sales Billing Application 5 WCF Service “Dublin” Database Monitoring WF variables and accessing public views from Excel Event Sources Event Transport Monitoring Store Tools Extensibility Powershell commandlets Extensions to IIS Manager Custom PowerShells Custom modules WCF Aggregate PowerShells Custom UI on “Dublin” Code Service scripts Custom queries in “Dublin” tools WCF &database WF Custom queries in other tools Monitoring DB Performance Counters .svclog Event Collector Custom traceWCF listener Diagnostic Trace Message Logging Application Workflow Custom tracking participant WCF Analytic Trace Custom collector PerfCounters ETW WF Tracking Custom ETW collector Monitoring Topologies Server Machine 1 App A Service 1 Monitoring Database 1 ETW Session App A Service 2 Event Collector (NT Service) App B Service 3 Monitoring Database 2 ETW Session App C Service 4 Server Machine 2 App B Service 3 Event Sources Event Transport Monitoring Store Tools ETW Session Event Collector (NT Service) Monitoring / Troubleshooting Summary Event Sources Event Transport Monitoring Store Improved event fidelity Key events enabled by default Unified WCF and WF event data model Event distribution High performance ETW channel Centralized store for event data “Dublin” Monitoring Database Monitoring and diagnostics tools Tools Unified tooling across WCF and WF Tooling to configure service monitoring Scenario Review Customer Service App SaaS CRM App Web Service Web Customer Billing Application Excel WCF/WF Service Monitoring Database “Dublin” WCF Service Database “Dublin” Sales It just works Monitoring and control Tooling and scripting Enterprise ready extensions Resources www.microsoft.com/teched www.microsoft.com/learning Sessions On-Demand & Community Microsoft Certification & Training Resources http://microsoft.com/technet http://microsoft.com/msdn Resources for IT Professionals Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources Related Content Breakout Sessions SOA204 The Microsoft Developer Platform for Building Software-Plus-Services Applications Mon | 1:00-2:15 PM ARC201 A Lap around Team System 2010 Architecture Edition Mon | 2:45-4:00 PM SOA201 A First Look at WCF and WF in the Microsoft .NET Framework 4 Tue | 8:30-9:45 AM SOA202 A Lap around Microsoft Code Name “Dublin” Tue | 2:45-4:00 PM SOA310 Managing, Tracking, and Troubleshooting Services in “Dublin” Tue | 4:30-5:45 PM SOA401 Developing Service Oriented Workflows Wed | 8:30-9:45 AM SOA309 Load Balancing and Scaling Your WCF Services Today and Tomorrow Wed | 4:30-5:45 PM SOA302 Building RESTful Services Using WCF Thu | 10:15-11:30 AM SOA206 Every Class As a Service: WCF As the New Microsoft .NET Thu | 2:45-4:00 PM SOA313 StockTrader Sample Application Case Study: Performance and Java Interop Fri | 10:45-12:00 PM SOA303 Busy Microsoft .NET Developer's Guide to WCF, SOA, and Success Fri | 1:00-2:15 PM Plus… Checkout Interactive theater sessions in the TLC area and hands-on-labs Track Resources SOA www.microsoft.com/soa msdn.microsoft.com/wcf msdn.microsoft.com/wf www.microsoft.com/net msdn.microsoft.com/biztalk www.microsoft.com/biztalk “Dublin” www.microsoft.com/net/dublin “Oslo” msdn.microsoft.com/oslo www.microsoft.com/net/oslo.aspx msdn.microsoft.com/azure/netservices www.microsoft.com/azure/netservices twitter.com/dotnetservices Complete an evaluation on CommNet and enter to win! © 2009 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.