English 中文(简体)
Deploying WCF application
原标题:

I have IIS-Hosted WCF application and services. I want to automate the process to deploy this application into test/Acceptance test/production environments What is the best way to automate the process and make it very easy to the system administrators? assuming that the web site / (or virtual directory) is already there and I don t have to re-create it.

the test environment has virtual directory for this service. acceptance test and production have a web site for this service.

最佳回答

You could use a powershell script or some other type of script to x-copy deploy the site. Then if you have any config changes to make add those into the script as well.

You could use setup and install packages but I don t recommend them unless your distributing your software. They can be a pain at times.

问题回答

AFAIK, WCF services support xcopy just like any other IIS-hosted website. If your build process can copy the necessary configuration files and assemblies, that should be all that s necessary. You may need to include separate sections in your config files to tailor the settings to each environment.





相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签