473,386 Members | 1,773 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,386 software developers and data experts.

What Gets Deployed?

I created a VB ASP.NET solution in VSNET 2003. It works fine in the IDE. As
per the instructions, I used Project/Copy Project to make a copy of all
required files (I used the FrontPage option). I then FTP'd all of those
files and directories to a virtual directory on my ISP account. In looking
through the contents, I don't see my Form1.aspx.vb file? I suspect the
code-behind is compiled into some other file?

I am currently working with the developer of a 3rd party grid that is used
in my project to resolve some problems, and he is all excited over the fact
that the Form1.aspx.vb file isn't there. I don't think that is relevant
since I can see that at least some of my code runs?

Can anyone educate me on what gets distributed?

TIA

Wayne
Jul 21 '05 #1
2 1244
Typically, you don't want or need the .vb / .cs etc files on a production
server. Any code files should have been compiled into the library or
executable used for your web application; these files are located within the
project's bin directory. Other files, such as the .aspx, .ascx etc. are
considered content of the project and are also copied. Obviously, any VB/C#
server side code within the content pages will be compiled on the server as
needed.

So, as a rule of thumb, you wouldn't expect to see .vb/.cs files (or indeed
..pdb or other debug files) on a web server as the code has been compiled.
In this respect, I would suggest you are right and your over excited friend
is wrong :)

A simple exercise if you have VS.NET is to select a file in the solution
explorer tree and look at the properties - the "Build Action" entry denotes
what is done with the file. Content is simply copied; Compile is just that;
Embedded Resource is auxilary info chucked into the assemblies etc.

K.

"Wayne Wengert" wrote:
I am currently working with the developer of a 3rd party grid that is used
in my project to resolve some problems, and he is all excited over the fact that the Form1.aspx.vb file isn't there. I don't think that is relevant
since I can see that at least some of my code runs?

Can anyone educate me on what gets distributed?

Jul 21 '05 #2
Kev;

Thanks for the helpful reply.

Wayne

"Kev Sherratt" <k.********@lancaster.ac.uk> wrote in message
news:c8*********@alliance.lancs.ac.uk...
Typically, you don't want or need the .vb / .cs etc files on a production
server. Any code files should have been compiled into the library or
executable used for your web application; these files are located within the project's bin directory. Other files, such as the .aspx, .ascx etc. are
considered content of the project and are also copied. Obviously, any VB/C# server side code within the content pages will be compiled on the server as needed.

So, as a rule of thumb, you wouldn't expect to see .vb/.cs files (or indeed .pdb or other debug files) on a web server as the code has been compiled.
In this respect, I would suggest you are right and your over excited friend is wrong :)

A simple exercise if you have VS.NET is to select a file in the solution
explorer tree and look at the properties - the "Build Action" entry denotes what is done with the file. Content is simply copied; Compile is just that; Embedded Resource is auxilary info chucked into the assemblies etc.

K.

"Wayne Wengert" wrote:
I am currently working with the developer of a 3rd party grid that is used in my project to resolve some problems, and he is all excited over the

fact
that the Form1.aspx.vb file isn't there. I don't think that is relevant
since I can see that at least some of my code runs?

Can anyone educate me on what gets distributed?


Jul 21 '05 #3

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

Similar topics

1
by: solex | last post by:
If you have, can you please point me in the right direction as to how to get this to work. TIA, Dan
0
by: newsgroupscnhs | last post by:
Hi, I have an app with many forms that contain grids. On my development and test machines everything is fine. I just deployed to my beta site and all my grids are missing their scrollbars! ...
0
by: pmud | last post by:
Hi, An ASP.NET project has been DEPLOYED to the WEB SERVER. I modified one of the pages in the DEVELOPMENT SERVER & tried to replace the Existing page in the project (which has already been...
6
by: jty202 | last post by:
"Although we do support the ASP.NET Starter Kits, we do not do the installation for you. You can run the installation file locally, then upload the kit. You will not be able to compile on the...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
2
by: Wayne Wengert | last post by:
I created a VB ASP.NET solution in VSNET 2003. It works fine in the IDE. As per the instructions, I used Project/Copy Project to make a copy of all required files (I used the FrontPage option). I...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
0
by: KronicDeth | last post by:
I have a package of python modules deployed on an NFS mount on my network that I use for sysadmin tools. Since some of the machines use different versions of python I've only put the .py files in...
3
by: DR | last post by:
I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.