I work for Magenic, and it's a great company. We are hiring lots of .NET Developers in San Francisco. Click here to apply.

Simple is better than complicated
Wide is better than deep
Flatten nesting where possible
Standards equal success
Incremental delivery coupled with Agile/Scrum methods, means software on target and on quality
Fewer well made features are better then many buggy ones
A good demo beats a long document
|
The Art of Lightning
| ASP.NET Package Web into a ZIP with the correct configuration | Stuart Williams | 4/17/2012 | So, we have a customer who needs to do the following without having to have MSDEPLOY installed or used in production:
- Create a web site with multiple configurations that match their environments such as DEV, QA, PP, PROD and so on using the configuration manager and support for configuration transformation in VS 2010
- Build their web site using the correct configuration
- Cause the correct substitution of the correct configuration resulting in an web.config that has the correct configuration for the target environment
- Create a ZIP of the results, with the root of the web site as the root of the zip
- Give the ZIP to deployment engineering for unzipping into the web site
You would think this would be easy, but no, thanks to lots of smart people at Magenic (you could be one too!) and especially Murugesh Annadurai who finally got all the bits and pieces of MSBUILD together and made them all work!
Download a zip of the solution with documentation | |
Recent blogs:
More blogs...
|
|