473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Best Practices Question...

Hi list, I have been doing VB.Net for quite a while now and just now getting
into the forray of ASP.Net using VS2003. I have created our development
website and now we are ready to start putting it into production.

I've messed around with a few different deployment scenarios but the one we
ended up with was two copies of the code, one on dev and one on prod and all
changes we make to code on dev have to be copied to the prod and then
recompiled - this seems dumb to me, and perhaps it is. To make matters
slightly more complex, the API behind the ASP.Net app (dll) is using delay
signing on our strong name key, which means, any time I build to go into
production, I have to re-final sign.

So, I was wondering if anyone could offer some suggestions on best practices
to make this process a little easier - I haven't tried it, but it'd be great
if I could do the release build on dev, final sign and then simply copy the
files over to production using a shared network drive as an intermediary.

Thanks all!
Derek
Nov 19 '05 #1
3 1256
Why would you have to recompile? Just copy the DLLs and related changes over
to the production server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message
news:Oy**************@TK2MSFTNGP15.phx.gbl...
Hi list, I have been doing VB.Net for quite a while now and just now
getting into the forray of ASP.Net using VS2003. I have created our
development website and now we are ready to start putting it into
production.

I've messed around with a few different deployment scenarios but the one
we ended up with was two copies of the code, one on dev and one on prod
and all changes we make to code on dev have to be copied to the prod and
then recompiled - this seems dumb to me, and perhaps it is. To make
matters slightly more complex, the API behind the ASP.Net app (dll) is
using delay signing on our strong name key, which means, any time I build
to go into production, I have to re-final sign.

So, I was wondering if anyone could offer some suggestions on best
practices to make this process a little easier - I haven't tried it, but
it'd be great if I could do the release build on dev, final sign and then
simply copy the files over to production using a shared network drive as
an intermediary.

Thanks all!
Derek

Nov 19 '05 #2
Hey Kevin, that's a very good question, one I have been asking myself
frequently these past few weeks. I suppose that I wouldn't and that would
actually save quite a bit of hassle because the code behind was chaning
(long story) in the move.

I will attempt the copy - that's be so freaking sweet if that worked!

Also, another question, if the DLL file that I have as an API is delay
signed, will the website code behind DLL file also need to be delay signed
and then final signed?

Thanks
Derek

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
Why would you have to recompile? Just copy the DLLs and related changes
over to the production server.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.

"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message
news:Oy**************@TK2MSFTNGP15.phx.gbl...
Hi list, I have been doing VB.Net for quite a while now and just now
getting into the forray of ASP.Net using VS2003. I have created our
development website and now we are ready to start putting it into
production.

I've messed around with a few different deployment scenarios but the one
we ended up with was two copies of the code, one on dev and one on prod
and all changes we make to code on dev have to be copied to the prod and
then recompiled - this seems dumb to me, and perhaps it is. To make
matters slightly more complex, the API behind the ASP.Net app (dll) is
using delay signing on our strong name key, which means, any time I build
to go into production, I have to re-final sign.

So, I was wondering if anyone could offer some suggestions on best
practices to make this process a little easier - I haven't tried it, but
it'd be great if I could do the release build on dev, final sign and then
simply copy the files over to production using a shared network drive as
an intermediary.

Thanks all!
Derek


Nov 19 '05 #3
Hi Derek,

X_Copy Deployment - one of the pillaras of .Net!
Also, another question, if the DLL file that I have as an API is delay
signed, will the website code behind DLL file also need to be delay signed
and then final signed?
That I don't know. I've never had to sign a DLL.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message
news:u4**************@TK2MSFTNGP14.phx.gbl... Hey Kevin, that's a very good question, one I have been asking myself
frequently these past few weeks. I suppose that I wouldn't and that would
actually save quite a bit of hassle because the code behind was chaning
(long story) in the move.

I will attempt the copy - that's be so freaking sweet if that worked!

Also, another question, if the DLL file that I have as an API is delay
signed, will the website code behind DLL file also need to be delay signed
and then final signed?

Thanks
Derek

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
Why would you have to recompile? Just copy the DLLs and related changes
over to the production server.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.

"Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message
news:Oy**************@TK2MSFTNGP15.phx.gbl...
Hi list, I have been doing VB.Net for quite a while now and just now
getting into the forray of ASP.Net using VS2003. I have created our
development website and now we are ready to start putting it into
production.

I've messed around with a few different deployment scenarios but the one
we ended up with was two copies of the code, one on dev and one on prod
and all changes we make to code on dev have to be copied to the prod and
then recompiled - this seems dumb to me, and perhaps it is. To make
matters slightly more complex, the API behind the ASP.Net app (dll) is
using delay signing on our strong name key, which means, any time I
build to go into production, I have to re-final sign.

So, I was wondering if anyone could offer some suggestions on best
practices to make this process a little easier - I haven't tried it, but
it'd be great if I could do the release build on dev, final sign and
then simply copy the files over to production using a shared network
drive as an intermediary.

Thanks all!
Derek



Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
13
by: john doe | last post by:
A quick question, about so-called 'best practices', I'm interested in which of A/B of the two examples people would choose, and why. public enum MyEnum { Option1 = 0, Option2 = 1, Option3 =...
1
by: Vincent V | last post by:
Hey i am just starting a new project and from the start i want to make sure my app is as Object Orientated as possible I have a couple of questions in relation to this Question 1: Should i...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
8
by: SStory | last post by:
When I right a class, I am wondering what are the best practices for error handling? Do I try..catch and trap the error and if so what do I do with it? Because most likely the class user will...
15
by: Andrew Brampton | last post by:
Hi, This may sound a odd question, but I wanted to know how you return a list of data from a function. These are some of the ways I know how, and I was wondering which method you normally use....
10
by: Ren | last post by:
Hi All, I'm still rather new at vb.net and would like to know the proper way to access private varibables in a class. Do I access the variable directly or do I use the public property? ...
17
by: 2005 | last post by:
Hi In C++, are the following considered best practices or not? - passing aguments to functions (ie functions do not take any arguments ) - returning values using return statement Anything...
41
by: Jim | last post by:
Hi guys, I have an object which represents an "item" in a CMS "component" where an "item" in the most basic form just a field, and a "component" is effectively a table. "item" objects can be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.