bitmask wrote: |
The -fixednames switch on the precompiler will produce dependable assembly names. It is possible to patch just the code for one web form this way.
|
|
Fantastic! However, here's the rub, since they are all recreated during Publish they are all dated the same making change set deployment a painstaking, time consuming exercise.
bitmask wrote: |
Even still, I'm not sure why deploying from a different directory of ASPX files would be such a pain. All you need is a staging area, which the publish option or the aspnet_compiler can setup for you.
|
|
Very simply because it creates more work.
Let me explain...
I maintain around 30 sites each with between 10-200 pages. I frequently make changes to individual pages, or multiple pages within a single application of a site. Once these changes are made and tested locally (by simply hitting run), I want them deployed - just the pages that changed (and any relevant dlls). Especially if they're bug fixes, I want them deployed as fast as possible - but absolutely only those pages. Deploying the entire web site is not an option, for countless reasons.
In essence, I want to deploy directly from the IDE, but only those files that have changed. i.e. make change(s), hit run, test changes, deploy changes.
With the current model that is just not possible.
If I 'Publish' to a staging area I then need to browse to the staging area, try to find the file(s) that changed (which all have the same date now), connect to my server and copy the files up manually. That is a considerable amount of overhead when done frequently throughout the day. I of course can't set the Publish options to publish to the live server because that would delete my entire site, I can't believe that's really an option for anyone.
Unfortunately most of the small to medium size businesses I work with do not have a QA department nor a stringent deployment schedule. Though that would be nice, it is simply not the case for numerous companies. They want changes, they want them now, and they want minimal downtime (i.e. no deleting the entire site! :)
So the ability to merge DLLs, though a nice option, is not really of great concern for me. I actually prefer the new method of having multiple DLLs so change is more contained.
I guess it all boils down to the fact that my overall concern is that I still can not easily publish incremental changes. For so many websites that is absolutely key. The fact that I hit 'Publish' and receive a dialog that says "Existing files in the destination location will be deleted. Continue?" is almost laughable to me.
But then again, maybe I'm just in the minority... ;)
Thanks for the response Scott, I do much appreciate your insight. I'm just frustrated that what seems an obvious workflow is still not handled very well.
I simply want, compile, test, deploy
changes.
Mike