Service Model Programming Model Only WCF Services can leverage AppFabric.

Slides:



Advertisements
Similar presentations
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
Advertisements

WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
1 Windows Communication Foundation Adapters in BizTalk Server 2006 R2 Ulrich Roxburgh Services2 Ltd. SOA307.
Back-End Services Middle Tier Clients Front-End Clients General Services Architecture Services provide functionality to a host of clients RIA's require.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
Chapter 11 – Interfaces and Polymorphism. Chapter Goals Learn about interfaces Learn about interfaces Convert between class and interface references Convert.
VAR318: Developing Service Oriented Workflows Brian Noyes IDesign Inc (
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Windows Communication Foundation and Web Services.
WCF Service WF Workflow Client Operation WCF endpoint External Service External Service External Service External Service.
The Microsoft Technical Roadshow 2006 Windows Communication Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Basics of Securing Workflow Services Introducing the Workflow Services Security Pack (WFSP)
Overview of options for monitoring & troubleshooting.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
State of Delaware Department of Natural Resources and Environmental Control.
2 Instant Messaging Your Route To Millions Dr. Neil Roodyn.
Unified Modeling Language
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
[Title of the course] WCF
Timothy Heeney| Microsoft Corporation. Discuss the purpose of Identity Federation Explain how to implement Identity Federation Explain how Identity Federation.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
Agenda What Is the Windows Communication Foundation? How Does It Work? How Do I Use and Deploy It? Bindings Addresses Contracts How to host WCF services.
 Ed Pinto PM Microsoft Corporation. Host “Dublin”(IIS/WAS + App Server Extensions) Microsoft ®.NET Workflow Service.exe Host “Dublin”(IIS/WAS + App.
SOA Visão Geral das Funcionalidades de Descoberta e Roteamento de Serviços em WCF 4.
Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
1 Windows Communication Foundation: Integrating COM+ and MSMQ Applications Andy Milligan COM305 Program Manager Microsoft Corporation.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Intro to WCF From the beginning and uses Steve AppRochester.
Nov.2011 Progress of Relay Agent Encapsulation for DHCPv4.
Concepts and capabilities Key takeaway #1 Standardized integration stack Key takeaway #2 Enhanced integration features Key takeaway #3 Integration considerations.
Paul Johansen – October Mankato.NET Users Group. Agenda  WCF Essentials  Bunch o’ demos Coding from scratch Why the Visual Studio tools suck  Additional.
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
Virtual techdays INDIA │ august 2010 Deep Dive into WCF 4.0 Features Sarath S S V S │ Program Manager, BING, Microsoft India R&D.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Office Business Applications Workshop Defining Business Process and Workflows.
Telerik Software Academy Web Services & Cloud.
2 Productive Windows Communication Foundation Jeremy Boyd Mindscape MSDN Regional Director – New Zealand SOA315.
Jini Architecture Introduction System Overview An Example.
Windows Communication Foundation David Anderson Independent Software Developer DCOM Productions.
Presentation 24: Windows Communication Foundation Introduced Objektorienteret Netværkskommunikation.
Ken Casada Developer Evangelist Microsoft Switzerland
Chapter 5. Service describes End Point Exposes Messages Sends/Receives Contracts Binds to Service Consumer implements Policy governed by Sends/Receives.
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
Workflow Service Host Persistence (Instances) Persistence (Instances) Monitoring Activity Library Receive Send... Management Endpoint Persistence Behavior.
MID314. demo Endpoint Service WSDL C C B B A C C B B A A Address Where? C C Contract What? Contract What? B B Binding How? Binding How? Client.
CSI WG / IETF741/12 Implementation of SeND/CGA and Extensions Beijing University of Posts and Telecommunications HUAWEI.
Aaron Skonnard President/CEO, Pluralsight SESSION CODE: ASI312.
Shani Raba Team Leader & Software Architect
OE-NIK HP Advanced Programming WCF WCF SOAP service, host, client Exception handling (NOT required)
ALL THINGS IIS TERRI DONAHUE
Windows Communication Foundation and Web Services
WCF 4.0: Routing & Discovery Services
Windows Communication Foundation
Windows Communication Foundation
Windows Communication Foundation
Improving searches through community clustering of information
Configuring and Hosting WCF Services
Window Communication Foundation
Chapter 11 – Interfaces and Polymorphism
Windows Communication Foundation and Web Services
אפליקציות אסינכרוניות ל-Windows 10
Building event-driven, long-running apps with Windows workflow
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
Why We Need Car Parking Systems - Wohr Parking Systems
Types of Stack Parking Systems Offered by Wohr Parking Systems
利用IIS部署與維護 SOA應用程式的技巧
Add Title.
Presentation transcript:

Service Model Programming Model

Only WCF Services can leverage AppFabric

Define service Host in AppFabric Test with WCF Test Client

Define service contract and entities Implement service Configure service Host in IIS & AppFabric Test with WCF Test Client

Host (IIS | AppFabric ) Service Configuration (web.config) Service Endpoint Address ( Binding(basicHttp) Service Contract (ICalculator) Host Service Implementation Service Contract Data Contract Service Endpoint (Address, Binding Contract) Service Behavior Key Service Concepts Service Contract (ICalculator) Operations (signatures) double Add(double a, double b) double GetArea(Rectangle r) Operations (signatures) double Add(double a, double b) double GetArea(Rectangle r) Service Implementation (MyCalc: ICalculator) Operations (implementation) double Add(double a, double b) double GetArea(Rectangle r) Operations (implementation) double Add(double a, double b) double GetArea(Rectangle r) Service Behaviors (Metadata) Data Contract Rectangle double width, double height Rectangle double width, double height

Create Client App Add Reference to Data Contract Assemblies (optional) Add Service Reference Instantiate Proxy Call Methods on Proxy

Proxy Endpoints Messages Service Instance Key Client Concepts Client Service Instance Proxy Instance (MyCalcClient) Client Configuration (app.config) Client Endpoint Address ( Binding(basicHttp) Service Contract (ICalculator) proxy.Add(5,2 ) Send Message Add(5,2) Receive Message 7

11

Tracked Events Normal Operation: ServiceHost events Aggregates for Operations Completed Calls Troubleshooting: Throttling Service Exceptions User Defined Errors Failed Calls Faulted Calls 14

15

16

DiagnosticSection config = (DiagnosticSection) WebConfigurationManager.GetSection("system.serviceModel/diagnostics"); providerId = new Guid(config.EtwProviderId); myEventProvider = new EventProvider(providerId); errorDescriptor = new EventDescriptor(ErrorEventId, Version, Channel, ErrorLevel, Opcode, Task, Keywords); myEventProvider.WriteEvent(ref errorDescriptor, title, serviceName, errorMessage); error event id's 301,302,303 mean error, warning, info respectively WCFUserEventProvider eventWriter = new WCFUserEventProvider(); eventWriter.WriteErrorEvent(“AddOperation”, “An error occurred.”);

Introducing WCF Services