Zoiner Tejada Hershey Technologies. About Zoiner Tejada.

Slides:



Advertisements
Similar presentations
REST Introduction 吴海生 博克软件(杭州)有限公司.
Advertisements

Michael S. Chan xLM Solutions, LLC
Importing and Calling Web Services from your CA Plex Applications Session Code: Lab13 Rob Layzell.
WCF Intro Scott Reed Owner - Brain Hz Software Instructor – DevelopMentor
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Back-End Services Middle Tier Clients Front-End Clients General Services Architecture Services provide functionality to a host of clients RIA's require.
Process (.exe, IIS, …) Activities Activity Library Tooling VS Designer Custom Designer Rehosted Designer Runtime Workflow Activity Programming Model.
VAR318: Developing Service Oriented Workflows Brian Noyes IDesign Inc (
Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –
XML Web Services in Visual Studio ®.NET NameTitleCompany.
 Introduction  WCF Definition  WCF Architecture  Implementation  WCF Demo Overview.
Windows Communication Foundation and Web Services.
CSLA Presenter Sergey Barskiy, senior consultant at Magenic Technologies your questions Send an in order.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
1 Web Services Visual C# 2008 Step by Step Chapter 30.
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.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Eric Vogel Software Developer A.J. Boggs & Company.
.Net Remoting. 2 Distributed Computing under.Net In.Net, there are three levels of access to distributed computing machinery: In.Net, there are three.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
Tom Castiglia Hershey Technologies
Lecture 15 Introduction to Web Services Web Service Applications.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
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.
10 – 12 APRIL 2005 Riyadh, Saudi Arabia. Visual Studio 2005 : New Features for the Web Services Developer Malek Kemmou CEO Arrabeta Consulting Microsoft.
Navigating the Standards Landscape Andrew Owen SEARCH.
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.
1 Introduction to Web Application Introduction to Web Services.
SOA support in.NET Platform overview Primitive SOA support Support for service-orientation principles Contemporary SOA support.
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
Practical Workflow Services Peter Goodman. Agenda  Why Workflow?  The Workflow Runtime  Workflow Services  Windows Server AppFabric  Demo.
Slide 1. Agenda  Introduction to Windows Workflow What is it? What are activities? Hosting  Out of the box Activities  Custom Activities and Dependency.
Agenda Pattern Authenticate a user against UCWA Operations happen using the user’s identity Interact with the UCWA service endpoint Make HTTP requests.
DEV332 Programming for the Middle Tier in Visual Basic.NET Billy Hollis Author / Consultant.
.NET Mobile Application Development XML Web Services.
Endpoints Lesson 17. Skills Matrix Endpoints Endpoints provide a reliable, securable, scalable messaging system that enables SQL Server to communicate.
Brian Noyes Chief Architect IDesign Inc. SOA401 Chief Architect IDesign Inc. ( Microsoft Regional Director MVP Microsoft MVP Connected.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
OE-NIK HP Advanced Programming WCF WCF SOAP service, host, client Exception handling (NOT required)
OE-NIK HP Advanced Programming Web services Standards and protocols Using web services Using web services with asynchronous calls.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
Windows Communication Foundation and Web Services
Introducing the Microsoft® .NET Framework
Automate Custom Solutions Deployment on Office 365 and Azure
ASP.NET Web Forms and Web Services
Windows Communication Foundation and Web Services
Implementing a service-oriented architecture using SOAP
WEB API.
Building event-driven, long-running apps with Windows workflow
The SOAP Story Martin Parry Developer & Platform Group Microsoft Ltd
Web Services Enhancements 2.0
WCF Data Services and Silverlight
Presentation transcript:

Zoiner Tejada Hershey Technologies

About Zoiner Tejada

Overview Provide architectural overview of implementing services with workflow Approaches in.NET 3.0 &.NET 3.5 Various hosting architectures Tie back to SOA and Service Design

Principles of Service Design Standardized Service Contract Service Loose Coupling Service Abstraction Service Reusability Service Autonomy Service Statelessness Service Discoverability Service Composability

What are Workflow Services? Implementing Service Operations with Workflow activities.

Visual Studio Support

Workflow Implementation Options.NET 3.0.NET 3.5+

Service Options – Calling In Workflow Instance Client ASMX Web Proxy Local Service Workflow Instance WCF Service Proxy Client

Service Options – Calling Out Workflow Instance ASMX Web Service Business Object Workflow Instance WCF Service

General Architecture Workflow Interaction Layer ASP.NET Windows Forms Windows Forms WPF Windows Mobile Windows Mobile Tracking Persistence Workflow Runtime Workflow Definitions Workflow Definitions Rules / Policies Interaction Systems System Interactions

Architectural Options Self Hosted Custom Service Host Workflow Service Host IIS Hosted Custom Service Host Workflow Service Host WAS Hosted Custom Service Host Workflow Service Host

Windows Service, Window Forms, WPF App or Console App Workflow Interaction Layer Tracking Persistence Workflow Runtime Workflow Definitions Workflow Definitions Rules / Policies Self Hosted Workflow Services

Approaches to Self Hosting ServiceHost Derived ServiceHost Extended Create a class inherits from IExtension Has property for WorkflowRuntime Attach (from IExtension ) starts Workflow Runtime Detach stops Workflow Runtime Add to serviceHost.Exensions before calling Open

Service Workflow Definitions in 3.0 Local Service Service Operation Invoked Workflow Runtime Workflow A Instance Workflow B Instance Workflow C Instance Workflow X Operation Implementation Calls Method On Local Service Raises Event Handled By Workflow Runtime Workflow Runtime Raises Event On Correct Workflow Instance Workflow Resumes Execution

IIS Hosted Workflow Services SVC WorkflowServiceHostFactory Type XAML file WorkflowServiceHost can provide MEX endpoint for WSDL Limited to HTTP Transport Protocol Message Based Activation Idle-Time Management Process Recyling

WorkflowServiceHost Workflow Interaction Layer Tracking Persistence Workflow Runtime Workflow Definitions Workflow Definitions Rules / Policies IIS SVC File IIS Hosted Workflow Services

DEMO – IIS Hosting SVC

WAS Hosted Workflow Services Requires IIS 7.0 Similar to IIS option, expands to include: TCP Protocol Requires Configuration Change to Application in IIS to add protocols beyond HTTP

Service Workflow Definitions in 3.5 Workflow Service Host Workflow Service Host Client DataUpload WorkflowService DataUpload WorkflowService Proxy WCF Config Workflow Runtime Workflow Runtime WSDL Service Contract UploadData()

Demo - Service Contracts Workflow First Contract First

Context for Workflow Services Workflow Instance Client Workflow Instance WCF Service Proxy Context allows for sending messages to the correct workflow instance. Context is the opaque package of data generated on the server side (workflow side) that is returned to the client like a cookie. The client must include this context in all future requests to be able to communicate with the correct workflow instance. BasicHttpContextBinding (Cookies) WsHttpContextBinding (SOAP Header) NetTcpContextBinding (SOAP Header)

What is in the Context? In Practical Terms, it's usually the WorkflowInstanceId! Stored in a property bag (Idictionary ) described by the ContextMessageProperty type.

Conversations A logical grouping of Receive with Send activities. Disambiguate multiple Receive activities that are waiting on the same Operation, typically within a Parallel activity. It manifests itself as an additional property in the Context, by the name of "conversationId".

DEMO – Context & Conversation

Securing Workflow Services Secure at the Operation Level Authenticate & Authorize at Receive Activity Easy support for Windows Users & Roles OperationValidation event to perform ClaimSet validation Your workflow might not have client credentials all the time. When reacting to a DelayActivity activation.

Principles of Service Design Standardized Service Contract Service Loose Coupling Service Abstraction Service Reusability Service Autonomy Service Statelessness Service Discoverability Service Composability

Summary Three Different Hosting Options Self Hosting IIS IIS /WAS Applying SOA Service design principles with WF 3.5.

Thank You! Questions? Feel free to contact me