Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Moving things from test to production.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mufasa - 10 Dec 2007 19:38 GMT
I'm working at a small company that has been very lax about moving things
from test to production. We are now going to start doing some real processes
for doing this.

Does anybody have any suggestions about how to 'release' software from test
to production? Are there software packages that will allow us to do this
automatically or is it a manual process?

Any thoughts would be appreciated.

TIA - Jeff.
sloan - 10 Dec 2007 19:49 GMT
One method

http://msdn2.microsoft.com/en-us/library/ms171452(VS.80).aspx

MSBuild.

You probably need to figure out what your goals are, and give a little more
direction on what you want to have in the end.

Are you making the "super jump".... or do you need build up...with a simple
starting point.

> I'm working at a small company that has been very lax about moving things
> from test to production. We are now going to start doing some real
[quoted text clipped - 7 lines]
>
> TIA - Jeff.
Peter Bromberg [C# MVP] - 10 Dec 2007 19:55 GMT
If you are talking about ASP.NET, all you really need to do is:
1) ensure that what you are moving is a Release build.
2) ensure that the debug ="false" directive is present in web.config
3) Copy over the files and the /bin folder.

Most places I've worked we've instituted a "Smoke test" prior to production
deployment. Usually its an Excel spreadsheet that tests everthing in the
application and you mark "pass" or "fail" in the last column. the project mgr
signs off on it, you copy the app to production, give it a test, and you're
done.

Thats not complicated, requires no special software, and seems to work just
fine.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com 

> I'm working at a small company that has been very lax about moving things
> from test to production. We are now going to start doing some real processes
[quoted text clipped - 7 lines]
>
> TIA - Jeff.
sloan - 10 Dec 2007 20:11 GMT
I actually use this more simple model as well , 90% of the time.

This post:
http://groups.google.com/group/microsoft.public.dotnet.framework/msg/1f2a4acce0d9c77c

shows a trick I use to get release-build stuff, without going through the
GUI.  via a .bat file.
But its essentially the same thing.  Build in release mode.....
I actually never copy my web.config file....to a staging or production
server....you might even include web.config in the exclude.txt file.  (This
is how I ensure the debug=false setting stays correct).

............

But again, this is the simple approach...there are many steps between simple
and super-duper MSBuild level...so throw out some goals.

> If you are talking about ASP.NET, all you really need to do is:
> 1) ensure that what you are moving is a Release build.
[quoted text clipped - 31 lines]
>>
>> TIA - Jeff.
Scott Roberts - 10 Dec 2007 21:28 GMT
How do you catch things like:

1. Connection strings are different for test and production.
2. Some page uses a 3rd party control that isn't installed on the production
server.
3. Some code uses an assembly that isn't present on the production server
(e.g. the zip library from vjslib.dll).
4. Firewall issues (if test is inside the firewall and production is in
DMZ).

We've tried to mitigate these problems by using the same server for "test"
and "production" (just a different web site on the same server) and by never
copying web.config (we make changes manually, if necessary).

I'm just wondering if there is a better way. I guess I'm also saying that
it's not always as easy as "1, 2, 3".

> If you are talking about ASP.NET, all you really need to do is:
> 1) ensure that what you are moving is a Release build.
[quoted text clipped - 31 lines]
>>
>> TIA - Jeff.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.