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

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Web RoleWorker Role At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
demo.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
vdir2 Web. config Echo. svc A A B B C C vdir2 vdir1.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Operating System for the Cloud Runs applications in the cloud Provides Storage Application Management Windows Azure ideal for applications needing:
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
Windows Communications Foundation ("Indigo"): Developing Manageable Web Services Alex Weinert COM308R Lead Program Manager Windows Communication Foundation.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
public class Foo { Bar _bar; public Foo() { this._bar = new Bar(); } public class Foo { IBar _bar; public Foo(IBar barDependency) {

Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
SPC2012 – IT-Pro 11/30/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Title of Presentation 12/2/2018 3:48 PM
TechEd /4/2018 3:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

CON 307 Developing Manageable WCF Services Chris Peiris | Avanade Rory Primrose | Avanade

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

CTO Key Performance Indicators Dependable (secure & preserve integrity) ResponsivePredictable Measure Productivity Enterprise Models ZachmanTOGAF 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

Unified Programming Model

The SOA Journey Point-to-Point Message Based

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?

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

TheHard/Long(useful)Part TheFun/ShortPart The Life And Times… HUMANConceptualizationConceptionBirthChildhood Teen Angst Productive Years The Golden Years SOFTWAREDesign/ArchDevelopmentDeploymentConfigurationTroubleshootingMonitoringReconfiguration ROI

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?

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

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

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

Method #1 - The Configuration System What goes in code Business logic What goes in config ContractsEndpointsBindingsBehaviorsDiagnostics

# 1 – The Configuration System

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

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

#2 – WMI Objects

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

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

#3 - Tracing and Message Logging

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

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

#4 –Performance Counters

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

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

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

Questions?

Resources At Tech Ed 2006 CON308 (.NET 3.0) Windows Communication Foundation: Building Secure Services CON310 (.NET 3.0) Windows Communication Foundation: Designing Bindings and Contracts CON316 (BTS) Integration of BizTalk Server 2006 and Windows Workflow Foundation. CON412 (.NET 2.0) Framework 2.0: Integration Inside Out! Links / Blogs / Books WCF Virtual Labs Chris Peiris – Professional WCF – Practical Microsoft SOA Implementation Tom Archer - Determining Which Build of Windows Vista and.NET 3.0 Development Tools is Right for You - Juval Lowy - Discover Mighty Instance Management Techniques For Developing WCF Apps, June MSDN Mag

© 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.