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

Slides:



Advertisements
Similar presentations
3/25/2017 8:53 AM Windows Communication Foundation (“Indigo”): A Deep Dive Into Extending The Channel Layer Kenny Wolf, Software Development Engineer.
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Client Tools Explained EAE 3014
C2: Introduction to OpenEdge® Integration Technologies
Advanced Piloting Cruise Plot.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Oct, 26 th, 2010 OGF 30, NSI-WG: Network Service Interface working group Web Services Overview Web Services for NSI protocol implementation
What's a Proxy Printer Provider? PWG WIMS-CIM Working Group Rick Landau Dell, CTO Office 2008/08/08 v0.2.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.
19 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Developing Web Services.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
Presented to: By: Date: Federal Aviation Administration Registry/Repository in a SOA Environment SOA Brown Bag #5 SWIM Team March 9, 2011.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Year 6 mental test 5 second questions
Indigo Jonathan Turnbull Nick Cartwright Ivan Konontsev Chris Bright.
Overview Environment for Internet database connectivity
Introduction to Web Services
CIS* Service-Oriented Computing
Server Access The REST of the Story David Cleary
Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
DevScopeInnovation EventSandro Pereira Azure Service Bus EAI/EDI.
Michael S. Chan xLM Solutions, LLC
1 WSDL: Web Service Description Language Gary Sharp Mike Breakiron.
ABC Technology Project
AppFabric Caching Services:
Matthew Kubicina CIS 764 Kansas State University.
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
Component-Based Software Engineering Main issues: assemble systems out of (reusable) components compatibility of components.
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
XML Web Services Monash University Semester 1, March 2006.
31242/32549 Advanced Internet Programming Advanced Java Programming
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Requirements Analysis Moving to Design b521.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Building an Enterprise Mash-up Platform
Executional Architecture
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors.
Addition 1’s to 20.
25 seconds left…...
Presentation 7 part 2: SOAP & WSDL.
Week 1.
We will resume in: 25 Minutes.
VPN AND REMOTE ACCESS Mohammad S. Hasan 1 VPN and Remote Access.
Presentation 10 SOAP on the Microsoft Platform (.NET)
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
Service-Oriented Architecture INF 123 – Software architecture 1.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
VAR318: Developing Service Oriented Workflows Brian Noyes IDesign Inc (
Windows Communication Foundation and Web Services.
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.
ESB Guidance 2.0 Kevin Gock
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
1 © 2008 Avaya Inc. All rights reserved. IPOffice Configuration Service Emil Ratnam.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
DEVELOPING A MESSAGING SOLUTION WITH MICROSOFT BIZTALK 2013 Ed Jones MCT, MCPD, MCTS.
Virtual techdays INDIA │ august 2010 Deep Dive into WCF 4.0 Features Sarath S S V S │ Program Manager, BING, Microsoft India R&D.
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon

WELCOME TO TWIN CITIES CODE CAMP! P:2P:2

OVERVIEW What does it mean to be SOA? Contracts and Service Implementation Bindings and Behaviors Hosting the Service Consuming WCF Services Whats New in 4.5? P:3P:3

CAMP GOLDY CODE CAMPING RESERVATION SYSTEM A simple service that allows one to make, alter, or cancel a reservation at the Camp Goldy Code Campground The reservation system is available to any client, regardless of type of code, native OS, etc. P:4P:4

SERVICE ORIENTED ARCHITECTURE AND PRINCIPLES P:5P:5

WHAT IS SERVICE ORIENTATION? Service-Oriented Architecture (SOA) is a set of principles and methodologies for designing and developing software in the form of interoperable services. These services are well- defined business functionalities that are built as software components (discrete pieces of code and/or data structures) that can be reused for different purposes. SOA design principles are used during the phases of systems development and integration. -Wikipedia, Service-Oriented Architecture P:6P:6

SOA DESIGN PRINCIPLES Explicit Boundaries Share Contract and Schema, not Classes Autonomous Stateless Interoperable P:7P:7

WHAT IS WCF? Windows Communication Foundation (WCF) is a framework for building service-oriented applications. It is a runtime and a set of APIs for creating systems that send messages between services and clients. WCF is the foundation for other distributed technologies by Microsoft, such as Azure, AppFabric, and BizTalk And speaking of Azure… –Free 90-day trial at –Click Try It Free P:8P:8

HOW IT WORKS: A WCF OVERVIEW P:9P:9

Show the VS solution and projects…. P:10

WCF CONTRACTS Building out service and data contracts P:11

CONTRACTS CAN BE KIND OF STICKY… P:12

WCF CONTRACTS Contracts determine what data and operations are exposed Service contracts define operations Data contracts define the data (duh!) And youve got other contracts, too –Message Contracts –Fault Contracts P:13

A CONTRACT IS JUST A SCHEMA… P:14

SERVICE CONTRACTS & DATA CONTRACTS P:15

CONFIGURING THE SERVICE P:16

BINDINGS The binding controls the messaging details (what happens on the wire) for that endpoint. Common bindings are common recipes as to how WCF will configure the underlying channel stacks. There are countless extensibility points found throughout the WCF channel layer. P:17

ABCS: ADDRESS, BINDING, CONTRACT P:18

HOSTING THE SERVICE P:19

HOSTING THE SERVICE A WCF Service is a library, it has no life of its own The host brings the WCF service to life by providing the process in which it operates. Most of the time, WCF services will run in a ready-made host environment such as Internet Information Server (IIS) or Azure And speaking of Azure… –Free 90-day trial at –Click Try It Free A lot of things require a host! P:20

USING A WCF SERVICE P:21

CONSUMING A SERVICE Because WCF exposes service functionality through open standards, such as SOAP, you can use almost any type of client to consume the service. Allowing a.NET client to consume the service is as easy as creating a service reference or generating a proxy through a command-line utility (svcutil.exe) Non-.NET clients would typically use SOAP to consume a WCF Service P:22

OTHER THINGS YOU CAN DO WITH WCF Secure Services RESTful Services Routing Streaming Data Discovery Web Sockets …and much, much, more P:23

WHATS NEW IN WCF 4.5 Config File Tooltips, IntelliSense Contract-First Generation Generate Classes from Sample XML ASP.NET compatibility mode (aspNetCompatibilityEnabled) defaults to true WCF Configuration Validation Streaming Improvements Single WSDL WebSocket Support ChannelFactory Caching UDP Support HttpClient Class P:24

REFERENCES Wikipedia – Service-Oriented Architecture oriented_architecture oriented_architecture Stefan Tilkov, 10 Principles of SOA John Spacey, The 9 Principles of Service Oriented Design of-soa-designhttp://simplicable.com/new/the-9-principles- of-soa-design MSDN, How to: Host a WCF Service in a Managed Windows Service us/library/ms aspxhttp://msdn.microsoft.com/en- us/library/ms aspx P:25

THANK YOU! Ed Jones, MCT, MCPD (Web, Azure), MCTS (WCF, BizTalk) – –Blog (Extremely Talented Monkeys): P:26