.net WCF IIS Application Deploy

I am starting to see that deploying IIS in WCF is not a piece of cake and a lot of things break down depending on configuration and environment.

Can anyone recommend an online resource that can teach me the art of deploying WCF IIS applications.

thank

Some of the problems I encountered while deploying, but not limited to this list:

  • Logging stops working
  • The production server can have SSL access.
  • Permissions (oh joy!)
  • Proxies may / may not be used in production
  • IIS version option
  • Windows Server version differences
  • Framework features not included in production
  • 32-bit versions with 64-bit problems
  • The application is installed in a virtual directory located in the same application as the SharePoint Installation
  • Application pool running with extremely limited credentials
  • Differences between languages

The list goes on, I want to expand my experience in this area

+2


source to share


6 answers


Understanding and identifying the physical architecture of the environment in which you are deploying will help you ensure a successful deployment. Planning is key.

As @Kirk mentioned, practice makes perfect. If you have access to any type of virtual environment, create a virtual image with similar characteristics to your deployment environment to help you. Install the same OS, IIS and .NET Framework versions and practice deploying them.

How to Create a Service Account for ASP.NET 2.0 Applications helps you create a custom service account (if required) to start your application pool. I do not remember if aspnet_regiis.exe provides a "Logon as Service Right" account. Check out the NTRights.exe utility to determine how to do this.

Security Guide: ASP.NET 2.0 provides some guidelines for securing your deployment.



Improving Web Services Security: Scripting and Implementation Guide for WCF "Easy Read"

Extend your services beyond HTTP using WAS guides you through configuring non-http bindings for IIS 7.

MSDN Catalog of Patterns and Practices

Once you've figured out how to successfully deploy to your environment, automating the deployment process ensures that it repeats itself.

+1


source


Practice makes perfect!



But seriously, the best online resource is Google. So many people are experiencing IIS configuration issues that there are literally thousands of pages on every error I have ever experienced. You should just push them one by one, learn as you go ...

+1


source


The only advice I can give is to choose your master wisely. I've heard good things about these guys: http://www.discountasp.net/

Also, post frequently to avoid surprises.

0


source


We have automated all of our WCF service services, with MSI installation packages.

Scott Gug'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

0


source


I haven't used it yet, but Microsoft recently released an application called Web Deployment Tool that allows you to host sites and related IIS settings in a deployment package. A developer level overview can also be found on MSDN .

0


source


It is no longer involved than running it on your computer.

-1


source







All Articles