CM and deploying using .Net, C# |
|
| Written by Bob Aiello | ||||
|
In CM Basics, we have been covering the use of Ant, Maven 1.02 and (soon) Maven 2. These are all excellent build tools and, along with Make/GNU Make, are the core ingredients in taking a buggy, unreliable build and bringing it down to a repeatable process that runs flawlessly in 1 – 3 hours (from what used to take 1 – 3 days). I have enjoyed playing the hands-on role in this process many times and, on my last build assignment, bet the CIO and the CTO that I could fix the build process in three iterations of their current release process. (I always watch, learn, and document the current procedures before I change anything!) Here are some of the highlights that I saw in Visual Studio .Net. First, Microsoft has introduced Assemblies as a specific mechanism for configuration and deployment. Assemblies are a response to the difficulties of using DLLs in earlier Microsoft frameworks. Assemblies also have built-in version identification and store key metadata, describing dependencies, that can be used to control the deployment of all components (or as we call them Configuration Items – CIs). Assemblies contain their own Manifest which includes a comprehensive list of CIs and their dependencies. Finally, Assemblies also have built-in dynamic version numbers including a C# method called GetExecutingAssembly which returns the Version in a four part token including the Please write and share your experiences with effective build and deployment tools! Bob Aiello Editor in Chief CM Crossroads bob.aiello [at]cmcrossroads.com http://www.linkedin.com/in/BobAiello For this article I used Wrox’s excellent book called Professional C# 2005 by Christian Nagel, Bill Evjen et al, as well as Apress’s book on Deploying .NET Applications using MSBuild and ClickOnce by Sayed Y. Hashimi and Sayed Ibrahim Hashimi. (Drop me a line if you need the ISBN numbers)
Set as favorite
Bookmark
Email this
Hits: 4629 Trackback(0)Comments (3)
|
|
... Good one to describe the Microsot approach on Assemblies for secure deployment mechanism |
|
Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.



