Everything About Windows Workflow Foundation (WF)

The DispatcherTimer Windows Workflow Foundation (WF) Tutorial provides you with basic and solid understanding of what WF is and how you can use it in different kind of applications. Tutorial An Introduction to Windows Workflow Foundation Create a simple Workflow Create and host Workflow services Please subscribe to the blog on any other new topics ...

WF Tutorial, Part 2: Create a simple Workflow

15. December 2013 Workflow Foundation 15
This tutorial is the second part of Dispatcher Timer Windows Workflow Foundation tutorial series. << An Introduction to Windows Workflow Foundation Create and host Workflow services >> Download the sample project In this tutorial I’m going to show you how you can create a very simple Workflow application to ask the user’s name and greets her ...

Windows PowerShell Tutorial

06. December 2013 PowerShell, Tutorial 3
In this tutorial the basics of Windows PowerShell is explained with examples. Only read this article if you need a fast going-through Windows PowerShell basics and if you don’t have time to read the great tutorial by Jesse Hamrick on PowerShell Pro which this article is mostly based on. This article is mostly useful from ...

Everything about Windows Communication Foundation

01. December 2013 Tutorial, WCF 0
WCF Tutorial The WCF tutorial is a walk-through which provides the reader with basics of WCF. The contents of this tutorial have gathered mostly from the book Professional C# 2012 and .NET 4.5 by Christian Nagel and the author’s personal notes. WCF Tutorial, Part 1: Introduction WCF Tutorial, Part 2: Create a Simple Service and ...

WCF Duplex Communication Tutorial

01. December 2013 WCF 0
The client starts the connection to the service. After the client connects to the service, the service can call back into the client. Duplex communication can be done with the WsHttpBinding and the NetTcpBinding as well as by using WebSocket protocol. Contract For duplex communication a callback contract must be specified that is implemented in ...

WCF Duplex Communication Security Configurations

01. December 2013 WCF 1
Consider the scenario where the WCF Service has been hosted on Server A where it provides call back contracts for clients to be registered with and get notifications. In order to make the communication works some security settings must be considered. Without defining these configurations the server will be blocking the creation of any channel ...

How to implement and configure two contracts on one WCF service

01. December 2013 WCF 4
In this article demonstrates how you can implement two WCF Service Contracts on one Service and how to configure the service to support it. This became useful in duplex communications where the service needs to expose two different bindings. Consider the following scenario: The Service exposes two endpoints: wsDualHttpBinding and basicHttpBinding. Clients will be create ...

How to Call a WCF Service from Windows PowerShell

01. December 2013 PowerShell, WCF 1
You can call your WCF operation from PowerShell. What you need is to use New-WebServiceProxy cmdlet. New-WebServiceProxy will create a proxy object in order to communicate with the service. Look at the example below: $uri = \"http://192.168.0.1/SampleService.svc?wsdl\" $srv = New-WebServiceProxy -Uri $uri -UseDefaultCredential $result = \"false\" $resultSp = \"false\" $date = (Get-Date).ToString(\"yyyy/MM/dd hh:mm:ss\") $ srv.NotifyStatus(\"Type ...

WCF Tutorial, Part 7: Create WCF Client

01. December 2013 WCF 0
The client application can be of any type from a simple console application to a WPF application. We will use WPF application for demonstration. Add a new WPF Application to the solution and name it as RoomReservationClient Start the service and add the service reference to this project with the name RoomReservationService Doing so will ...