Intro to WCF From the beginning and uses Steve AppRochester.

Slides:



Advertisements
Similar presentations
Ive got WCF Now What? Tech Valley Code Camp 2008 Andrew Badera
Advertisements

Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
Elevated Trust Data Webcam / Mic Rich Text & HTML Hosting Input Improvements Networking.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
1 Nordjyllands Erhvervakademi Windows Communication Foundation Introduction –.Net foundations –Communication Protocols –SOA tenets WCF –Basics –Contracts.
Windows Communication Foundation and Web Services.
Darryl Burling Developer Evangelist Microsoft The age of connected applications Whats new in VS2008 WCF Background: WS*,.Net 3.0 and WCF ABC’s & improvments.
X.509 support in WCF Exploring support for X.509 Certificates in Microsoft’s Windows Communication Foundation Paul Cormier UCCS CS591 Fall 2009.
Adam Dille CS526 – Spring  Advances in Microsoft’s service offerings  ASMX vs. WCF  Latest WCF Improvements (.NET 4.0)  No in-depth study of.
The Microsoft Technical Roadshow 2006 Windows Communication Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Web Services Rob S. Miles | Microsoft MVP | University of Hull, UK Andy Wigley | Microsoft MVP | Appa Mundi Session 11.0.
Switching on the cloud for Silverlight MSDN Live Meeting Gill Cleeren Microsoft Regional Director – Silverlight MVP Ordina Belgium.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
WCF Services in Nutshell A Tutorial using WCF Mr. Michael Arnwine WCF using Service Oriented Architecture (SOA) and “Restful” Service.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
Kay Herzam Herzam IT Consulting What‘s new in ASP.NET MS TechTalk.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
[Title of the course] WCF
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.
Session 10 Windows Platform Eng. Dina Alkhoudari.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Enabling Embedded Systems to access Internet Resources.
1 UCN 2012 Why use distributed (client / server) applications? To connect tiers within the same application... –client & server is both.NET assemblies.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
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.
Developing Web Services Using ASP.NET and WSE That Interoperate with the Windows Communications Foundation ("Indigo") Mark Fussell COM432 Lead Program.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
Telerik Software Academy Web Services & Cloud.
Introducing the ABCs of Windows Communication Foundation | Feb 2006 rickgaribay.net Windows Communication Foundation Hosting & Endpoints Winter 2006.
Windows Communication Foundation David Anderson Independent Software Developer DCOM Productions.
Web Services Security with Visual Studio 2005 Muhammad Saqib Ilyas
Presentation 24: Windows Communication Foundation Introduced Objektorienteret Netværkskommunikation.
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.
SDK Overview Rob DeCarlo Bechtel.
Dhananjay Kumar MVP-Connected System 1. WCF  Agenda What is WCF ? Why WCF? Address, Binding, Contract End Points Hosting Message Patterns Programming.
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
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.
Windows Communication Foundation António Cruz Freelancer (SAPO/PT.COM)
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
Shani Raba Team Leader & Software Architect
OE-NIK HP Advanced Programming WCF WCF SOAP service, host, client Exception handling (NOT required)
Windows Communication Foundation Stipe Ivan Latković.
Nati Dobkin
The Mechanics of HTTP Requests and Responses and network connections.
Windows Communication Foundation and Web Services
Windows Communication Foundation
Segments Introduction: slides 2–7 10 minutes
Windows Communication Foundation
Windows Communication Foundation
Window Communication Foundation
WCF.
Windows Communication Foundation
Windows Communication Foundation (WCF)
Distribution of functionality Webservice using WCF
© 2016, Mike Murach & Associates, Inc.
Windows Communication Foundation and Web Services
Windows Communication Foundation
WEB API.
WSE 3.0 的网络服务安全 Security in WSE 3.0 Hongmei Ge Con321
$, $$, $$$ API testing Edition
Windows Communication Foundation (WCF)
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
WCF Data Services and Silverlight
Erik Porter Program Manager ASP.NET Microsoft Corporation
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Presentation transcript:

Intro to WCF From the beginning and uses Steve AppRochester

Before WCF Sockets Named Pipes TCPIP HTTP MSMQ Everything had a different API that you had to learn. Switching from one to another was not simple.

With WCF we get… Consistent interface for all communication TCP HTTP MSMQ Named Pipes Peer-to-Peer XML configuration to define Endpoints, binding, behaviors, etc Can use code behind instead of XML

ABCs of WCF A – Address the location of the service and the transport protocol used to communicate with the service B – Binding How do I talk to the service Basic binding, TCP binding C – Contract a platform-neutral and standard way of describing what the service does

Examples of ABCs of WCF A – Address net.tcp://localhost:8081/SpeakerService

Examples of ABCs of WCF B – Binding netTcpBinding netPeerTcpBinding basicHttpBinding (SOAP compatible) mexHttpBinding mexHttpsBinding netNamedPipeBinding msmqIntegrationBinding

Examples of ABCs of WCF C – Contract [ServiceContract] public interface ISpeakerService { [OperationContract] SpeakerInfo GetNextSpeaker(); [OperationContract] void AddSpeaker(SpeakerInfo newSpeaker); [OperationContract] IEnumerable GetAllSpeakers(); }

Service Configuration Editor Windows SDK Tools Allows editing of the app.config to add services demo

Service Configuration Editor (cont.)

WCF is just a Web Service? Web ServicesWCF Asmxsvc but can be treated like an asmx HTTP and statelessDifferent hosting environments (IIS, apps, services) SOAP (http and xml)Binary or text data XmlSerializerDataContractSerializer Exceptions are SOAP faultsExceptions can be configured to be handed back to the client

Hosting WCF Services WCF Services can be hosted in many different things. IIS / Azure (ASP.NET project) Apps Windows Services

Using WCF for a Singleton WCF can also be used to implement the Singleton pattern Yes it is overkill, but it will work Demo

WCF as a Web Service Hosted with IIS on a server or in the cloud ASP.NET projects Sync (default) or Async Demo

WCF Goes RESTful NuGet package from MS for WCF REST services Demo

WCF Futures Web API Way to configure wcf for web messaging, even form posts Simplified setup Nuget WebApi.All Jquery Support JSON