Click here to Skip to main content
Click here to Skip to main content

SetUp file Creation for Web Application which Consumes WCF Service

, 30 Oct 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
Framing Conection String for WCF and Providing service url to Web App for Communication

Introduction

Last article we have seen Setup creation for Windows App with creating connection string now
We are going to see same concept in Web Application,which has WCF service.

Steps to Proceed

Step1: We need to create setup file for WCF service project with dynamic Connection string framing.
Step2: Creating another setup for Web Application which need to consume Service url of WCF for Communication between WCF service and Web App

Setup creation for WCF project

Preliminary Information for Setup creation

  • For basic information regarding Adding setup project,Input rendering ,Connection string framing refer this article
http://www.codeproject.com/Tips/446121/Adding-connection-String-During-Installation

Customizing Installer to Create Connection String

With this we will take Instance name and Database name from user during Installation.

Adding Primary Output file

Here we need to select both primary out file and content files,set all copy to local property to true for all dlls.

Adding Custom Action Data
In this step we are passing the input connection string parameters