473,581 Members | 2,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Do I Really Need to Copy All This?

I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and directories
to my ISP account to be able to see the change on my web site. This is a lot
of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne
Nov 19 '05 #1
6 1630
You do not need to copy:
- .vb or .cs files (source code)
- .resx (ressource files since they are compile into the bin directory)
- .suo, sln, .vbproj, .csproj .... all projects, visual studio related files
- Inside the bin directory .pdb (those files contain only debug information)
only dll are required.

However don't forget to copy:
- Web.Config
- Global.asax
and the bin directory.
--------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft/kCentric, Canada
"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ********@TK2MSF TNGP09.phx.gbl. ..
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and directories
to my ISP account to be able to see the change on my web site. This is a lot of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne

Nov 19 '05 #2
<<.pdb (those files contain only debug information)>>

You should, in fact, copy the .pdb file to production IF/WHEN you have
exception handlers that make user of the stack trace (e.g., to log the exact
line of code that choked, thereby throwing the exception). If you are doing
this (I can't imagine why anyone wouldn't want this information in a
produciton system), then you will need to copy BOTH the .pdb and .dll file
whenever you recompile - as the .pdb version is logically tied to the .dll
version.

HTH


"Jc Morin" <mi************ ****@jcmorin.ne t> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You do not need to copy:
- .vb or .cs files (source code)
- .resx (ressource files since they are compile into the bin directory)
- .suo, sln, .vbproj, .csproj .... all projects, visual studio related
files
- Inside the bin directory .pdb (those files contain only debug
information)
only dll are required.

However don't forget to copy:
- Web.Config
- Global.asax
and the bin directory.
--------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft/kCentric, Canada
"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ********@TK2MSF TNGP09.phx.gbl. ..
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to
one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and
directories
to my ISP account to be able to see the change on my web site. This is a

lot
of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne


Nov 19 '05 #3
I agree with you Alfred, but the first question about data size, so I think
that it's important to point out that pdb files are not *required*.

Any good tracing library that show line number, full stack trace and various
stuff required those files to work property...
This is a lot of data to FTP every time
Yep, you can still cut on those pdb files if data transfer is an issue. :)
--------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft/kCentric, Canada
"Alfred E. Newman" <Mr******@WhatM eWorry.com> wrote in message
news:OV******** ******@tk2msftn gp13.phx.gbl... <<.pdb (those files contain only debug information)>>

You should, in fact, copy the .pdb file to production IF/WHEN you have
exception handlers that make user of the stack trace (e.g., to log the exact line of code that choked, thereby throwing the exception). If you are doing this (I can't imagine why anyone wouldn't want this information in a
produciton system), then you will need to copy BOTH the .pdb and .dll file
whenever you recompile - as the .pdb version is logically tied to the .dll
version.

HTH


"Jc Morin" <mi************ ****@jcmorin.ne t> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You do not need to copy:
- .vb or .cs files (source code)
- .resx (ressource files since they are compile into the bin directory)
- .suo, sln, .vbproj, .csproj .... all projects, visual studio related
files
- Inside the bin directory .pdb (those files contain only debug
information)
only dll are required.

However don't forget to copy:
- Web.Config
- Global.asax
and the bin directory.
--------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft/kCentric, Canada
"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ********@TK2MSF TNGP09.phx.gbl. ..
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to
one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and
directories
to my ISP account to be able to see the change on my web site. This is
a lot
of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne



Nov 19 '05 #4
If you are only modifying the HTML, then you can just copy the relevant aspx
page(s), i.e. no changes to the code behind. Conversely, if you are just
modifying the functionality, just copy the bin directory and not the aspx
pages

Paul

"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ******@TK2MSFTN GP09.phx.gbl...
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and directories
to my ISP account to be able to see the change on my web site. This is a lot of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne

Nov 19 '05 #5
Hi Wayne,

If you make a change to the programming code in a DLL, you need to copy over
the DLL. If you make a change to a template (aspx or ascx) that doesn't
affect the CodeBehind DLL, just copy over the template.

--
HTH,

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

"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ********@TK2MSF TNGP09.phx.gbl. ..
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to one
page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and directories
to my ISP account to be able to see the change on my web site. This is a
lot
of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne

Nov 19 '05 #6
Thanks for the responses. Good to know I can separate the html from the
dll's

Wayne

"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi Wayne,

If you make a change to the programming code in a DLL, you need to copy over the DLL. If you make a change to a template (aspx or ascx) that doesn't
affect the CodeBehind DLL, just copy over the template.

--
HTH,

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

"Wayne Wengert" <wa************ ***@wengert.com > wrote in message
news:e5******** ********@TK2MSF TNGP09.phx.gbl. ..
I am using VSNET 2003 to build an ASP.NET/VB set of pages. There are
currently about a dozen aspx pages. When I make even a minor change to one page I currently rebuild the solution, copy the project files to a copy
directory on my local wwwroot and then FTP all those files and directories to my ISP account to be able to see the change on my web site. This is a
lot
of data to FTP every time (the bin directory alone is close to 4MB)

Is there a better way?

Wayne


Nov 19 '05 #7

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

Similar topics

1
2614
by: Peter Young | last post by:
I'm seeing a problem with IE running on OS-X. When the user logs in to the website (ASP/IIS5), a Session is established properly, but somewhere along the line, a new Session is created and abandoned. At that point, the user must log in again due to the code logic (their Session is "gone" and they're then invalid). The original Session's On_End...
2
4522
by: James | last post by:
Are there any style elements that work on select elements on Apple/IE? I want colored text, colored background, or just about anything colored in a select drop-down but can't seem to make it work on Apple/IE. Thanks, -James
15
3190
by: Jeannie | last post by:
Hello group! I'm in Europe, traveling with my laptop, and I don't any compilers other than Borland C++ 5.5. available. I also don't have any manuals or help files available. Sadly, more crippling problems! I never used C++ much, so, I don't remember commands or fuctions well. My questions are simple. I posted the DOS window output so you...
11
2427
by: Mr. Berserker | last post by:
I was posting stuff to a mailing list when a friend, Prof. Corbessero and I came up with this one. Perhaps you can help resolve this, or add anything else worth knowing?? Maybe it should be added to the FAQ for further reference... :) > > Ahh. This is my area... C stores arrays in a form called "column > major" order, which actually...
18
2657
by: active | last post by:
Console.WriteLine(String.Equals(s, s.Clone.ToString)) s is type string. This returns True. If Clone really made a new copy I'd expect False.
27
2321
by: mike3 | last post by:
Hi. I can't believe I may have to use an array here. I've got this bignum package I was making in C++ for a fractal generator, and tried an approach that was suggested to me here a while back, about using a "stack of vectors" instead of a static array. Anyway, I put the suggestion into effect, and it seems the routine that uses the...
0
2182
by: raylopez99 | last post by:
I ran afoul of this Compiler error CS1612 recently, when trying to modify a Point, which I had made have a property. It's pointless to do this (initially it will compile, but you'll run into problems later). Apparently Point is a struct, a value type, and it does not behave like a classic structure (in my mind's eye, and see below)....
17
5799
by: Chris M. Thomasson | last post by:
I use the following technique in all of my C++ projects; here is the example code with error checking omitted for brevity: _________________________________________________________________ /* Simple Thread Object ______________________________________________________________*/ #include <pthread.h> extern "C" void* thread_entry(void*);
0
7868
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...
0
7792
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8149
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. ...
0
8175
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6553
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...
0
3827
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2301
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
1
1403
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1138
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...

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.