473,659 Members | 3,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1286
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*****@DONTSP AMMEokstateDOT. edu> wrote in message
news:Oy******** ******@TK2MSFTN GP15.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***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:Ow******** ******@TK2MSFTN GP11.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*****@DONTSP AMMEokstateDOT. edu> wrote in message
news:Oy******** ******@TK2MSFTN GP15.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*****@DONTSP AMMEokstateDOT. edu> wrote in message
news:u4******** ******@TK2MSFTN GP14.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***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:Ow******** ******@TK2MSFTN GP11.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*****@DONTSP AMMEokstateDOT. edu> wrote in message
news:Oy******** ******@TK2MSFTN GP15.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
9307
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 code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
13
2274
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 = 2, Option4 = 3
1
2273
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 Struction my solution in numerous projects ie 1. Webpage Files(ui) 2. Classes
10
3437
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 somewhere that each folder under the "web site" is compiled in separate assembly. I however, did not find that the "web site" creation in vs.net 2005 created any AssemblyInfo.cs file.
8
1559
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 want to know the information in the exception.... That being the case do I just not catch it and let the user of the class catch it and get all the information? I know I could catch it and throw my own, but I'd have to tell them the same
15
25837
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. This is more of a best practices question rather than a technical one. 1) Return a list instance ie std::list myFunction() { std::list list(); return list;
10
2982
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? public class MyClass private _variableName as integer public property VariableName as integer
17
3031
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 else? The reason for this question is that I had an assignment in which I was
41
2861
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 created and then added to "component" objects to build up the component definition. My dilemma comes in deciding how to read/write data to the "item"
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.