WCFStormHost User Guide

Similar documents
Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

NSi Mobile Installation Guide. Version 6.2

4cast Client Specification and Installation

How To Install Outlook Addin On A 32 Bit Computer

SAS 9.3 Foundation for Microsoft Windows

TECHNICAL DOCUMENTATION SPECOPS DEPLOY / APP 4.7 DOCUMENTATION

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

4.0 SP1 ( ) November P Xerox FreeFlow Core Installation Guide: Windows Server 2008 R2

Secret Server Installation Windows Server 2008 R2

SpamTitan Outlook Addin v1.1 Installation Instructions

Ekran System Help File

Microsoft Corporation. Project Server 2010 Installation Guide

Installing SQL Express. For CribMaster 9.2 and Later

Upgrading MySQL from 32-bit to 64-bit

Trax Attendance Manager Full Installation (Windows XP, 32 bit Windows Vista, or 32 bit Windows 7)

FrontDesk. (Server Software Installation) Ver

Secret Server Installation Windows Server 2012

INSTALL AND CONFIGURATION GUIDE. Atlas 5.1 for Microsoft Dynamics AX

FieldIT Limited FieldIT CRM. Installation Manual v1.3.i3 (Enterprise Install)

Outlook Add-in Deployment Guide

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

CYCLOPE let s talk productivity

Microsoft Dynamics GP. Business Analyzer

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

NAS 253 Introduction to Backup Plan

Installation Guide for Pulse on Windows Server 2008R2

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Installation Notes for Outpost Network Security (ONS) version 3.2

Secure Messaging Server Console... 2

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Exchange Server Backup and Restore

RSA Security Analytics

Setting Up a Unisphere Management Station for the VNX Series P/N Revision A01 January 5, 2010

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Snow Active Directory Discovery

Acronis Backup & Recovery 11

XMap 7 Administration Guide. Last updated on 12/13/2009

Issue Tracking Anywhere Installation Guide

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

There are numerous ways to access monitors:

DBMoto 6.5 Setup Guide for SQL Server Transactional Replications

Installing Oracle 12c Enterprise on Windows 7 64-Bit

Mirtrak 6 Powered by Cyclope

Migrating MSDE to Microsoft SQL 2008 R2 Express

Dream Report Version 4.5

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

Getting Started with ODM

Install SQL Server 2014 Express Edition

Crystal Reports Installation Guide

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

MaxSea TZ: Microsoft SQL Server problems End User

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Installing Crystal Reports XI. Installing Crystal Reports XI

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Introduction and Overview

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

SPHOL325: SharePoint Server 2013 Search Connectors and Using BCS

Changing Your Cameleon Server IP

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

DriveLock Quick Start Guide

Practice Fusion API Client Installation Guide for Windows

Installing and Configuring Microsoft Dynamics Outlook Plugin to Use with ipipeline MS CRM

QUANTIFY INSTALLATION GUIDE

Application Manager. Installation and Upgrade Guide. Version 8 FR6

Contents. Chapter 1 Introducing virtualized Microsoft Office Chapter 2 Packaging Microsoft Office... 5

Juris Installation / Upgrade Guide

Customizing the SSOSessionTimeout.jsp page for Kofax Front Office Server 3.5.2

WINDOWS 64-BIT INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

File Share Navigator Online 1

Team Foundation Server 2013 Installation Guide

SageCRM 6.1. What s New Guide

How to Configure Windows 8.1 to run ereports on IE11

Workflow Conductor for SharePoint 2010

ilaw Installation Procedure

Richmond SupportDesk Web Reports Module For Richmond SupportDesk v6.72. User Guide

M4 Systems. Remittance (ER) User Guide

How do I EVOLVE to Best Practice Software?

FTP Server Configuration

Why Use Blackboard Content System to Store Documents One Time

INSTALLING SQL SERVER 2012 EXPRESS WITH ADVANCED SERVICES FOR REDHORSE CRM

Omgeo OASYS Workstation Installation Guide. Version 6.4 December 13, 2011

Access It! Universal Web Client Integration

SQL EXPRESS INSTALLATION...

Exercise Safe Commands and Audit Trail

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

SELF SERVICE RESET PASSWORD MANAGEMENT GPO DISTRIBUTION GUIDE

Laptop Backup - User Guide (Windows)

Cascaded Lookup 5.0 User Guide

Upgrade Guide BES12. Version 12.1

Network installation guide. Version th February 2015

Configuring and Integrating Oracle

Hands-On Lab. Web Development in Visual Studio Lab version: Last updated: 12/10/2010. Page 1

Setting Up a Windows Virtual Machine for SANS FOR526

Installation Manual Version 8.5 (w/sql Server 2005)

PRIME Installation Guide

Transcription:

WCFStormHost User Guide WcfStorm Solutions Pte. Ltd. 1/14/2012

1 Table of Contents 1 Installation Steps... 3 2 Quick Start... 5 2.1 Hosting a WCF Service... 5 2.1.1 Steps to host a service... 6 3 Getting to Know the Menus... 9 3.1 Main Menu Strip... 9 3.2 WCF Service Host Menus... 10 3.2.1 Service Information... 10 3.2.2 Service Configuration... 10 3.2.3 Message Inspector... 11 3.2.4 Runtime Statistics... 12 3.2.5 Service Exceptions... 12 4 So how does it work?... 13 5 Hosting a REST Service... 14 5.1 Hosting using WebServiceHost... 14 5.2 Using REST Starter Kit (Using WebServiceHost2)... 14 6 Executing netsh... 19 7 Viewing runtime messages... 14 8 Viewing runtime service exceptions... 15 9 Running WCFStormHost in Server Mode... 16 2

1 Installation Steps 1. Download the latest release from http://www.wcfstorm.com 2. Extract the zip file. It will contain 2 folders, x86 and x64. X86 is for 32-bit platforms, while x64 is for 64-bit platforms. Each folder contains the installers for its targeted platform. Choose the one appropriate for your system. 3. If you have.net 3.5 SP1 (or higher) installed, run WcfStormHostSetup.msi. If you re unsure, run setup.exe. Setup.exe will need a working internet connection to download any prerequisites. 4. Follow the installation wizard until completion 3

4 Note : On Windows Vista, Windows 7, Windows Server 2008 (and R2), Click Yes on the UAC prompt to continue the installation.

5. Click Start WcfStorm Host WcfStormHost to run the application 2 Quick Start 2.1 Hosting a WCF Service Before Starting: Before you can host a service, you must first have the WCF service assemblies to host. This link (http://msdn.microsoft.com/en-us/library/bb386386.aspx) describes the steps to create a WCF Service using Visual Studio. In this guide, well be hosting 2 WCF Services (MyTestSvc and MyTestSvc2) 5

2.1.1 Steps to host a service 1. Open WCFStormHost Administration Service (Start WCFStorm Host WCFStormHost) 2. The 1 st time, WcfstormHost is used, the license agreement window will be shown. Click I Agree if you agree on license terms. 3. The main window will be shown. In the message box, click Yes to select the folder where the wcf assemblies are located. 6

4. Enter the path to folder where the WCF Service assemblies are located. Click OK to have WCFStormHost scan the folder for WCF assemblies and config files. 5. Configure the WCF Service. Click OK. Note: The option to select the.net 4.0 runtime (v4.0.30319) is available only if the runtime is installed on the server and if the WCF assemblies were built to target either.net 3.5 or 4.0 7

If the WCF Service being hosted is using an http endpoint and the Current User (selected in step #5 above) does not have access to it, the message box below will be shown. Click Yes to open the netsh command window and give the Current User (In this case, WIN-6EARNEOTMT6\Pogi) access to the url http://+:81/httpendpoint/1 Click OK. Go back to Step #4 to reload the service again. 6. If the services are hosted correctly, it will be shown the tree view. 8

3 Getting to Know the Menus 3.1 Main Menu Strip Host Service New Group 9

Refresh Restart All Close All Terminate All Create List Open List Activate 3.2 WCF Service Host Menus To bring up the Service Host menus, select the service in the server tree view. 3.2.1 Service Information o Displays information regarding service o Open (call ServiceHost.Open() ) the host o Close (call ServiceHost.Close() ) the host o Terminate the host i.e. Kill the host processes o Refresh the displayed information 3.2.2 Service Configuration o View/Edit the configuration file with a text editor having syntax highlighting 10

o o o Keep Config stores the config file in the internal wcfstormhost database. Trace adds the System.ServiceModel tracing configuration entries to the config file. Tracing uses WcfStormHost s custom RollingXmlZip trace listener. Edit With opens the configuration file using the SvcConfigEditor.exe (part of the.net SDK) 3.2.3 Message Inspector o View all messages sent and received to the WCF Service grouped per Method ( ). o o o o Exceptions/Faults are displayed with the red icon ( ). Reload refreshes the list of messages. Clear permanently deletes all messages View filters the displayed messages saves the selected request/response messages 11

3.2.4 Runtime Statistics Display graphs of the runtime behaviour of the hosted WCF service. 3.2.5 Service Exceptions o View all faults and exceptions. o Reload refreshes the list exceptions o Clear permanently deletes all exceptions o View filters exceptions per method, date range or exception types. 12

4 So how does it work? The WcfStormHost application follows a client-server architecture and it is made up of 4 components (listed below). 1. WcfStormHostAdministration.exe - The GUI client where the service host processes can be managed. 2. WcfStormHost.exe - The server process where commands (such as Open, Close, Terminate etc.) are sent to manage the service hosts. - This server host process is used in Standard mode 3. WcfStormHostWinSvc.exe - The server process where commands (such as Open, Close, Terminate etc.) are sent to manage the service hosts. - This server host process is used in Server mode 4. Wcfhost.exe - The process that hosts the WCF or REST Service into the.net 2.0 runtime. 5. Wcfhost4.exe - The process that hosts the WCF or REST Service into the.net 4.0 runtime. WCFStormHost creates 1 wcfhost.exe (or wcfhost4.exe) process per configuration file. 13

WcfStormHostAdministration.exe WcfStormHost.exe or WcfStormHostWinSvc.exe wcfhost.exe or wcfhost4exe 5 Hosting a REST Service 5.1 Hosting using WebServiceHost To host a REST Service, follow the same steps as hosting a WCF service (section 2.1). WCFStormHost will automatically detect that the REST service type. 5.2 Using REST Starter Kit (Using WebServiceHost2) To use the host (WebServiceHost2) provided by the Rest Starter Kit, copy the following assemblies into the installation folder of WcfStormHost. (For example, copy it to C:\Program Files\WcfStorm Solutions\WcfStormHost) 6 Viewing runtime messages 1. Host a Service (See section 2.1) 2. Invoke any method of the service using WcfStorm (or other WCF clients) 3. Select the service from the TreeView 4. Select Message Inspector from the Service menu. (See section 3.2.3) 5. Click on Reload 14

To open a message on a larger window, select the magnifier icon 7 Viewing runtime service exceptions 1. Host a Service(See section 2.1) 2. Invoke any method of the service using WcfStorm (or other WCF clients). Ensure that the method fails with an exception. 3. Select the service from the TreeView 4. Select Service Exceptions from the Service menu. (See section 3.2.5) 5. Click on Reload To open an exception on a larger window, select the folder icon or double-click on the row 15

8 Terminating Service Host Processes 8.1 Terminate a Single Service Host Process 1. Select the service from the Tree View 2. Select Service Information from the service menu. Click on Terminate. 3. Click Yes, to terminate the host process 16

8.2 Terminate All Service Host Processes 1. From the main menu strip, click on Close All dropdown Terminate All. 2. Click Yes to terminate all processes. 9 Running WCFStormHost in Server Mode The default installation of WCFStormHost runs it in Standard mode. In this mode, a user is required to be logged-in to the machine in order for the service hosts to continue operating. Once the user has logged out, the service processes will be shutdown. In Server mode, the service host processes continue to operate even after the user has logged out. To enable Server Mode, follow the steps below. 1. Install WCFStormHost (See section 1) on a machine running Windows Server 2003, Windows Server 2008 or Windows Server 2008 R2. 17

2. Activate a Server, Trial or Tester license. Click on the icon to load the appropriate license file. 3. Terminate all Service hosts. 4. Stop the info service host. Click Server Stop Info Service 5. Install the info service host as a Windows Service. Click Server Windows Service Install 6. (This step is optional but recommended) Configure WcfStormHost to use a SQL Server database. a. Using SQL Server Management Studio, create a database(for example, WcfStormHostDB) b. In the newly created database, create a user with permission to create tables and run Insert/Update/Delete /Select sql statements. c. Navigate to the WCFStormHost installation folder and open the following config files in any text editor d. For each file, modify the connection string to match the database and username created in steps 6.a and 6.b above. e. For each file, modify the dbprovider settings to System.Data.SqlClient. 18

7. Close and re-open WcfStormHostAdministration window. 10 Storing Service Configuration Files This can be used to store service configuration into WCFStormHosts internal database. 1. Host a Service (See section 2.1) 2. Select the service from the TreeView 3. Click on Service Configuration. Click on Keep Config 4. Enter the Description and username then Click Save. 19

11 Executing netsh WCFStormHost can execute netsh http commands to add/delete/show urlacl permissions. To open the netsh command window, click on Advanced Execute netsh 20