Hi Everyon,
I want to create a setup project, which creates Databases in SQL server 2008,
deploy wcf web service in IIS7.0, Windows service and
Website. Can anybody help me that how i can create a deployment package for all of them in a single exe file. Waiting for you quick response. Thanks in advance.
First your need to take both the service and Web Folders(aspx Pages) for deployment.
Step 1: Take WCF Services deployed folder, and create the Virtual Directory in IIS7.0, then root the WCF services folder with this directory then convert it into as applcation.
Step 2: Now, add the service file(.svc extension file) in the Default document for Virtual Directory. and then go Manage application-> then Browse. Now you will get the Service URL, Copy this URL
Step 3: Then you need to createt he virtual directory for your web folder and Default document, add your Login page or starting page of your web page
Step 4: Then open the webconfig(Web Folder) file and paste the URL in Endpoint address, like which is given below, and save
Thanks for your response. Yes we can deploy them manually. But my question is that how i can deploy them using setup project? I want all of them in one setup projects.
zeeshanfawad
Member
25 Points
72 Posts
Deploy WCF webservice, Windows service and Website
Dec 18, 2012 12:50 PM|LINK
Hi Everyon,
I want to create a setup project, which creates Databases in SQL server 2008, deploy wcf web service in IIS7.0, Windows service and Website. Can anybody help me that how i can create a deployment package for all of them in a single exe file. Waiting for you quick response. Thanks in advance.
farooque84
Participant
1358 Points
321 Posts
Re: Deploy WCF webservice, Windows service and Website
Dec 22, 2012 09:27 AM|LINK
Hi,
First your need to take both the service and Web Folders(aspx Pages) for deployment.
Step 1: Take WCF Services deployed folder, and create the Virtual Directory in IIS7.0, then root the WCF services folder with this directory then convert it into as applcation.
Step 2: Now, add the service file(.svc extension file) in the Default document for Virtual Directory. and then go Manage application-> then Browse. Now you will get the Service URL, Copy this URL
Step 3: Then you need to createt he virtual directory for your web folder and Default document, add your Login page or starting page of your web page
Step 4: Then open the webconfig(Web Folder) file and paste the URL in Endpoint address, like which is given below, and save
<client>
<endpoint address="ENTER THE COPIED URL HERE"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IInspaceCRMService"
contract="Inspace_CRM_ServiceReference.IInspaceCRMService" name="BasicHttpBinding_IInspaceCRMService" />
</client>
Step 5: Then Browse the page, Now your application will work
Please follow the above steps and let me know if you have any questions
zeeshanfawad
Member
25 Points
72 Posts
Re: Deploy WCF webservice, Windows service and Website
Jan 02, 2013 07:56 AM|LINK
Hi Farooque,
Thanks for your response. Yes we can deploy them manually. But my question is that how i can deploy them using setup project? I want all of them in one setup projects.