Reputation: 81262
I am beginning to see that WCF IIS deployment is no piece of cake, and lots of things break depending on configuration and environment.
Can anyone recommend an online resource that can teach me the art of deployment for WCF IIS Applications.
Thank you
Some of the issues I've already faced when deploying, but not limited to this list:
The list continues, I want to extend my expertise in this area
Upvotes: 2
Views: 694
Reputation: 5130
I haven't used it yet, but Microsoft have recently released an application called Web Deployment Tool, which allows you to package sites and associated IIS settings into a deployment package. A developer level overview can also be found at MSDN.
Upvotes: 0
Reputation: 65361
We have automated all of our WCF service installations, with MSI install packages.
Scott Gu's blog is a good place to start: http://weblogs.asp.net/scottgu/archive/2008/01/28/vs-2008-web-deployment-project-support-released.aspx
Upvotes: 0
Reputation: 6817
Understanding and identifying the physical architecture of the environment your deploying into will help make sure of your deployment success. Planning is key.
Like @Kirk mentioned, practice makes perfect. If you have access to a virtual environment of any sort, create a virtual image with similar characteristics of your deployment environment to help you out. Install the same OS, IIS and .NET framework versions and practice deploying to it.
How To: Create a Service Account for ASP.NET 2.0 Applications will walk you through creating a custom service account (if required) to run your app pool under. I don't remember if aspnet_regiis.exe grants the account 'logon as a service right'. Check out the NTRights.exe utility to determine how to do this.
Security Guidance: ASP.NET 2.0 contains some best practices around securing your deployments.
Improving Web Services Security: Scenarios and Implementation Guidance for WCF "light reading"
Extend Your Services Beyond HTTP with WAS will walk you through configuring non-http bindings for IIS 7.
MSDN Patterns and Practices Catalog
Once you've figured out how to successfully deploy into your environment, automating the deployment process will make sure that it is repeatable.
Upvotes: 1
Reputation: 28698
Practice makes perfect!
But seriously, the best online resource is Google. So many people experience IIS configuration problems that there are literally thousands of pages on every error I've ever experienced. You should just push through them one by one, learning as you go...
Upvotes: 1
Reputation: 4401
The only advice I can give is choose your host wisely. I've heard good things about these guys: http://www.discountasp.net/
Also, publish often to avoid surprises.
Upvotes: 0