Publishing the HelloWorldService using a deployment package
Now we have learned how to publish a WCF service right from within Visual Studio; next we will learn how to deploy it by using a deployment package. This is often desirable when you are deploying a service to staging or production environments, as from Visual Studio you might not be able to access the staging or production environment, for example, when the staging or production environment is outside a firewall or in a different domain.
Creating the package
To deploy a WCF service with a package, we first need to create the package. You can follow these steps to create a deployment package for the HelloWorld
service.
- Install Web Deploy. You need to have Microsoft Web Deploy installed on ...
Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.