Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#: +923004446625 -

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

Indigo Jonathan Turnbull Nick Cartwright Ivan Konontsev Chris Bright.
REST Introduction 吴海生 博克软件(杭州)有限公司.
Siebel Web Services Siebel Web Services March, From
Overview of Web Services
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
.NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components.
Presentation 7 part 1: Web Services Introduced. Ingeniørhøjskolen i Århus Slide 2 Outline Definition Overview of Web Services Examples Next Time: SOAP.
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Windows Communication Foundation and Web Services.
What is.NET?. The Clients of.NET a) A new generation of connected application b) Microsoft.NET Framework managed execution c) Allows PCs and other smart.
The Microsoft Technical Roadshow 2006 Windows Communication Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Jon Flanders INT303. About Me  Jon Flanders –  Independent consultant/trainer  BizTalk MVP.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Introduction to Windows Communication Foundation Ruwan Wijesinghe.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
International Telecommunication Union Geneva, 9(pm)-10 February 2009 ITU-T Security Standardization on Mobile Web Services Lee, Jae Seung Special Fellow,
Lecture 15 Introduction to Web Services Web Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
ASP.NET Web API. ASP.NET Members MS Open Source ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor) now all open source ASP.NET MVC 4, ASP.NET.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Visual Studio 2008 and.NET 3.5 provide seamless support for all of the protocols and techniques popular in Web 2.0-style applications. Visual Studio.
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
Mahesh Krishnan, Senior Consultant, Readify Slide 1.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
1 UNIT –II Architecting Web Service. 2 Why SOA? – business point of view  Information Technology (IT) workers face many challenges, including: Limited.
XML and Web Services (II/2546)
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Windows Communication Foundation David Anderson Independent Software Developer DCOM Productions.
06 | HTTP Services with Web API Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
Presentation 24: Windows Communication Foundation Introduced Objektorienteret Netværkskommunikation.
Web Services An Introduction Copyright © Curt Hill.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Dhananjay Kumar MVP-Connected System 1. WCF  Agenda What is WCF ? Why WCF? Address, Binding, Contract End Points Hosting Message Patterns Programming.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
O VERVIEW OF SOA AND WCF Jinaldesai.net – My Thouths And Learnings.
Windows Communication Foundation and Web Services
Sabri Kızanlık Ural Emekçi
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
WEB SERVICES.
Unit – 5 JAVA Web Services
Windows Communication Foundation and Web Services
WEB API.
The future of distributed systems architecture
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Distributed System using Web Services
WEB SERVICES From Chapter 19, Distributed Systems
Introduction to Web Services and SOA
Distributed System using Web Services
WCF Data Services and Silverlight
Presentation transcript:

Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:

Introducing Windows Communication Foundation (WCF) Next Generation Connected System on Windows

In this Lecture Connected Systems Overview The move towards “Services” Service-Orientation Introduction to WCF WCF Programming model basics Common WCF Questions

What is Connected Systems? Development of distributed applications under service- oriented architecture (SOA). Interface An Application that is distributed across multiple computer nodes

WCF Internet -HTTP Intranet -TCP How it works?

What Is Windows Communication Foundation?.NET Framework provided WCF to build distributed Applications and services. ▫In older days COM, COM+, DCOM, Web Services using XML, SOAP, JSON etc WCF provides a model with which you can implement services that conform to many commonly-accepted styles and standards, including SOAP, XML, and JSON. Additionally, WCF supports many Microsoft-specific technologies for building components, such as Enterprise Services and Microsoft Message Queue (MSMQ), and supports a unified programming model for many of these technologies.

Windows Communication Foundation Technologies work within the same network environment, specific to Microsoft family OS such as COM, DCOM, COM+, Enterprise Services, and.NET Framework Remoting Technologies work within the same network environment, specific to Microsoft family OS such as COM, DCOM, COM+, Enterprise Services, and.NET Framework Remoting Technologies work within the same network environment and over WWW such as web services Technologies work within the same network environment and over WWW such as web services

Windows Communication Foundation Moving towards Services Market Demand for technology freedom and interoperability is common now Services exposes units of functionality via messaging Interop achived via Standard Protocols and message formats Application Windows “I do.NET!” Service Linux “I do Java!” Service Mainframe “I do Cobol!” Service HTTP XML SOAP RSS

Service Design Philosophies Service Oriented Architecture Protocol Representational State Transfer Typically used in Enterprise Applications Typically used in Public Facing Web Scenarios

SOAP Transaction

SOAP Format Envelope Header Security RM Transactions Body XML Format Envelope Header Security RM Transactions Body XML Format

RESTful Services RESTful services typically embrace HTTP, the “Web” transport. ▫HTTP methods GET, PUT, POST, or DELETE etc Services are modeled as “Resources” as with Unique Identifiers (URI’s) ▫ /invoice/123www.myWebsite.com/POST /invoice/123 ▫ ▫ ▫ Resources can be presented as XML, RSS, JSON etc

SOA (Service Oriented Architecture) SOA is a design paradigm for separation of concerns. ▫Focused on autonomy, explicit boundaries, contracts & policies. ▫Design principles help achieve a Service Oriented Architecture. ▫SOA says nothing about technology – room for both SOAP & REST

Windows Communication Foundation Technologies work within the same network environment, specific to Microsoft family OS such as COM, DCOM, COM+, Enterprise Services, and.NET Framework Remoting Technologies work within the same network environment, specific to Microsoft family OS such as COM, DCOM, COM+, Enterprise Services, and.NET Framework Remoting Technologies work within the same network environment and over WWW such as web services Technologies work within the same network environment and over WWW such as web services

Introducing WCF WCF namespace ▫System.ServiceModel.dll Just one way to write the code Application Computer 1 WCF Service Computer 3 WCF Service Computer 2 WCF Service MSMQ Binary HTTP RSS TCP SOAP Distributed Object Style SOAP based RESTful Style

Just one way to write code Interfaces Services Contracts

Many ways to connect with dots Endpoints ▫Configure endpoints to different communication options. Rest over HTTP SOAP + WS-* over MSMQ SOAP + WS-* over TCP

Create WCF Service

Auto Generated Code ▫Two Service Files  Interface  Service ▫Interface  using namespace “System.ServiceModel”  Define “Service Contract”  Define “Operation Contract”

Create WCF Service ▫Service  Implement “Interface” in the Service class  Write “Operation Contracts” in Service class

Create WCF Service System.ServiceModel.Web ▫The System.ServiceModel.Web namespace contains types that you can use to build WCF services

Create WCF Service System.Runtime.Serialization ▫WCF uses the classes in the System.Runtime.Serialization namespace to convert objects into a stream of data suitable for transmitting over the network (a process known as serialization). It also uses them to convert a stream of data received from the network back into objects (deserialization)

Create WCF Service Contracts ▫Data Contracts  Namespace:- System.Runtime.Serialization  Data Member (Expose Members) ▫Service Contracts  Namespace:- System.ServiceModel  Used in Interface  Operation Contract (Expose Operation Members) ▫Operation Contract ▫Method Contract

App.Config Configure “EndPoints”

Create WCF Service Service Configuration

EndPoints ▫All communication with a Windows Communication Foundation (WCF) service occurs through the endpoints of the service ▫Each endpoint consists of four properties:  Address  An address that indicates where the endpoint can be found.  Binding  A binding that specifies how a client can communicate with the endpoint.  Contract  A contract that identifies the operations available.  Behavior  A set of behaviors that specify local implementation details of the endpoint.

Service Configuration Structure of EndPoints ▫Address  The address uniquely identifies the endpoint and tells potential consumers of the service where it is located. It is represented in the WCF object model by the EndpointAddress class. An EndpointAddress class contains:  URI Property 

WCF vs Web Api WCF is Microsoft’s unified programming model for building service-oriented applications. It enables developers to build secure, reliable, transacted solutions that integrate across platforms and interoperate with existing investments. ASP.NET Web APIis a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the.NET Framework. This topic presents some guidance to help you decide which technology will best meet your needs.

WCF vs Web Api