Re: What Gets Deployed?

From: Kev Sherratt (k.sherratt_at_lancaster.ac.uk)
Date: 05/18/04


Date: Tue, 18 May 2004 10:42:03 +0100

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?



Relevant Pages

  • Re: Problem compiling remote web in VS2005
    ... > remote webserver, which is highly unlikely that it could do. ... I develop from home on a staging server in the datacenter of my company ... computer create a new project and develop and compile on it from my laptop ... >> I've setup a new website in IIS, enabled .net, fpse, etc. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: XKB problem with x-terminal
    ... >>> Is there a way to compile keyboard definitions for X and save them ... >> where you can make the X server load it upon startup using the option ... * you can't keep the X server from wanting to call xkbcomp, ... * you are expected to specify the bare name of the keymap (without the ...
    (Debian-User)
  • Re: Compiling ASP.NET application without IIS
    ... > I don't see the need to have IIS installed simply to compile an ASP.NET ... > a much much large compile that consists of may different solution files. ... It's really some files retrieved from a web server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Why I dont believe in static typing
    ... relative merits of static versus dynamic typing I thought I'd spoil it all ... delivered by an ad server, which was already up and running. ... to part of the system, compile it, and the compiler errors would point you ... The introduction of credit card billing ...
    (comp.lang.lisp)
  • Re: Trouble getting off the ground with rsync
    ... >> So it appears you are lying. ... approximately, at least) and the syntax for using rsync without one, ... completely clear to me (I don't really know if he meant to use server ... and there are plenty of ways to compile it. ...
    (comp.os.linux.misc)

Loading