JL.
JL.

Reputation: 81262

.net WCF IIS Application, deployment

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:

  1. Logging stops working
  2. Production server may have SSL enabled
  3. Permissions (oh joy!)
  4. Proxy Servers may / may not be used in production
  5. IIS version differance
  6. Windows Server version differances
  7. Framework features not enabled in production
  8. 32bit vs 64bit issues
  9. App gets installed to a virtual directory sitting in the same application as a SharePoint installation
  10. App pool running under extremely limited credentials
  11. Locale Differances

The list continues, I want to extend my expertise in this area

Upvotes: 2

Views: 694

Answers (6)

tbreffni
tbreffni

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

Shiraz Bhaiji
Shiraz Bhaiji

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

Zach Bonham
Zach Bonham

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

Kirk Broadhurst
Kirk Broadhurst

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

vidalsasoon
vidalsasoon

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

leppie
leppie

Reputation: 117220

It is no more involved than running it on your dev PC.

Upvotes: -1

Related Questions